Kaspersky Endpoint Security 11 for Windows

Scan. Virus Scan

April 11, 2023

ID 213709

Run the virus scan task.

Command syntax

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

You can check the status of Full Scan task completion 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. E.g.: C:\Program Files (x86)\Example Folder.

Action on threat detection

 

0

Inform. 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.

1

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

This action is selected by default.

Example:

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. Virus 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.