Kaspersky Security 11.x for Windows Server

Commands

June 10, 2022

ID 146704

You can perform basic Kaspersky Security for Windows Server management commands from the command line of the protected device using the Command Line utility component, which is included in the Kaspersky Security for Windows Server software components group.

You can use commands to manage only those functions accessible to you based on the permissions assigned to you in Kaspersky Security for Windows Server.

Certain Kaspersky Security for Windows Server commands are executed in the following modes:

  • Synchronous mode: control returns to the Console only after the command is complete.
  • Asynchronous mode: control returns to the Console immediately after the command is started.

To interrupt a command being executed in synchronous mode,

press the Ctrl+C keyboard shortcut.

Follow these rules when entering Kaspersky Security for Windows Server commands:

  • Enter modifiers and commands using upper and lower case.
  • Separate modifiers with a space.
  • If the path of a file/folder specified as a value includes a space, enclose the path in quotes, for example: "C:\TEST\test cpp.exe".
  • If necessary, you can use wildcards in the filename or path, for example: "C:\Temp\Temp*\", "C:\Temp\Temp???.doc", "C:\Temp\Temp*.doc".

You can use the command line to perform every operation required for management and administration of Kaspersky Security for Windows Server (see the table below).

Kaspersky Security for Windows Server commands

Command

Description

KAVSHELL APPCONTROL

Update the rule list according to the selected import rule.

KAVSHELL APPCONTROL /CONFIG

Set the operating mode of the Applications Launch Control task

KAVSHELL APPCONTROL /GENERATE

Start the Rule Generator for Applications Launch Control task.

KAVSHELL VACUUM

Defragment Kaspersky Security for Windows Server log files.

KAVSHELL PASSWORD

Manage password protection settings.

KAVSHELL HELP

Display Kaspersky Security for Windows Server command help.

KAVSHELL START

Start the Kaspersky Security Service.

KAVSHELL STOP

Stop the Kaspersky Security Service.

KAVSHELL SCAN

Create and start a temporary On-Demand Scan task with the scan scope and security settings specified by the command-line options.

KAVSHELL SCANCRITICAL

Start the Critical Areas Scan local system task.

KAVSHELL TASK

Start, pause / resume, stop the specified task asynchronously, returns the current task status / statistics.

KAVSHELL RTP

Start or stop all Real-Time Server Protection tasks.

KAVSHELL UPDATE

Start the Database Update task with the settings specified by the command-line options.

KAVSHELL ROLLBACK

Roll back the databases to the previous version.

KAVSHELL LICENSE

Add or delete the keys and activation codes. Display information about the added keys and activation codes.

KAVSHELL TRACE

Enable or disable tracing. Manage tracing settings.

KAVSHELL DUMP

Enable or disable creation of dump files when Kaspersky Security for Windows Server processes terminate abnormally.

KAVSHELL IMPORT

Import general Kaspersky Security for Windows Server settings, functions, and tasks from a configuration file.

KAVSHELL EXPORT

Export all Kaspersky Security for Windows Server settings and existing tasks to a configuration file.

KAVSHELL DEVCONTROL

Add to the list of generated device control rules according to selected method.

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.