Working with the application from the command line
You can work with Kaspersky Anti-Virus using the command line. The capability is provided to perform the following operations:
- activate the application;
- start and stop the application;
- start and stop application components;
- start and stop the tasks;
- obtain information on the current status of components and tasks as well as their statistics;
- start and stop virus scan tasks;
- scan selected objects;
- update databases and software modules, roll back updates;
- export and import security settings;
- open help files using the command line syntax in general and for individual commands.
Command prompt syntax:
avp.com <command> [options]
You should access the application from the command line from the application installation folder, or by specifying the full path to avp.com.
The list of commands used to control the application and its components is provided in the table below.
|
Starts a component or a task. |
STOP |
Stops a component or a task. The command can only be executed if the password assigned via the Kaspersky Anti-Virus interface is entered. |
STATUS |
Displays the current component or task status on screen. |
|
Displays statistics for the component or task on screen. |
HELP |
Displays the list of commands and command syntax information. |
SCAN |
Object scan for viruses. |
UPDATE |
Starts the application update. |
ROLLBACK |
Rolls back to the last Kaspersky Anti-Virus update made. The command can only be executed if the password assigned via the application interface is entered. |
EXIT |
Closes the application. The command can only be executed if the password assigned via the application interface is entered. |
|
Import application protection settings. The command can only be executed if the password assigned via the Kaspersky Anti-Virus interface is entered. |
EXPORT |
Exports application protection settings. |
Each command requires its own specific set of settings.
In this section: |