Error while removing the Component Server role

Prajwal Desai
Posted by Prajwal Desai

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.

Share This Article
Prajwal Desai
Posted by Prajwal Desai
Follow:
Prajwal Desai is a Microsoft MVP in Intune and SCCM. He writes articles on SCCM, Intune, Windows 365, Windows Server, Windows 11, WordPress and other topics, with the goal of providing people with useful information.