Silent agent installation using PSEXEC


The wt-silent.exe program works with most remote software installation programs, including Sys Internals program psexec.exe.

Example

To remotely install the program using the psexec.exe program, you can use a batch file such as the following:

REM: # Remote installation script for agent programs
REM: # Requires the "psexec.exe" Sys Internals command.
REM: # See: http://technet.microsoft.com/en-us/sysinternals/bb897553


REM: # Parameters are as follows:
REM: # D - The destination address of the CorreLog server.
REM: # R - The remote directory path to receive the install.
REM: # U - The administrative username for the install.
REM: # P - The password for the administrative username.
REM: # T - The target node to perform the remote installation on.
REM: # Modify parameters appropriately below.


SET D=127.0.0.1
SET R=C:\CorreLog
SET T=127.0.0.1
SET U=Administrator
SET P=clear-text-password


REM: # Perform the installation:
REM: # First, create the remote directory, then install the package.


psexec -h \\%T% -u %U% -p %P% mkdir %R%
psexec -h \\%T% -u %U% -p %P% -c -f -w %R% wt-silent.exe %D%

The preceding program can be cut and pasted to a file in the s-doc directory, to effect a remote installation of the wt-silent.exe package. 

Note

The psexec.exe program used by the batch file is not a part of the BMC Defender installation, but a standard utility distributed by Microsoft and should be in the users path.

 Contact BMC Support for details on how to acquire this utility.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*