Uninstall SCCM Client Manually in Windows 10/11 via CMD

Published by Nyau Wai Hoe - Updated on

System Center Configuration Manager (SCCM) helps manage and deploy software, patches, and updates across big networks in many businesses. Sometimes, you might need to remove SCCM from a computer, maybe because you’re troubleshooting some issues or the device isn’t managed by SCCM anymore.

If you need to uninstall the SCCM client, you can use the Command Prompt (CMD) to do it. In this guide, we will show you how to manually uninstall SCCM on Windows 11 or 10 using command line.

Uninstall SCCM Client Manually in Windows 11 10 CMD

Things you’ll need to prepare first

To avoid unnecessary problems later, below are some things you might need to do first.

  1. To run the uninstall commands, you need to be an administrator on the computer. Make sure you are logged in with an account that has these rights.
  2. Make sure all software or services related to SCCM are completely closed. This makes sure nothing related to SCCM is running when you try to take it off.
  3. If you can, disconnect the PC from the network during the uninstall. This stops any updates or settings from being pushed to the SCCM client while you’re removing it.
  4. To open CMD with admin rights:
    • Click on the Windows icon (usually at the bottom left corner of the screen).
    • Type “Command Prompt” or “cmd” in the search bar.
    • Right-click on the “Command Prompt” from the search results and choose “Run as administrator”.Command Prompt Run as Administrator

Also see: How to Run CMD or PowerShell as SYSTEM or TrustedInstaller in Windows 11/10

How to uninstall SCCM client using command line

Now that you’re ready for it, we can start the actual uninstall process. You will need to run specific commands in the Command Prompt.

  1. To start, you need to go to the SCCM installation folder. Usually, it’s in C:\Windows\ccmsetup. To go there, type this command in Command Prompt:
    cd C:\Windows\ccmsetup

    Open SCCM folder CMDIf you get an error saying the path isn’t found, SCCM might be in a different place. If that’s the case, find the right path and go there.

  2. Once you’re in the right folder, type this command to start taking SCCM off:
    ccmsetup.exe /uninstall

    Uninstall SCCM Client command lineThis will start the uninstall process. It might take a few minutes, so please wait. When it’s done, you’ll see a confirmation in Command Prompt.

  3. After that, check to make sure SCCM is really gone. Here’s how:
    • Click on the Windows icon.
    • Go to “Settings” then “Apps.”
    • Type “SCCM” or “Configuration Manager” in the search box and check that no related apps are listed.
  4. Sometimes, some files are left behind even after uninstalling. To clean these up, go to C:\Windows and look for the ccmsetup folder. If you find it, you can delete it safely.
  5. It’s always a good idea to restart your computer after removing software to make sure all changes are applied.

Relevant guide: How to Force Delete a File in Use by Another Program on Windows 11/10

Some common issues you might encounter

Sometimes you might run into problems when trying to uninstall SCCM. The following are some common problems and steps to try if things don’t go as planned.

SCCM uninstallation command doesn’t execute

If the ccmsetup.exe /uninstall command doesn’t start the uninstall:

  • Check you are in the right folder in CMD.
  • Make sure SCCM isn’t busy doing other tasks.
  • If the command still won’t run, try opening Command Prompt as admin. Sometimes you need extra permissions to run some commands.

If CMD doesn’t work, you might want to try using PowerShell or Configuration Manager Console to uninstall SCCM.

Related resource: How to Install Telnet via CMD or PowerShell in Windows 11

Residual services still running

Even after taking SCCM off, some of its services might still be running. Here’s how to stop them:

  • Press Win + R to open the “Run” dialog.
  • Type “services.msc” and press Enter.
  • In the Services window, look for any services that start with “SMS” or are related to “Configuration Manager.” Right-click each one and choose “Stop.”Disable SCCM client services Windows 11 10

Nyau Wai Hoe
Nyau Wai Hoe is the Founder and Chief Editor of WindowsDigitals.com. With a degree in software engineering and over 12 years of experience in the tech support industry, Nyau has established himself as an expert in the field, with a primary focus on the Microsoft Windows operating system. As a tech enthusiast, he loves exploring new technologies and leveraging them to solve real-life problems.

Share via
Copy link