Kaspersky Security 11.x for Windows Server

Defragmenting Kaspersky Security for Windows Server log files: KAVSHELL VACUUM

June 10, 2022

ID 146719

You can use the KAVSHELL VACUUM command to defragment the application's log files. This helps avoid system and application errors due to storing a large number of log files containing application events.

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

We recommend that you apply the KAVSHELL VACUUM command to optimize log file storage in case On-Demand Scan and update tasks are run frequently. This command causes Kaspersky Security for Windows Server update the logical structure of the application's log files stored on a protected device at the specified path.

By default, the application's log files are stored at "C:\ProgramData\Kaspersky Lab\Kaspersky Security for Windows Server\11\Reports". If you have manually specified another path for storing logs, the KAVSHELL VACUUM command defragments the files in the folder specified in the Kaspersky Security for Windows Server log settings.

Large file sizes increase the time required for the KAVSHELL VACUUM command to complete the defragment operation.

The Real-Time Protection and Server Control tasks are not available while the KAVSHELL VACUUM command is executed. The defragmentation process restricts access to the Kaspersky Security for Windows Server log and prevents event logging. To avoid a reduction in protection, we recommend that you plan when you will run the KAVSHELL VACUUM command.

To defragment the Kaspersky Security for Windows Server log files, execute the following command:

KAVSHELL VACUUM

This command requires Local System account rights.

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.