Uninstall KB update on remote computer in domain using WUSA and PsExec

Step 1 – Check if the KB update is installed

Run the following Powershell script to make sure the KB update actually is installed. It will also show the install date.

Get-Hotfix -computername $hostname | Select HotfixID, InstalledOn | Where-Object { $_.HotfixID -eq $kb } | Sort-Object InstalledOn

Replace $hostname and $kb with the respective hostname and KB number. If you wish, the command can be simplified to:

Get-Hotfix -computername $hostname | Where-Object { $_.HotfixID -eq $kb }

Screenshot Powershell output

Step 2 – Download PsExec

You can download it here: https://docs.microsoft.com/en-us/sysinternals/downloads/psexec

Step 3 – Uninstall KB update

psexec.exe -s \\hostname wusa.exe /uninstall /kb:2952664 /quiet /norestart

Again, remember to change hostname and KB number. If everything went OK it should say wusa.exe exited on $hostname with error code 3010.

Error code 3010 is correct, it means ERROR_SUCCESS_REBOOT_REQUIRED: “The requested operation is successful. Changes will not be effective until the system is rebooted.”