Windows: uninstall the Configuration Manager (CCM) client
Uninstall the SCCM/MECM client with ccmsetup.exe /uninstall.
To cleanly remove the Configuration Manager client (SCCM / MECM, the "CCM" service) from a Windows machine, run ccmsetup.exe with the /uninstall option.
C:\Windows\ccmsetup\ccmsetup.exe /uninstall
C:\Windows\CCM\holds the installed client files;C:\Windows\ccmsetup\holds the setup program.- The uninstall runs in the background: follow
C:\Windows\ccmsetup\Logs\ccmsetup.logto see when it finishes. - Run the command from an elevated (administrator) console.