Commands
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 |
---|---|
Update the rule list according to the selected import rule. | |
Set the operating mode of the Applications Launch Control task | |
Start the Rule Generator for Applications Launch Control task. | |
Defragment Kaspersky Security for Windows Server log files. | |
KAVSHELL PASSWORD | Manage password protection settings. |
Display Kaspersky Security for Windows Server command help. | |
Start the Kaspersky Security Service. | |
Stop the Kaspersky Security Service. | |
Create and start a temporary On-Demand Scan task with the scan scope and security settings specified by the command-line options. | |
Start the Critical Areas Scan local system task. | |
Start, pause / resume, stop the specified task asynchronously, returns the current task status / statistics. | |
Start or stop all Real-Time Server Protection tasks. | |
Start the Database Update task with the settings specified by the command-line options. | |
Roll back the databases to the previous version. | |
Add or delete the keys and activation codes. Display information about the added keys and activation codes. | |
Enable or disable tracing. Manage tracing settings. | |
Enable or disable creation of dump files when Kaspersky Security for Windows Server processes terminate abnormally. | |
Import general Kaspersky Security for Windows Server settings, functions, and tasks from a configuration file. | |
Export all Kaspersky Security for Windows Server settings and existing tasks to a configuration file. | |
Add to the list of generated device control rules according to selected method. |