CCM client Removal
Does anyone have a script that will: 1. run ccmsetup.exe /uninstall 2. remove SMS certificate 3. delete SMSCFG.ini 4. delete CCMSetup and CCM folders This has to happen by using a txt file of listed computers and able to be performed remotely. I haven't been able to find anything to do this and I have over 100 bad clients to fix at one time I would like.
May 16th, 2012 12:22pm

I would look into using something like PSTools to run the commands remotely if sccm cannot do software distribution and the standard client push does not work with the reinstall command. If you can push with sccm or AD use @echo off Echo "Remove Old SMS Clients" "%~dp0ccmsetup.exe" /uninstall Echo "Clean SMS Unique Identifier (GUID)" if exist "%systemroot%\smscfg.ini" del "%systemroot%\smscfg.ini" if exist "%systemroot%\sms.ini" del "%systemroot%\sms.ini"
Free Windows Admin Tool Kit Click here and download it now
May 16th, 2012 1:27pm

create batch script using above commnad lines and deploy to remote machines with list of computer in notepad psexec command : psexec @computers.txt -c Drive letterame\scriptname.batPlease click on "vote as Helpful" if you feel this post helpful to you. Eswar Koneti | My Tech blog: www.eskonr.com | Linkedin: Eswar Koneti
May 16th, 2012 2:44pm

Eswar, Thank you for the reply and suggestion. Maybe I missed it but I didn't see any mention of how to remove the SMS certificate from the certifcate store other than using mmc snap in method. Is there a way to incorporate the proposed batch job with this feature added to the process? Thanks again.M
Free Windows Admin Tool Kit Click here and download it now
May 17th, 2012 9:06am

Thank you for the reply and suggestion. Maybe I missed it but I didn't see any mention of how to remove the SMS certificate from the certifcate store other than using mmc snap in method. Is there a way to incorporate the proposed batch job with this feature added to the process? Thanks again.M
May 17th, 2012 9:07am

Is this a typo? "%~dp0ccmsetup.exe" /uninstall what is: %~dp0M
Free Windows Admin Tool Kit Click here and download it now
May 28th, 2012 9:49am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics