Pages

SCCM Client Installation Script:-- batch file program

SCCM Client Installation Script:--
 
here is my SCCM Client Installation batch file script.
 
================================================================================================================================================================================
ECHO *********** %1 runing X copy kil.exe
xcopy /y kill.exe \\%1\admin$
psexec \\%1 -c  kill.exe "kill.exe ccmexec.exe"
ECHO *********** %1 Copy dependent files to client admin$
 
xcopy /y ccmsetup.exe \\%1\admin$
ECHO *********** %1 Uninstall SCCM Cleint
psexec \\%1 -c  kill.exe "kill.exe ccmsetup.exe"
psexec \\%1 \\%1\ADMIN$\ccmsetup.exe /uninstall

ECHO *********** %1 Install SCCM Client
psexec \\%1 \\%1\ADMIN$\ccmsetup.exe fsp=SCCMSERVER smssitecode=auto
 
================================================================================================================================================================================
 

-------------------
Thanks,
http://sccm07.blogspot.com/

0 comments:

Post a Comment