Category Archives: wsus

How to manually remove all of WSUS

1. Please download and install the Windows Installer Cleanup Utility msicuu2.  To install it simply run msicuu2.exe.

2. Once it is installed go to Start>All Programs>Windows Install Clean Up

3. Scroll through the options and highlight Microsoft Windows Server Update Services 3.0

4. Click remove

5. Open a command prompt and run the following commands:

net stop wsusservice

net stop wsuscertserver

sc delete wsusservice

sc delete wsuscertserver

6. When complete, go back to the Windows Installer Cleanup Utility and highlight Windows Internal Database (MICROSOFT##SSEE) and click remove.

7. Go back to the command line and run the following commands

net stop mssql$microsoft##ssee

sc delete mssql$microsoft##ssee

8. Delete or edit the associated reg keys as noted below:

a. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server and edit the “InstalledInstances” value and remove “MICROSOFT##SSEE”

b. Remove the “MICROSOFT##SSEE” subkey under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server

c. Remove the “MSSQL.2005” subkey under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server

d. Rename the following folder:

\%Windir%\SYSMSI\SSEE\MSSQL.2005\MSSQL\Data

to

\%Windir%\SYSMSI\SSEE\MSSQL.2005\MSSQL\Data.old

At the completion of this you should be at a point where you can reinstall WSUS from scratch if you like.

How to force windows updates with wuauclt.exe

202px-Windows_update_icon

In order to use WSUS the PC needs to be in Active Directory. Once the PC is in Active directory you can run:

wuauclt.exe /detectnow

This will force the PC to talk to WSUS to get the updates needed instead of waiting for the PC to talk to WSUS.

To view the log go to c:\windows\WindowsUpdate.log or Windows Update.log
In the log you can view any updates the PC may need if any at all.

If you are having issues getting wsus updates try:

wuauclt.exe /resetauthorization /detectnow

This will force the PC to download a new certificate, and then download the updates from WSUS. Again check the log in c:\windows\WindowsUpdate.log to see if the Pc was able to reauthorize and obtain new updates.