Using Cliutils to Control SMS Client Components
Have you ever wanted to just start one SMS client thread,
like CCIM for example, from a command-line? This article will
cover the use of Cliutils to accomplish this and more. Cliutils.exe is a command line executable included with the
SMS 2.0 resource kit. By calling it with the proper parameters
you can more effectively troubleshoot SMS client
problems. You must first copy Cliutils.exe to the
%win%\ms\sms\core\bin directory. You can then create scripts
or batch files to automate it a bit. Example 1: I used this utility the other day to
troubleshoot a software inventory problem. On several of my
Win 9x machines Sinv32.exe was returning this error,
"Can't find
Clibase.dll or any of it's components. It may be missing or
corrupt." Eventually, I determined that I needed to run
deSinv.32 to de-install the software inventory agent. By
running CCIM immediately after the uninstall, the new software
inventory agent was installed much faster. By the way, I
reboot after running CCIM in order to complete the reinstall
of software inventory agent. I needed to automate these steps. I used SMS
Installer to accomplish this. In the script my command line
for Cliutils looked like this: Pathname=%INST%\cliutils.exe Command Line=/KICK "Client Configuration
Installation Manager" Note* don't forget the quotes. CliUtils command parameter_list The parameters must be entered in as they are registered.
You can see the proper program names in
%win%\ms\sms\logs\smsclreg.log. The parameters that need to be
used are in bold below.
"Real World" Application
Client Utilities Syntax
Parameters
