Managing Kaspersky Endpoint Agent activation

To manage application activation settings using the command line interface:

  1. On the device, run a command line interpreter (for example, Command Prompt cmd.exe) with the permissions of the local administrator.
  2. Using the cd command, navigate to the folder where the Agent.exe file is located.

    For example, you can type the following command cd "C:\Program Files (x86)\Kaspersky Lab\Endpoint Agent\" and press ENTER.

  3. Enter one of the following commands and press ENTER:
    • To activate the application using the activation code or key file:

      agent.exe --license=add <activation code or path to the key file>

      To activate the application using the activation code, the protected device must be connected to the Internet.

    • To specify an additional key to automatically renew the license:

      agent.exe --license=reserve <activation code or path to the key file>

    • To remove the added primary or additional key:

      agent.exe --license=delete <key serial number>

    • To view the status of added keys:

      agent.exe --license=show

Return codes of the --license command:

Page top