# script to find all AD users who have the "cannot change password" box checked in a specific OU # Windows Server 2016 # Powershell Get-ADUser -Filter * -Properties CannotChangePassword…
Robocopy. Copy Move Files Older or Newer than X number of days
Script options Move only files under 60days old Move files older than 60days Move files back Move files older than 182 is number of days (6 months roughly) Move only…
WSUS – GPO and Windows 10 / Server 2016 Registry Settings
You create a WSUS GPO and apply it to the Computers. Now how do you validate its working Open the registry and browse to : computer\HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate The GPO for…
WSUS and Windows 10 – Clients not checking in or checking in and then disappearing
Clients not checking in or checking in and then disappearing Cloned images - SUSCLIENTID is not reset with Sysprep!!! This needs to be done if your creating a template for…
WSUS and Windows 10 Clients – UsoClient.exe
So, you deploy a GPO to Window 10 clients, but your in a hurry to get the clients to check in... As a SysAdmin for many years I would log…
Create an ISO file with PowerShell post by Ben Liebowitz
Recently I came across this post. As a VMware admin, you often want to create an ISO as a quick method to copy files or installation files to a VM.…
List Computer Object in an Active Directory OU using PowerShell
How to get a list of computer objects in an active directory OU ( tested against Windows 2016 Active Directory ) A quick PowerShell script using Get-ADComputer command, a wild…
Sysinternals – Permissions, LoggedOn, Endpoints
How to Get the permission on folders: PowerShell: Get-ChildItem | Get-ACL Path | Owner | Access or more in depth use: GUI based : Run AccessEnum against the drive or…
Client failed to RDP to RDS server following Windows Server Patching – CredSSP updates for CVE-2018-0886
CredSSP updates for CVE-2018-0886 That Monday morning issue when servers were patched on a Sunday... All Windows 10 clients fail to RDP to the RDS server following Windows Server Patching.…
Check / Set / Sync Time Source for Windows Servers
To set the time ( Tested against Windows 2016) Launch CMD as administrator exampled c:\time 09:00:00 AM - This will set the time to 9am Note a time source…