Removing a Site System Server in Configuration Manager 2012 SP1 – The server cannot be deleted because it contains the following site system roles: component server

Posted: August 16, 2013 in Configuration Manager 2012
Tags: , , , , , , , , , , , , , , , , , , ,

I recently ran into an issue which involved the replacement of a server. I had been using it as a Configuration Manager 2012 SP1 Site System running the PXE Enabled Distribution Point and State Migration Point roles. It was servicing around 30 clients in a small office and the Server team had been gracious enough to give me a few days notice of the replacement. I scheduled the deinstall of the site components for Friday afternoon at 4pm however unbeknownst to me I wasn’t unable to fully remove the site.

Initially I had no problems, I removed the Distribution Point Role and also the State Migration Point role – reviewing the distmgr.log on my primary revealed that this progressed and completed.

Image

Image

Then I went to remove the site server itself which produced a nasty stop error – The server cannot be deleted because it contains the following site system roles: component server. So I was in a position were I had a server being replaced in a few hours with me being unable to fully deinstall the site server.

Now this may not pose a problem to most, however in my mind I was of the opinion that this wouldn’t be the best eventuality for the Configuration Manager environment if the server was replaced while the Primary was still processing the removal of the component server . So, a question arose how to remove the Site System? Well the log indicates that it would run a cleanup task in 60 minutes.

So thinking this through logically I restarted the SMS_SITE_COMPONENT_MANAGER service on the Primary. Hey presto! I was then able to remove the site system with the component server role no longer appearing.

Image

Reviewing the sitecomp.log indicated that the degraded component was indentified and removed immediately without having to wait.

Image

Advertisements
Comments
  1. Charlie says:

    Thanks man this did the trick!

  2. Gareth says:

    Brilliant! Restarting that service worked – thank you

  3. Konig says:

    Wonderful!! it helps me a lot – thanks

  4. mary says:

    This worked for me. Thank you.

  5. Kate T says:

    OMG you legend. that worked for me too. Thanks fellow Aussie!

  6. Troy says:

    Just wanted to say that for me, I had to remount the installation source and then it work

  7. Sushant Pandey says:

    Thanks for you info. It helped in removing server from SCCM Console.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s