sccm component server role not removing

Marc 631 Reputation points
2022-11-07T18:49:14.887+00:00

I would like to remove an obsolete server in SCCM.
Unfortunatelly It doesn't allow me to do it because of the "component server role" error as it is still present.
I have restarted the service "sms_site_component_manager" and tick the "require the site server ...." option in site system.
I have also restart the primary server without success.
What can I do more?
Thanks

Microsoft Security | Intune | Configuration Manager | Deployment
{count} votes

5 answers

Sort by: Most helpful
  1. Gideoney 446 Reputation points
    2022-11-08T03:07:03.623+00:00

    You can try to change the value of "Deinstallation Start Time" to 1 in the registry according to the following article:
    configmgr-remove-orphaned-site-systems.htm

    You need save the original values. If this change doesn't work, you need to revert to the original value.

    1 person found this answer helpful.
    0 comments No comments

  2. CherryZhang-MSFT 6,496 Reputation points
    2022-11-08T08:32:44.903+00:00

    Hi @Marc ,

    1, Agree with Gideoney-4397, this can be a useful approach. Besides, there are something we need to confirm. Have you removed all the roles apart from Component Server and Site System before restart the SMS_SITE_COMPONENT_MANAGER service. I found an article, is this same as your situation?
    The link for your reference:
    Error while removing the Component Server role (prajwaldesai.com)
    Note: Microsoft provides third-party contact information to help you understand the problem. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

    2, Furthermore, in the following thread, many people provided some different methods to solve this problem. The link for your reference:
    Deleting a site system that no longer exists (microsoft.com)

    Looking forward to your feedback.

    Best regards,
    Cherry


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. Gideoney 446 Reputation points
    2022-11-08T09:36:46.167+00:00

    I need to remind that after we remove the role from the site system, we change the value of the registry at the primary site.

    258204-1.png


  4. CherryZhang-MSFT 6,496 Reputation points
    2022-11-08T09:53:21.507+00:00

    Hi @Marc ,

    The full registry path is as follows:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\COMPONENTS\SMS_SITE_COMPONENT_MANAGER\Component Servers[server FQDN]\Components\SMS_SITE_COMPONENT_MANAGER

    258129-picture2.png

    258241-picture1.png

    Looking forward to your feedback.

    Best regards,
    Cherry

    0 comments No comments

  5. Marc 631 Reputation points
    2022-11-08T17:32:38.243+00:00

    I had the opportunity to restart the primary server and the "Component Server" disappeared.
    Problem finally sorted out ;)

    Thank you very much.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.