Installation or Removal of Kaspersky Security 3.0 Light Agent from the command line

Installation Process

To run the Kaspersky Security 3.0 Light Agent setup wizard from the command line, enter the following command as suggested by Kaspersky Technical Support professionals:

  • msiexec /i <installation package path> <installation package name> EULA=1 ALLOWREBOOT=<value of 1 or 0> /qn where:
  • EULA=1 means you agree with all provisions of End User License Agreement, which is required for the installation.
  • ALLOWREBOOT=1 or ALLOWREBOOT=0 means you agree or disagree to reboot the virtual machine automatically if it is required for installation (for example, if incompatible software is detected and removed). This command can only be executed in the silent install mode (with the key /qn). If the value for the ALLOWREBOOT parameter is not set, reboot is not allowed by default.
  • To set the password for Kaspersky Security 3.0 Light Agent, enter one of the following commands:
  • setup.exe /pKLPASSWD=<password> /pKLPASSWDAREA=<password scope>
  • or
  • msiexec /i <installation package path> <installation package name> KLPASSWD=<password> KLPASSWDAREA=<password scope>
  • The parameter <password scope> can take the following values (divide them with a semicolon if multiple parameters are used):
  • SET to set the password for changing application settings;
  • EXIT to set the password for closing the application;
  • DISPROTECT to set the password for disabling protection components and terminating scan tasks;
  • DISPOLICY to set the password for disabling the Kaspersky Security Center policy;
  • UNINST to set the password for removing the application from the virtual machine;
  • DISCTRL to set the password for disabling control components (Application Startup Control, Application Privilege Control, Vulnerability Monitor, Device Control Settings, Web Control);  

During the installation or update of Kaspersky Security 3.0 Light Agent in the silent mode, the following files are used:

  • Setup.ini. The file contains general installation parameters.
  • install.cfg configuration file.
  • Setup.reg.

setup.ini, install.cfg, and setup.reg files must be in the same folder with the Kaspersky Security 3.0 Light Agent installation package.

Removal Process

To remove Kaspersky Security 3.0 Light Agent from the command line in the interactive mode, enter one of the following commands:

  • setup.exe /x or msiexec.exe /x {64D327ED-41E2-43CD-856A-612F5461BDBA} for virtual machines with 32-bit operating systems.
  • setup.exe /x or msiexec.exe /x {A351D4C4-6E19-4B55-A150-FDED192DC463} for virtual machines with 64-bit operating systems.
  • Follow the instructions of the setup wizard.
  • To remove Kaspersky Security 3.0 Light Agent from the command line in the silent mode (without the setup wizard), enter one of the following commands:
  • setup.exe /s /x or msiexec.exe /x {64D327ED-41E2-43CD-856A-612F5461BDBA} /qn for virtual machines with 32-bit operating systems.
  • setup.exe /s /x or msiexec.exe /x {A351D4C4-6E19-4B55-A150-FDED192DC463} /qn for virtual machines with 64-bit operating systems.

In case of any query, contact Kaspersky Antivirus Support toll free number at 1 800 987 893.