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.

  1. Open the service.msc snap-in and then Stop the service SMS_SITE_COMPONENT_MANAGER
  2. 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.
  3. Then finally start up the SMS_SITE_COMPONENT_MANAGER service by launching the services.msc snap-in
  4. 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.

3 Responses

  1. Fix from Microsoft that eventually worked for me
    1. Elevated command prompt: wbemtest
    2. root\SMS\Site_XXX
    3. Select Query…
    4. Type select * from SMS_SCI_SysResUse where itemname like ‘%servername%’
    Two options appeared referring to defunct server and these were deleted. On refreshing the server list – server has now been removed.

Leave a Reply

Your email address will not be published. Required fields are marked *