Kaspersky Security 11.x for Windows Server

Filling the list of Device Control rules: KAVSHELL DEVCONTROL

June 10, 2022

ID 146714

You can use the KAVSHELL DEVCONTROL command to add rules from an XML file to the Device Control task's rule list according to the selected import rule and to delete all existing rules from the list.

A password might be required to execute the command. To enter the current password, use [/pwd:<password>].

KAVSHELL DEVCONTROL command syntax

KAVSHELL DEVCONTROL /append <path to XML file> | /replace <path to XML file> | /merge <path to XML file> | /clear

KAVSHELL DEVCONTROL command examples

To add rules from an XML file to the Device Control task's existing rules according to Add to existing rules import rule, execute the following command:

KAVSHELL DEVCONTROL /append :c:\rules\devctrlrules.xml

You can use command-line parameters to select the import rule used to add new rules from the specified XML file to the defined list of Device Control rules (see the table below).

KAVSHELL DEVCONTROL command-line parameters/options

Key

Description

/append <path to XML file>

Update the list of Device Control rules based on the specified XML file. Import rule - Add to existing rules (rules with identical settings are duplicated).

/replace <path to XML file>

Update the list of Device Control rules based on the specified XML file. Import rule - Replace existing rules (rules with identical parameters are not added; the rule is added if at least one rule setting is unique).

/merge <path to XML file>

Update the list of Device Control rules based on the specified XML file. Import rule - Merge with existing rules (new rules do not duplicate existing rules).

/clear

Clear the list of Device Control rules.

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.