Windows HELL

Dante was wrong, the first circle of hell isn't limbo… it's Windows!

Removing a site server from SCCM 2007

System Center Configuration Manager makes you work at removing a site system from the site.  Just wanted to jot down some gotchas that I’ve encountered in the process.

1. Don’t remove the server from the domain before you drop it from your site!  This will cause you to wait at least 24 hours (or do a reg hack) to clear the system.

2. Remove all added roles from the server first – Every role, except component server and site system should be removed before proceeding.  Check the CCM logs to ensure removal is complete.  If you fail to do this, you will never get the option to remove the machine.  The component server role goes away automatically after all added roles are gone.

3. As usual, you have to force SCCM to update.  A right-click refresh on the site systems usually does the trick.  If the component server role still persists, kick the server in the butt by restarting SMS_SITE_COMPONENT_MANAGER via the SCCM Service Manager.  This almost always does the trick.  Some of the older version consoles also required you to exit and restart the console for changes to be displayed, so you can try that too.

4. Assuming everything goes well, the site system will only have the site system role.  At this point a Delete option should appear when you right-click the node.

Good luck…

About these ads

2 responses to “Removing a site server from SCCM 2007

  1. Joshua D. October 19, 2011 at 4:30 pm

    Thank you for the save.

  2. newmanth March 23, 2012 at 7:55 pm

    Fixed the link to Frode’s post to reg hack the time limit. Here is the text of his post (just in case the link breaks again:

    Recently I had problems removing the Software Update Point role from one of my SCCM secondary sites. Since the SUP wouldn’t be deinstalled I also couldn’t remove the site from my environment (only SUP was running on the server).
    I received the following in the SITE_COMPONENT_MANAGER log:
    SMS Site Component Manager failed to deinstall all SMS server components from site system “\servername”. SMS Site Component Manager failed to reinstall this component on this site system.
    After searching high and low I found a KB article at Microsoft with a similar error message, but it applied to SMS 2003 and the CAP role (Client Access Point) instead. Being somewhat clueless I decided to try the workaround provided.
    Workaround
    1. The Component Manager will attempt to remove the role for 1440 minutes (24 hours) and then it will time out. After this all errors related to the role in question will cease and re-installation of the role can be attempted. If the role has still not been uninstalled, proceed to step 2.
    2. Make SCCM think that the component has exceeded its time limit. You can accellerate this by modifying a registry key for SCCM.
    To accelerate the removal timeout, modify the following registry value:
    HKLMSoftwareMicrosoftSMSComponentsSMS_SITE_COMPONENT_MANAGERComponent ServersSERVERNAMEDeinstallation Start Time
    Change the value of Deinstallation Start Time to 1. Stop and restart the SMS_SITE_COMPONENT_MANAGER service on the Site Server to force a Site Component Manager update cycle. The Site Component Manager log should indicate the deinstallation process has timed out as follows:
    Bootstrap operation failed.
    Deinstalled service .
    Bootstrap operations aborted.
    Deinstallation failed. Deinstall retry interval of 1440 minutes exceeded.
    Component assumed to be deinstalled; deinstallation will not be retried.
    After this my roles successfully deinstalled and I was able to remove my secondary site system.

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

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: