Yet another issue I have seen a few times. I am trying to uninstall WSUS (Windows Server Update Services) and I find out that someone deleted the WSUS database from the hard drive. Without the database, the uninstall of WSUS will fail.
Here is the process I have successfully used every time to uninstall WSUS when the uninstaller fails. This process will work on both Windows 2008 and Windows 2008 R2.
- Open the Windows registry editor.
- Navigate to HKLM\Software\Microsoft\Update Services\Server\Setup.
- Change the value of “wYukonInstalled” and “SqlInstanceIsRemote” to 0 (zero).
- Close the Windows registry editor.
- Launch server manager and right-click on Roles.
- Click Remove Roles.
- On the Server Roles screen, uncheck “Windows Server Update Services” and click Next.
- Click Remove.
- When the uninstall wizard comes up, leave all three check boxes for database, logs and updates unchecked. Proceed with removal.
- Once WSUS is uninstalled, manually remove the WSUS content and/or database files from the hard drive.