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%
David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest