In some cases, a WSUS server within your network may have been decommissioned, or you want a client computer to no longer point to a local WSUS Server. You will need to remove some registry entries to reset the Windows Update defaults and remove the WSUS redirect on the computer.
Ideally, if you need to perform this action on many computers in a domain, group policy would be a better answer. However, if you need to change the setting for a few computers, follow the instructions below.
Remove WSUS Settings via PowerShell
- Click Start and open PowerShell as Administrator (Right Click > Run as Administrator)
- Stop the Windows Update Service by entering the command Stop-Service -Name wuauserv
- Remove the Windows Update registry key by entering the command Remove-Item HKLM: \Software\Policies\Microsoft\Windows\WindowsUpdate -Recurse
- Finally, Start the Windows Update Service again by entering the command Start-Service -name wuauserv
Remove WSUS Settings Manually
- Click Start and type regedit into the start search box, then Right Click and Run as Administrator.
- Navigate to HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\
- Right Click and Delete the registry key WindowsUpdate, then close the registry editor.
- Open the Services Console by entering services.msc in the start search box.
- Locate and Restart the Windows Update Service
I don’t really mind the Ads, It is the malware that spreads by AD networks that has me using an ad blocker.
Thanks for the comment. We’re using Google Adsense which is a bit more secure than some of the other ad networks, but I completely understand. Hope the article was helpful!
Another powerful and powerful post. I’ve read some of your previous posts and finally decided to drop a comment on this one. I signed up for your newsletter, so keep up the informative posts!
Server 2016 High Availability
This solution worked for me on a DC as well as a freshly built Virtual Machine. Thanks a bunch! I did run the power shell commands twice on one of the machines it appears it was acting stubborn.
Muchas gracias por la solucion me volvi loco buscando la misma, saludos cordiales desde Argentina
NOT WORKING :
Remove-Item : A positional parameter cannot be found that accepts argument
‘\Software\Policies\Microsoft\Windows\WindowsUpdate’.
At line:1 char:1
+ Remove-Item HKLM: \Software\Policies\Microsoft\Windows\WindowsUpdate …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Remove-Item], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand