KESCLI commands

KESCLI commands let you receive information about the state of computer protection using the OPSWAT component, and let you perform standard tasks such as virus scans and database updates.

You can view the list of KESCLI commands by using the --help command or by using the abbreviated command -h.

To manage Kaspersky Endpoint Security from the command line:

  1. Run the command line interpreter (cmd.exe) as an administrator.
  2. Go to the folder where the Kaspersky Endpoint Security executable file is located.
  3. To execute a command, enter:

    kescli <command> [options]

As a result, Kaspersky Endpoint Security will execute the command (see figure below.)


Managing the application from the command line

In this section

Scan. Virus Scan

GetScanState. Scan completion status

GetLastScanTime. Determining the scan completion time

GetThreats. Obtaining data on detected threats

UpdateDefinitions. Updating databases and application software modules

GetDefinitionState. Determining the update completion time

EnableRTP. Enabling protection

GetRealTimeProtectionState. File Threat Protection status

Version. Identifying the application version

Page top