Uninstall or Remove CM 2012 client using CCMClean.exe
Since SMS 2003 days, we’re using CCMClean.exe to uninstall or remove the client components.
Removing/Uninstalling ConfigMgr 2007 or 2012 clients using CCMClean.exe is not supported by Microsoft. “Not supported by Microsoft” !! So, what does that mean ? Well, it’s not tested (extensively) and certified by Microsoft for the products ConfigMgr 2007/2012. However, it may or may not work.
In my experience, the CCMClean.exe is able to successfully remove/uninstall ConfigMgr/SCCM 2007 and 2012 client components.
More details below……
Download – CCMClean.exe (Download SMS 2003 toolkit and run it to install all the files – go to the installation directory, it includes CCMClean.exe )
We can run the CCMClean.exe on remote machines using PSEXEC.exe. You should have administrative privileges on that remote machine.
The command line parameters which can be used with CCMClean.exe.
Try and check out using “CCMClean.exe /?”
Silent install –> ccmclean.exe /q
I’ve tested CCMClean.exe on SCCM / ConfigMgr 2012 client and it did work perfectly !!!
a) Verify the CCMClean.log file to get more details
Log file location = “C:\Users\administrator\appdata\local\temp” OR %temp%
b) Check the event log for some more details or confirmation
c) CCM registry entry has been REMOVED
d) SMS Agent Host service has been REMOVED
e) WMI namespaces (root\ccm and root\cimv2\SMS) have been REMOVED

Discussion (7) ¬
Why bother if “ccmsetup.exe /uninstall” does the job as well, and *is* supported?
No need to bother. “people like me” are fond of ccmclean.exe
For me ccmsetup.exe /uninstall doesn’t clear everything out on every machine and ccmclean does. I will stay with ccmclean.
I agree with Anoop on this , ccmclean is more effective and cleans the WMI and registry traces from the machine .
I had removed sccm client though ccmclean.exe in sccm 2007 updated client as found it worked.
Thanks for this. BTW, ccmsetup.exe /forceinstall is added for SCCM 2012 SP1. Do you think /forceinstall is strong enough so that we don’t have to run ccmclean.exe, reboot then try re-install?