Configuration Manager – The server cannot be deleted because it contains the following site system roles – Unable to remove Site Systems from SCCM

Unable to remove Site Systems from SCCM when Multicast Service Point has been enabled

All roles have been removed but Component server still shows

 

First step is to check what roles may be remaining but not showing in the console by running the powershell command

 

Get-CMSiteRole -SiteCode “ABC” -SiteSystemServerName “xxx.contoso.com” | Select RoleName

 

As you can see above the SMS Multicast Service Point is showing but its not possible to remove this role via the console as the Distribution Point role has already been removed.

And of course I cannot remove the site system as not all roles are removed

 

 

 

Solution:

Run the command in powershell

Remove-CMSiteRole -SiteCode ABC -SiteSystemServerName abc.contoso.com -RoleName “SMS Multicast Service Point”

 

Then restart the SMS_SITE_COMPONENET_MANAGER Service

 

You should now be able to remove the site system after some time once the component server is no longer showing under Servers and Site System Roles

If you still find the component server is still showing after a long wait you can remove the entry in the registry and restart the same service:

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

 

2 Replies to “Configuration Manager – The server cannot be deleted because it contains the following site system roles – Unable to remove Site Systems from SCCM”

  1. i had to execute one more command too

    Remove-CMSiteRole -SiteCode “ABC” -SiteSystemServerName servertobedeleted.com -RoleName “SMS Site System”

Leave a Reply