Uninstall SCCM client on servers

jacobccjude 445 Reputation points
2025-02-24T17:00:09.9066667+00:00

We have several servers managed by SCCM that sometimes automatically restart. This will cause some services to be interrupted for a period of time, so we have decided to uninstall the SCCM clients on these servers. Do you know how to do it and how to ensure that the client is completely uninstalled?

Microsoft Configuration Manager Application
Microsoft Configuration Manager Application
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Application: A computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end users.
515 questions
0 comments No comments
{count} votes

Accepted answer
  1. Simon Ren-MSFT 39,136 Reputation points Microsoft Vendor
    2025-02-25T07:45:53.7433333+00:00

    Hi,

    Hope everything is going well.

    1,We can manually uninstall the SCCM client on these servers by running a simple command: ccmsetup.exe /uninstall. The steps are as below:

    uninstall1

    a,On your Windows computer, run the command prompt as an administrator.

    b,Run the command: cd %windir%\ccmsetup

    c,Run the command: ccmsetup.exe /uninstall

    d,Restart your computer after you uninstall the client agent.

    2,To monitor the SCCM client agent uninstall, go to C:\Windows\ccmsetup\Logs on the computer and open the ccmsetup.log file to monitor the client uninstallation. The line “CcmSetup is exiting with return code 0” in ccmsetup.log confirms that the SCCM client has been removed successfully. As shown below in my lab:

    uninstall2

    3,We can also configure not to install the SCCM client on your servers in the client push installation properties option as shown below. However, this will prevent all servers from automatically installing the SCCM clients.

    uninstall3

    Hope my answer could help you. Should you have any questions or concerns, please do feel free to contact me.

    Best regards,

    Simon


    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.

    After the way you tag questions on Q&A is updated, for any "Microsoft Configuration Manager" related problem, you can tag it with "Microsoft Intune", and then "Microsoft Configuration Manager" as the child tag.


0 additional answers

Sort by: Most helpful

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.