Install URL-based Trellix Agent manually using the command line options

Prev Next

You can override default installation parameters by manually installing the URL-based agent on supported operating systems.

Run the following command on the client system with any of these parameters:

  • On Windows, run TrellixSmartInstall.exe

  • On Macintosh, run TrellixSmartInstall.sh

  • On Linux, run TrellixSmartInstall.sh

To know more about using command-line switches with Trellix Agent, see KB52707.

Parameter

Description

-d "Data path"

Overrides the path of Trellix Agent data files (Windows only). The default location is: <Documents and Settings>\All Users\Application Data\McAfee\Agent. If the operating system does not have a Documents and Settings folder, the default location is C:\ProgramData\McAfee\Agent.

Example: TrellixSmartInstall.exe -d D:\McAfeeAgent\Data

-i "Install path"

Overrides the default folder where installation files are saved (Windows only). You can use Windows system variables, such as <SYSTEM_DRIVE>. If not specified, the default location is: <DRIVE>:\Program Files\McAfee\Agent.

Example: TrellixSmartInstall.exe -i D:\McAfeeAgent

-g

Generates the debug log McAfeeSmartInstall_<date>_<time>.log.

  • On Windows client systems, the log file is saved in <Documents and Settings>\<User>\Local\Temp\McAfeeLogs.

  • On Macintosh client systems, the log file is saved in /tmp.

  • On other non-Windows client systems, the log file is saved in the installation folder.

-a "Proxy address"

-p "Proxy port"

Specifies the proxy server address and the port number (Windows, Linux, and Macintosh). If the proxy server details are not provided, the installer uses the default browser proxy server setting.

Proxy details provided via the command line are stored in the mapolicy database after downloading Agent installer files. While installing Trellix Agent for the first time, these proxy details are used to establish an Agent-to-Server Communication Interval (ASCI) with ePO if no proxy is already configured and when there is no direct communication with ePO. However, during upgrades, an ePO configured proxy details in policy is used.

-u "Proxy user name" -w "Proxy password"

Specifies the user name and password for the authenticated proxy server (Windows, Linux, and Macintosh).

-m <tcpport> -n <udpport>

Installation of Trellix Agent on Linux systems using custom TCP and UDP ports. For example,

./install.sh -i -m 48081 -n 48082

./TrellixSmartInstall.sh -m 48081 -n 48082

-k

Switches off the peer and certificate verification of the https server from where the installer downloads the configuration file.

-f

Forces Trellix Agent installation (Windows only).

-s

Installs Trellix Agent in silent mode (Windows and Macintosh only).

-v

Installs Trellix Agent in VDI mode.

-h

Uninstalls the existing agent and installs a new agent while retaining the Agent GUID. (Windows only).

Example: TrellixSmartInstall.exe -h

-?

Displays the Help for command-line options.

Note

All parameters are optional. If you don't specify a parameter, the installer uses the default value.