Silent agent installation using PSEXEC - Documentation for BMC Defender Agent for Windows 6.2

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: 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%

You Might Also Like