Mode

March 5, 2024

ID 201041

Specifies a cleaning mode

Path

KAVScanningSettings > Mode

Attributes

This element has no attributes.

Value

This is a string value. This is a mandatory parameter.

Possible values:

  • KAV_SKIP

    If malware is detected while scanning an object, Kaspersky Scan Engine will not try to disinfect or delete the object. The infected object will be skipped.

    Specify this value if you want to use scanmemory mode.

  • KAV_DELETE

    If malware is detected while scanning an object, Kaspersky Scan Engine will try to delete the object. If deletion is not possible, the infected object will be skipped.

  • KAV_CLEAN_DELETE

    If malware is detected while scanning an object, Kaspersky Scan Engine will try to disinfect the object. If the disinfection attempt fails, or disinfection is not possible for specific malware, the object will be deleted. If deletion is not possible, the infected object will be skipped.

    The above actions will be performed only if Kaspersky Anti-Virus Engine detects a threat while processing a scanfile request. In all other cases, Kaspersky Scan Engine will only send a notification if the specified actions can be applied to the detected object.

  • KAV_CLEAN_SKIP

    If malware is detected while scanning an object, Kaspersky Scan Engine will try to disinfect the object. If the disinfection attempt fails, the infected object will be skipped.

The default value is KAV_SKIP.

Example

The following is an example of this element.

<Mode>KAV_SKIP</Mode>

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.