Using psexec to install the SMS client

Sometimes the easiest way to install the client may be running it with psexec. That's especially true if the machine hasn't been discovered by some mechanism. The options for doing this often cause confusion, because there are two files involved - ccmsetup.exe and client.msi. CCMSETUP looks for client.msi in whatever folder ccmsetup is run from. If you use the -c switch that's normal with psexec, to copy the file being executed, it only copies the exe. That then hangs when it can't locate the msi, and the ccmsetup.log file is filled with messages reporting that it can't find client.msi in C:\Windows\System32 and will retry in 20 minutes.

 The solution is to run ccmsetup from a location containing both files. The easiest is usually on an SMS site server. The proper command line is:

psexec -s \\computer \\SMSserver\client\i386\ccmsetup.exe [ccmsetup switches]

The -s command says to run using the system account. Do not use -c, as that will cause the errors described above. Using -d is optional; ccmsetup terminates pretty quickly. I generally leave it off so I can see the zero return code.

Published Monday, October 01, 2007 3:23 PM by spruitt

Comments

No Comments
Powered by Community Server (Commercial Edition), by Telligent Systems