Technically, . Microsoft no longer officially supports CCMClean.exe. The current "official" recommendation for removing the client is to use the ccmsetup.exe /uninstall command.
sc stop ccmexec sc delete ccmexec sc stop smstsmgr sc delete smstsmgr ccmclean.exe
rmdir /s /q "%ProgramFiles%\SMS Client" rmdir /s /q "%ProgramFiles%\Microsoft Configuration Manager" rmdir /s /q "%windir%\CCM" Technically,