Installing, restoring and uninstalling the application using the command line

Kaspersky Endpoint Agent can be installed and uninstalled using the msi package by setting the values of MSI properties in a standard way. For more information on using standard Windows Installer commands and keys, refer to the documentation provided by Microsoft.

Installing Kaspersky Endpoint Agent

An example of installing the application in quiet mode with default settings is shown below. After starting the application installation in quiet mode, your participation in the installation process is not required.

Installing Kaspersky Endpoint Agent in quiet mode requires acceptance of the terms and conditions of the End User License Agreement and Privacy Policy. Use the EULA=1 and PRIVACYPOLICY=1 parameters only if you have fully read, understood, and accept the terms of the End User License Agreement and Privacy Policy.

Example:

msiexec /i endpointagent.msi EULA=1 PRIVACYPOLICY=1 USE_AZURE_SUPPORT=1 /qn

Command parameters for installing Kaspersky Endpoint Agent

Parameter

Description

EULA

Required parameter. This parameter indicates whether the user consents to or declines the terms of the End User License Agreement.

Values:

  • 0 – decline;
  • 1 – consent.

    If the value 0 is passed, the application is not installed.

PRIVACYPOLICY

Required parameter. This parameter indicates whether the user consents or declines the terms of the Privacy Policy.

Values:

  • 0 – decline;
  • 1 – consent.

    If the value 0 is passed, the application is not installed.

USE_AZURE_SUPPORT

This parameter sets the flag for using the hardware identifier in the form of the value of the EnableAzureSupport HKEY_LOCAL_MACHINE\SOFTWARE\KasperskyLab\SOYUZ\4.0\Environment parameter for operating systems on an x86 platform or the HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\KasperskyLab\SOYUZ\4.0\Environment parameter for operating systems on an x64 platform.

Values:

  • 0 – When sending events to the telemetry collection server, Kaspersky Endpoint Agent passes the host's OS identifier from the registry as the sensor_id value in requests to the server. Default value
  • 1 – When sending events to the telemetry collection server, Kaspersky Endpoint Agent passes the host's BIOS identifier as the sensor_id value in requests to the server.

Repairing Kaspersky Endpoint Agent

An example of restoring the application in quiet mode is shown below. After starting application restoration in quiet mode, your participation in the restoration process is not required.

Example:

msiexec /i endpointagent.msi REINSTALL=ALL /qn

Uninstalling Kaspersky Endpoint Agent

An example of uninstalling the application in quiet mode is shown below. After starting application uninstallation in quiet mode, your participation in the uninstallation process is not required.

Example:

msiexec /i {BB66A7B5-A5C0-45E6-92B9-D0B848B6F394} REMOVE=ALL /qn

If the application is password protected:

msiexec /i {BB66A7B5-A5C0-45E6-92B9-D0B848B6F394} REMOVE=ALL UNLOCK_PASSWORD=<password> /qn

All data that is stored locally on the device, except for trace and dump files, is deleted from the device when the application is uninstalled.

See also

Installing Kaspersky Endpoint Agent using the Installation Wizard

Removing Kaspersky Endpoint Agent using the Installation and Uninstallation Wizard

Page top