Kaspersky Endpoint Security 12 for Windows

Scan. Malware Scan

April 25, 2024

ID 213709

Run the Malware Scan (Full Scan) task.

To run the task, the administrator must Allow use of local tasks in the policy.

Command syntax

kescli --opswat Scan "<scan scope>" <action on threat detection>

You can check the completion status of a Malware Scan task by using the GetScanState command and view the date and time when the scan was last completed by using the GetLastScanTime command.

Scan scope


<files to scan>

;-separated list of files and folders. For example, "C:\Program Files (x86)\Example Folder".

Action on threat detection



Notify. If this option is selected, Kaspersky Endpoint Security adds the information about infected files to the list of active threats on detection of these files.


Disinfect, delete if disinfection fails. If this option is selected, the application automatically attempts to disinfect all infected files that are detected. If disinfection fails, the application deletes the files.

This action is selected by default.


kescli --opswat Scan "C:\Documents and Settings\All Users\My Documents;C:\Program Files" 1

See also:

Scanning the computer

Editing the scan scope

SCAN. Malware Scan

Working with active threats

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.