Activating Kaspersky Scan Engine in online licensing mode

This section describes how to activate Kaspersky Scan Engine in online licensing mode after Kaspersky Scan Engine is installed.

For information on how to do this by using Kaspersky Scan Engine GUI, see section "Licensing settings".

To activate Kaspersky Scan Engine in online licensing mode, you need an activation code. The activation code is provided to you by your technical account manager (TAM).

Your computer must be connected to the Internet to activate Kaspersky Scan Engine in online licensing mode. When you use online licensing mode, Kaspersky Scan Engine transfers to Kaspersky Lab information about the installed copy of Kaspersky Scan Engine and activation code. For a list of the transferred data, see section "Data transferred to Kaspersky Lab in online licensing mode".

To activate Kaspersky Scan Engine in online licensing mode:

  1. Create a text file named "license.txt".
  2. Copy your activation code to the newly created file.

    Make sure that the format of the activation code is correct. The correct format is XXXXX-XXXXX-XXXXX-XXXXX, where X is a number (0-9) or an uppercase Latin letter (A-Z), excluding "I" and "O".

    The file must not contain any other characters.

  3. Save the file.
  4. Open the configuration file that corresponds to the your integration mode:
    • If you are using Kaspersky Scan Engine in HTTP mode, open the kavhttpd.xml configuration file.
    • If you are using Kaspersky Scan Engine in ICAP mode, open the kavicapd.xml configuration file.
  5. Do one of the following:
    • Copy license.txt to the directory specified in the LicensePath element of the configuration file.

      For the list of the other directories that Kaspersky Scan Engine automatically searches for license.txt, see the description of the LicensePath element:

    • If you want to store license.txt in a different directory, specify the path to this directory in the LicensePath element and copy the appinfo.kli file that directory. The appinfo.kli file is located in the /bin directory of the distribution kit.
  6. In the LicensingMode element of the configuration file, specify 2.
  7. Save the configuration file.
  8. Restart the Kaspersky Scan Engine service:

If the activation is successful, Kaspersky Scan Engine will start normally and you will be able to update the anti-virus database. Otherwise Kaspersky Scan Engine will return an error to the command line.

After successful activation in online licensing mode, the licensing information is synchronized with Kaspersky Lab servers. This synchronization can be used, for example, to change the expiration date for the activation code (thus removing the need for a new online activation) or to change the available functionality.

This is done automatically once per day. Maximum time without Internet connection is 15 to 30 days.

In order to synchronize licensing information with Kaspersky Lab servers, your computer must be connected to the Internet.

Page top