Wednesday, May 16, 2012 4:19 PM
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.
Wednesday, May 16, 2012 5:23 PM
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"
Echo "Clean SMS Unique Identifier (GUID)"
if exist "%systemroot%\smscfg.ini" del "%systemroot%\smscfg.ini"
if exist "%systemroot%\sms.ini" del "%systemroot%\sms.ini"
Wednesday, May 16, 2012 6:41 PM
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.bat
- Proposed As Answer by John MarcumMVP, Moderator Wednesday, May 16, 2012 7:21 PM
Monday, May 28, 2012 1:49 PM
Is this a typo?
what is: %~dp0