SCCM Component Server role lingering object removal – Fix

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”\\ 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.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.