Enabling and disabling the Anti-Virus engine

August 21, 2023

ID 62603

You can enable or disable the Anti-Virus engine. The Anti-Virus engine is enabled by default.

To enable or disable Anti-Virus engine:

  1. Export the ScanLogic task settings to an XML file using the command:

    # /opt/kaspersky/klms/bin/klms-control \

    --get-settings <ScanLogic task ID> -f <name of the settings file> or

    --get-settings ScanLogic -n -f <name of the settings file>

  2. Open the XML file of the ScanLogic task to edit the task settings.
  3. In the <avSettings> section, specify one of the following values for the <enableAvScan> setting:
    • 1, to enable the Anti-Virus engine;
    • 0, to disable the Anti-Virus engine.

    By default, the value is set to 1.

  4. Save the changes made.
  5. Import the ScanLogic task settings from an XML file using the command:

    # /opt/kaspersky/klms/bin/klms-control \

    --set-settings <ScanLogic task ID> -f <settings file name> or

    --set-settings ScanLogic -n -f <settings file name>

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.