Enabling and disabling use of Kaspersky Security Network using the command line
April 15, 2024
ID 198040
To enable use of Kaspersky Security Network in extended mode, execute the following command:
kesl-control --set-app-settings UseKSN=Extended --accept-ksn
To enable use of Kaspersky Security Network in standard mode, execute the following command:
kesl-control --set-app-settings UseKSN=Basic --accept-ksn
To disable use of Kaspersky Security Network, execute the following command:
kesl-control --set-app-settings UseKSN=No
To enable or disable use of Kaspersky Security Network with a configuration file, execute the following command:
kesl-control --set-app-settings --file <
configuration file name
> [--accept-ksn]
To enable the use of Kaspersky Security Network, execute the following command: kesl-control --set-settings
with the --accept-ksn
option.
If Kaspersky Endpoint Security installed on a client device runs under a policy that was assigned in Kaspersky Security Center, the value of the UseKSN
setting can only be modified by using Kaspersky Security Center. When Kaspersky Endpoint Security installed on a client device stops running under a policy, the following value is assigned to the setting: UseKSN=No
.
The file ksn_license.<language ID> containing the text of the Kaspersky Security Network Statement is located in the directory /opt/kaspersky/kesl/doc/.