Kaspersky Endpoint Security 12 for Linux

Exporting and importing application settings

July 22, 2024

ID 265009

If Kaspersky Endpoint Security is managed via Kaspersky Security Center, importing settings is not supported.

If Kaspersky Endpoint Security is used in Light Agent mode to protect virtual environments, the settings of the predefined task of the Update type cannot be exported or imported.

Kaspersky Endpoint Security allows you to export and import all application settings for troubleshooting, verifying settings, or simplifying the application's configuration on other user devices. When exporting settings, all application settings (including general Container Scan settings, encrypted connections scan settings, general application settings, and task settings) are saved in a configuration file. You can use this configuration file to import settings into the application.

The application must be launched when settings are imported or exported. After the settings are imported, the application must be restarted.

When importing or exporting settings from an older application version, new settings are set to default values. Importing settings to an older application version is not supported.

To export the application settings, execute the following command:

kesl-control --export-settings --file <configuration file path> [--json]

where:

  • --file <configuration file path> – full path to the configuration file where the application settings will be saved.
  • --json is specified to export the settings to the configuration file in JSON format. If the --json key is not specified, the settings will be exported to an INI file.

To import the application settings from the file, execute the following command:

kesl-control --import-settings --file <configuration file path> [--json]

where:

  • --file <configuration file path> – full path to the configuration file to import the settings into the application.
  • --json is specified to import the settings from the configuration file in JSON format. If the --json key is not specified, the application attempts to import from an INI file. If the import fails, an error is displayed.

When you import application settings from a file, the UseKSN and CloudMode settings are set to No. To start or resume the use of Kaspersky Security Network, set the value of the UseKSN setting to Basic or Extended. To enable cloud mode, you must set the CloudMode setting to Yes. Cloud mode is available if use of KSN is enabled.

After application settings are imported, internal task IDs may change. It is recommended to use task names to manage tasks.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.