«

»

Mar 17

Problems removing roles from SCCM secondary site

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 <service_name>.
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.

3 comments

1 ping

  1. hugi

    God-like

  2. Wojciech Sciesinski

    Hi!

    Thanks for this post – is helpfull.

    I’ve tested this with SCCM 2012 RTM.

  3. corvo

    thx…. that helped a lot!

  1. Removing a site server from SCCM 2007 | Windows HELL

    [...] 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 [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current ye@r *

QR Code Business Card