Saturday, April 16, 2011

Uninstall WSUS 3.0 SP2 from WHS

I had Windows Server Update Services (WSUS) 3.0 SP2 installed on my Windows Home Server (WHS). WSUS was set up to store it's stuff on a dedicated USB drive. The USB drive failed and WSUS went down with it. The normal uninstall process was no help, presumably since it couldn't access the stuff on the failed drive. You would think that it would remove all it could and warn you about what it couldn't but that's too much to as I guess.

The TechNet crew posted an article on how to uninstall WSUS manually but is wasn't entirely helpful on it's own: see How to manually remove all of WSUS. This article refers to the Windows Installer Cleanup Utility which is now defunct. I was, however, able to remove the WSUS setup stuff with the following command after copying msizap.exe from my computer to the WHS machine.
That covered steps 1-4 of the TechNet article. Steps 5-8 of the article worked fine as they described. Upon trying to reinstall WSUS, though, I ran into a new problem. Setup thought that Windows Internal Database was still installed so it failed when it tried to connect to the database service and wouldn't go any further.

Another TechNet article came to the rescue: Appendix A: Uninstalling Windows Internal Database. This article provided the command line that I needed to get Windows Installer to fully remove the Windows Internal Database service.
msiexec /x {CEB5780F-1A70-44A9-850F-DE6C4F6AA8FB} callerid=ocsetup.exe
Yay! Server is all fixed up (at least enough to reinstall WSUS successfully).

No comments: