Today I had to move a WSUS installation from the C drive to the D drive of a server due to space issues on the C drive. It should have been easy; remove WSUS and re-install on the other partition. It instead turned into a little bit of a ball ache as WSUS would not uninstall.

The Issues

  • The SQL instance required for WSUS is either missing or corrupt
  • When you open WSUS, you receive a SQL related error

You are unable to uninstall WSUS and the uninstaller fails with the following error:

“Windows Installer removed the product. Product Name: Windows Server Update Services 3.0 SP2. Product Version: 3.2.7600.226. Product Language: 0. Removal success or error status: 1603.”

The Solution

– Open Regedit and locate HKLM\Software\Microsoft\Update Services\Server\Setup
– Change the value of wYukonInstalled to 0 and SqlInstanceIsRemote to 0
– Download and run the WSUS 3.0 SP2 installer to remove WSUS (don’t select any other features to remove)
– Delete C:\WSUS
– Download SQL2008 R2 Express with Management Tools
– Install a new SQL instance called WSUS
– Run the WSUS 3.0 SP2 installer again to install WSUS and select the partition you want to install it on
– When it asks for a database instance, select the SQL instance you have just installed

Issues when re-installing WSUS

When re-installing WSUS, you may encounter the following error:

“The update could not be found. Either the update is not applicable to this computer or the update no longer exists…”

To resolve this, carry out the following:

– Open regedit and locate HKLM\Software\Policies\Microsoft\Windows
– Delete the key called WindowsUpdate
– Restart the Windows Update service and run the installer again.

You should now have WSUS installed on a different partition and loads more space available on your system partition.