Managing application components and tasks

Command syntax:

avp.com <command> <profile|task_name> [/R[A]:<report_file>]

avp.com STOP <profile|task_name> /password=<your_password> [/R[A]:<report_file>]

Descriptions of commands and settings are given in the table below.

<command>

You can manage Kaspersky Anti-Virus components and tasks from the command prompt with the following commands:

START – start a protection component or a task.

STOP – stop a protection component or a task.

STATUS – display the current status of a protection component or a task.

STATISTICS – output statistics to the screen for a protection component or a task.

Note that the STOP command will not be accepted without a password.

<profile|task_name>

You can specify any protection component of Kaspersky Anti-Virus, component module, on-demand scan or update task as the value for the <profile> setting (the standard values used by the application are shown in the table below).

You can specify the name of any on-demand scan or update task as the value for the <task_name> setting.

<your_password>

Application password specified in the interface.

/R[A]:<report_file>

/R:<report_file> – log only important events in the report.

/RA:<report_file> – log all events in the report.

You can use an absolute or relative path to the file. If the setting is not defined, scan results are displayed on screen, and all events are shown.

In the <profile> setting, you should specify one of the values given in the table below.

RTP

All protection components.

The avp.com START RTP command runs all the protection components if the protection has been completely disabled.

If the component has been disabled using the STOP command from the command prompt, it is not launched by the avp.com START RTP command. In order to start it, you should execute the avp.com START <profile> command, with the name of the specific protection component entered for <profile>. For example, avp.com START FM.

pdm

Proactive Defense.

FM

File Anti-Virus.

EM

Mail Anti-Virus.

WM

Web Anti-Virus.

Values for Web Anti-Virus subcomponents:

httpscan (HTTP) – scan HTTP traffic;

sc – scan scripts.

IM

IM Anti-Virus.

Updater

Update.

Rollback

Rolling back the last update.

Scan_My_Computer

Computer scan.

Scan_Objects

Custom Scan.

Scan_Quarantine

Quarantine scan.

Scan_Startup (STARTUP)

Scanning startup objects.

Scan_Vulnerabilities (SECURITY)

Vulnerability Scan.

Components and tasks started from the command prompt are run with the settings configured in the application interface.

Examples:

To enable File Anti-Virus, enter the following command:

avp.com START FM

To stop computer scan, enter the following command:

avp.com STOP Scan_My_Computer /password=<your_password>

Managing application components and tasks