Imagine you have one of your SCCM distribution server is crashed or it has been decommissioned. You will require to remove them from the Central console to get rid of the stale records. We will see how to do such cleanup on the SCCM.
If you have removed all the other roles of the SCCM site server you might end up with below error saying “The server”\\Servername.xys.com cannot be deleted because it contains the following site system role” The site system role is nothing but “Component Server”
So there is a quick fix to remove this from the SCCM so follow the below steps to complete the process.
- Open the service.msc snap-in and then Stop the service SMS_SITE_COMPONENT_MANAGER
- Open the Regedit.exe and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Components\SMS_SITE_COMPONENT_MANAGER\Component Servers and then delete the lingering server object key which you find under the “Component Servers” key.
- Then finally start up the SMS_SITE_COMPONENT_MANAGER service by launching the services.msc snap-in
- Now launch the SCCM Admin Console and navigate to Monitoring>System Status>Site Status you will see the server object has been flushed off from the console. (If that failed to clear then give it 10-15 minutes and then relaunch the console to verify.