Install the Log Insight Windows Agent by using the Windows Command Prompt and provide configuration parameters.

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.To download the Log Insight Windows Agent .msi file, navigate to the Administration page of the vRealize Log Insight Web user interface, in the Management section click Agents, and click the Download Log Insight Windows agent link.

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 run silent installation as a non-administrator, the installation will not prompt for administrator privileges and will fail. Use the logging option and parameters /lxv* file_name for diagnostic purposes.


Log in to the Windows machine on which you want to install the Log Insight Windows Agent.


Open a Command Prompt window.


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


Run the following command to start the installation:

Drive:\path-to-msi_file>VMware-Log-Insight-Agent-*.msi and replace * with your version and build number.


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

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


The account supplied in the SERVICEACCOUNT parameter will be granted with Log On As a Service right and full write access to %ProgramData%\VMware\Log Insight Agent directory. If supplied account does not exist it will be 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.




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


The protocol that the agent uses to send events to the Log Insight server. The possible values are cfapi and syslog. VMware recommends using 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 automatically 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.