Error while removing the Component Server role

Error while removing the Component Server role If you are a configuration manager administrator then removing a distribution point is sometimes necessary when maintaining a Configuration Manager 2012 site. Configuration Manager uses distribution points to store files that are required for software to run on client computers. These distribution points function as distribution centers for the content files and let users download and run the software. Clients must have access to at least one distribution point from which they can download the files. In one of my posts we have seen how to remove the distribution points. But sometimes you get an error when you right-click on the server that is hosting the DP and select Delete from the context menu.

Error while removing the Component Server role

The error is

The server cannot be deleted because it contains the following site system roles
Component server
The component server role supports other site system roles and it is created automatically by Configuration Manager. Although there might be a delay, this role is automatically removed after you remove other site system roles on this server.

Note that the component server role supports other site system roles and is created automatically by Configuration Manager. When you uninstall the DP role usually this role is automatically removed after you remove other site system roles on this server. But sometimes there are cases where I have seen that component server role is not removed. In such cases you cannot remove the component server role directly because the option to remove the role as it is greyed out.

Fix Error while removing the Component Server role

So how do we resolve this ?. Here are few steps that I would like to suggest.

1) Make sure all the roles apart from Component Server and Site System are removed. You can check this by right clicking the server and checking its Properties.

2) Stop and restart the SMS_SITE_COMPONENT_MANAGER service. Wait for few minutes.

3) Refresh the console and the Component server role should now have disappeared. You should now be able to delete the server that holds the DP role.

If the above steps has not helped you resolve the issue, then feel free to post this issue in community forums by clicking the below button.

15 Comments

  1. Avatar photo Umeshkanth says:

    Thanks a lot. It worked. Have to restart the service and close the close the console and re-open again to delete the site server.

  2. Avatar photo jean-sebastien F says:

    Hello,

    I have installed a new site server in passive mode and promote it to active. Now, I uninstall the passive site server sms role, primary site server, management point. Well, everything that was available in either setup.exe or console. Now, the only 2 things remaning are Site System and Component Server Role. I don’t have any SMS service on the server except SMS_Notification, which is off. I tried starting it but changed nothing. I tried restarting and changed nothing. It’s been a week and I still can’t delete de server…. help!

    edit: Ok, I found out where I was wrong. Maybe say that the SMS_Site_Component_Manager reside on the active site server. I though it was on all server so I didn’t bother to check the other site server (since they both were primary site server). Just restarted the role on the active primary server and it worked. Thanks!

  3. I have 15 DP’s in my environment all having the component server role except for two of the servers and seem to be working fine. How can I get the component server role re-installed on these two devices?

    1. Why do you need the component server role installed on all DP’s ?.

    2. Why do you need the component role on those two devices ?. Are they installed with some roles ?.

  4. Avatar photo charles katzke says:

    100% effective solution, thank you so much

  5. Avatar photo Gary Jack says:

    Worked fine for me on the very latest version of the SCCM Console.

  6. Thanks! Worked like a charm.

  7. Avatar photo LFrederick says:

    I have stopped and started the service and waited 24 hours component server is still there.
    Old DP is off line and was replaced with new hardware with the same name but content will not download to it. I cannot delete the DP since Component Server is still listed as a role.

    1. You must uninstall the DP role and wait for component server to disappear. In big environments, it might take a day or two for component server to uninstall.

    2. Avatar photo Rizwan Ayub says:

      If you would delete the system from AD and wait 24 hours the cleanup process would detect the change and allow you to delete it the next day. This wasn’t good enough because I needed a quick turn around. To get around this time, head into the registry:

      HKLM>Software>Microsoft>SMS>Components>SMS_SITE_COMPONENT_MANAGER>Component Servers>SERVERNAME

      there will be a key called “Deinstallation Start Time”, set this value to 1.

      Restart the Site Component Manager Service. At this point, you should be able to delete your failed Site Server from SCCM!

      Once above is completed change the above key back to default “ffffffff”

  8. Avatar photo Tina Klampher says:

    I have stopped and started the service and waited 24 hours component server is still there. Have restarted the SCCM server and component is still there on the DP.

    Back ground. Old physical DP is off line and was replaced with new hardware with the same name. I am unable to install the DP role on the new hardware. Cannot delete the DP since Component Server is still listed as a role.

  9. I did these steps, and the component role is still there. Waited about an hour. The DP I want to decomission no longer exists. (hw is gone). Does this have anything to do with it?

    1. This will take some time but you have to wait. Else restart the SCCM server once and see if that helps.

  10. Avatar photo Qaiss Aria says:

    Fantastic, this fixed a major issue.

Comments are closed.