Creating batch file to install SCCM agent manually
Im trying to create a batch file to install SCCM agent (not got at creating batch script). I have a command to install the agent(correct me if im wrong)
ccmsetup.exe /noservice /mp:"primarysiteserver" SMSSITECODE="primarysitecode
SMSSLP="primarysiteserver"
But problem is, how do i point it to the C:\Windows\System32\ccmsetup
directory? I did try to just put the script then save the notepad as
.bat, then try to execute it, but it doesnt seem to work....
May 22nd, 2012 9:57pm
by default sccm client will install onto c:\windows\system32\ccmsetup folder.
you will have to specify the sccm client installation source folder path something like
\\sccmservername\sms_sitecode\client\ccmsetup.exe /noService /mp:"servername"SMSMP="servername"SMSSITECODE=sitecode
you can use the above bat file to run it on multiple computers using psexec tool
psexec @computers.txt -c driveletter:\batchfile_name
more info aboout client installation
http://technet.microsoft.com/en-us/library/bb680980.aspx
Please click on "vote as Helpful" if you feel this post helpful to you.
Eswar Koneti | My Tech blog:
www.eskonr.com | Linkedin: Eswar Koneti
Free Windows Admin Tool Kit Click here and download it now
May 23rd, 2012 12:33am
by default sccm client will install onto c:\windows\system32\ccmsetup folder.
you will have to specify the sccm client installation source folder path something like
\\sccmservername\sms_sitecode\client\ccmsetup.exe /noService /mp:"servername"SMSMP="servername"SMSSITECODE=sitecode
you can use the above bat file to run it on multiple computers using psexec tool
psexec @computers.txt -c driveletter:\batchfile_name
more info aboout client installation
http://technet.microsoft.com/en-us/library/bb680980.aspx
Please 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 23rd, 2012 12:36am
Hi,
This is how I did it using a vbscript
http://ccmexec.com/2011/11/installing-the-sccm-client-using-vbscript/
Regards,
Jrgen-- My System Center blog ccmexec.com -- Twitter
@ccmexec
Free Windows Admin Tool Kit Click here and download it now
May 23rd, 2012 1:21am
Hi,
This is how I did it using a vbscript
http://ccmexec.com/2011/11/installing-the-sccm-client-using-vbscript/
Regards,
Jrgen-- My System Center blog ccmexec.com -- Twitter
@ccmexec
May 23rd, 2012 1:24am
Why are you using /noservice?
/mp does *not* set the managment point, SMSMP does
What doesn't work? Have you reviewed the ccmsetup log?
Are you running this on a 64-bit OS? If so, ccmsetup gets put into c:\Windows.Jason | http://blog.configmgrftw.com | Twitter @JasonSandys
Free Windows Admin Tool Kit Click here and download it now
May 23rd, 2012 10:08am
Why are you using /noservice?
/mp does *not* set the managment point, SMSMP does
What doesn't work? Have you reviewed the ccmsetup log?
Are you running this on a 64-bit OS? If so, ccmsetup gets put into c:\Windows.Jason | http://blog.configmgrftw.com | Twitter @JasonSandys
May 23rd, 2012 10:09am


