You can install the Log Insight Windows Agent, specify a service account, and configure command-line parameters for the server, port, and protocol.

For MSI command-line options, see the Microsoft Developer Network (MSDN) Library Web site and search for MSI command-line options.

Verify that you have a copy of the Log Insight Windows Agent .msi file. See Download the Windows agent .msi File

Verify that you have permissions to perform installations and start services on the Windows machine.

If you use the silent installation options /quiet or /qn, verify that you run the installation as an administrator. If you are not an administrator and run silent installation, the installation does not prompt for administrator privileges and fails . Use the logging option and parameters /lxv* file_name for diagnostic purposes.


Log in to the Windows machine on which to install the vRealize Log Insight Windows agent.


Open a Command Prompt window.


Change to the directory where you have the vRealize Log Insight Windows agent .msi file.


Run the command to start the installation and replace Version-Build_Number with your version and build number.




(Optional) Specify a user service account for the Log Insight Windows Agent service to run under.

Drive:\path-to-msi_file>VMware-Log-Insight-Agent-*.msi SERVICEACCOUNT=domain\user SERVICEPASSWORD=user_password


The account supplied in the SERVICEACCOUNT parameter is granted with the Log On As a Service right and full-write access to the %ProgramData%\VMware\Log Insight Agent directory. If the supplied account does not exist it is created. The username must not exceed 20 characters. If you do not specify a SERVICEACCOUNT parameter, the Log Insight Windows Agent service is installed under the LocalSystem service account.


(Optional) Enter the vRealize Log Insight server, port, and protocol.




IP address or host name of the vRealize Log Insight virtual appliance.


Protocol that the agent uses to send events to the Log Insight server. The possible values are cfapi and syslog. Use the default cfapi setting.


The port number depends on the value of SERVERPROTO. The default value for SERVERPORT is 9000, which corresponds to the default SERVERPROTO=cfapi. Use SERVERPORT=514 for SERVERPROTO=syslog.

The command-line parameters correspond to hostname, proto, and port in the [server] section of the liagent.ini file.


Press Enter.

The command installs the Log Insight Windows Agent as a Windows service. The Log Insight Windows Agent service starts when you start the Windows machine.

Verify that the command-line parameters you set are applied correctly in the liagent.ini file. See Configuring Log Insight Windows Agent After Installation.