How to export and import application settings on the command line
The Kaspersky application allows exporting and importing all application settings for troubleshooting, checking settings, or reusing settings on devices of other users. When exporting settings, all application settings (including 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.
To export the application settings, execute the following command:
kfl-control --export-settings --file <
configuration file path
> [--json]
where:
--file <
configuration file path
>
is the 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
options is not specified, the settings will be exported to an INI file.
To import the application settings from the file, execute the following command:
kfl-control --import-settings --file <
configuration file path
> [--json]
where:
--file <
configuration file path
>
is the full path to the configuration file from which you want to import settings into the application.--json
is specified to import the settings from the configuration file in JSON format. If the--json
option 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, UseKSN
is set to Yes
.
After application settings are imported, internal task IDs may change. It is recommended to use task names to manage tasks.