Managing application tasks using the command line
January 23, 2024
ID 245737
You can manage the application operation using tasks locally on the device (using the command line or configuration files), as well as using Administration Console or Kaspersky Security Center Web Console.
There are two types of tasks for working with the application:
- Predefined task — a task created during installation of the application. Predefined tasks cannot be created or deleted, but you can modify the settings of these tasks.
If the application is used in Light Agent mode to protect virtual environments, the settings of the predefined Update task cannot be edited.
- A user task that you can create or delete on your own. Depending on the application usage mode, you can create the following types of tasks:
- Standalone mode: ODS, Update, Rollback, ODFIM, ContainerScan, and InventoryScan
- Light Agent mode for protecting virtual environments: ODS, ODFIM, ContainerScan, and InventoryScan
Task ID is an identifier that the application assigns to the task at creation. IDs for user tasks are starting from 100. All tasks (including deleted tasks) have unique IDs. The application does not reuse the identifiers of the deleted tasks. The identifier of a new task is the next successive number to the identifier of the latest created task.
Task names are not case-sensitive.
The application's predefined tasks are listed in the table.
Application tasks
Task | Task name in the command line | Task ID | Task type |
---|---|---|---|
File_Threat_Protection | 1 | OAS | |
Scan_My_Computer | 2 | ODS | |
Scan_File | 3 | ODS | |
Critical_Areas_Scan | 4 | ODS | |
Update | 6 | Update | |
Rollback | 7 | Rollback | |
License | 9 | License | |
Backup | 10 | Backup | |
System_Integrity_Monitoring | 11 | OAFIM | |
Firewall_Management | 12 | Firewall | |
Anti_Cryptor | 13 | AntiCryptor | |
Web_Threat_Protection | 14 | WTP | |
Device_Control | 15 | DeviceControl | |
Removable_Drives_Scan | 16 | RDS | |
Network_Threat_Protection | 17 | NTP | |
Container_Scan | 18 | ContainerScan | |
Custom_Container_Scan | 19 | ContainerScan | |
Behavior_Detection | 20 | BehaviorDetection | |
Application_Control | 21 | AppControl | |
Inventory_Scan | 22 | InventoryScan | |
Kaspersky Endpoint Detection and Response (KATA) Integration | KATAEDR | 24 | KATAEDR |
You can perform the following actions with tasks:
- start and stop tasks.
- create and delete user tasks.
- Edit task settings.
The set of available actions for a task depends on the type of task and the application usage mode.