Reinstall WSUS on a Windows 2012 Server

wsus-reinstall

While having a WSUS, AKA Windows Update Server is great for keeping an eye on patching multiple servers, it does seem to break a lot. It seems like every time, I end up just reinstalling WSUS with Powershell. Here are the steps.

Run Powershell as Administrator then enter this to uninstall WSUS and restart.

Uninstall-WindowsFeature -Name UpdateServices,Windows-Internal-Database -Restart

Once rebooted, delete everything in the “C:\Windows\WID” (for Win 2012 r2) folder, then run the following Powershell command to re-install WSUS:

Install-WindowsFeature UpdateServices -Restart

Now you should be able to actually access without getting that “Reset server node” error.

  • Awesome script! It worked like a charm!

  • Edith Mora

    Perfect and easy !! works for me !! thanks !!!