The protection software command-line option allows the installation, removal, and maintenance of the system protection software from the command-line. In addition, these command line options may be used in conjunction with Microsoft’s Group Policy methodology to deploy mass installations of clients.
See the following for details:
The agent installer utilizes the msiexec command to manage the system protection software from the command-line. However, not all of the msiexec default parameters are supported with the installer. The following msiexec parameters are available:
/I - Installs and modifies the software.
/f - Repairs the software.
/uninstall - Removes the software.
/quiet - Installs software in quiet mode with no user interaction.
/l* - Enables logging.
The option below is used to manage the restart of a client after the installation is complete:
FORCE_BOOT If set to True, will restart the system after installation. If set to False, will suppress restart after installation.
The following table depicts the optional parameters available for specification on the command-line. Please note that these parameters are case sensitive and must be entered in upper case on the command line. The values specified for the parameter are not case sensitive.
Parameter name |
Parameter value |
Default value |
---|---|---|
USNAPS |
True | False |
False |
BARE_METAL |
True | False |
True |
REMOTE_ADMIN |
True | False |
True |
ODM |
True | False |
True |
SQL_AGENT |
True | False |
True, if SQL Server is installed on the client, otherwise False. |
EXCHANGE_AGENT |
True | False |
True, if Microsoft Exchange server is installed on the client, otherwise False. |
INSTALLDIR |
|
"C:\PCBP" Note: Directory name must not contain spaces and must be included in double quotes. |
IP |
|
127.0.0.1 |
FIREWALL |
True | False |
False |
Example 1: Install software using default values
msiexec /i "C:\<Deploy>\Unitrends_Agent.msi"
where <Deploy> is the path of the downloaded agent
Example 2: Install software with default values and turn on logging
msiexec /quiet /l* "C:\temp\Unitrends.log" /i "C:\<Deploy>\_Agent.msi"
Where "C:\temp\Unitrends.log" is the full path location of the log file named Unitrends.log.
Example 3: Uninstall software from the system
msiexec /quiet /uninstall "C:\<Deploy>\_Agent.msi"