I recently had a problem with a WSUS installation and integration into ConfigMgr so I decided to delete it and just reinstall (its quicker than troubleshooting for hours). However, when I tried to delete the server (WSUS1.corp.local in my case) I got the error: The server \\WSUS1.corp.local cannot be deleted because it contains the following site system roles: Component server. I had already remove the Software Update Point role so what was I getting this error?

Well I had only just integrated this server with ConfigMgr and there were still come background processes happening so all I needed to so was restart the SMS_SITE_COMPONENT_MANAGER service and try again.

Once it was restarted, hey presto it let me delete the server.

Now off I go to reinstall my WSUS server.