During the migration of WSUS from server 2008 to 2012 I have stumbled with a pretty stubborn WSUS installation server – every attempt I’ve tried to uninstall it failed.
Each time I run the Remove Role from the server manager I got the following error:
If you get this error, here’s how to solve this:
Format the server completely… nah, just kidding 🙂
Open up the registry (regedit) and go to the following location:
Inside this path you will find a key called ‘wYukonInstalled’ – set this key to ‘0’
You should now be able to remove the SQL.