Kaspersky Security 11.x for Windows Server

Return codes for the KAVSHELL TASK command

June 10, 2022

ID 146727

Return codes for the KAVSHELL TASK command

Return code

Description

0

Operation completed successfully

-2

Service not running

-3

Permission error

-4

Object not found (task not found)

-5

Invalid command syntax

-6

Invalid operation (for example, task not running, already running, or cannot be paused)

-99

Unknown error

-301

Invalid key

401

Task not running (for the /STATE option)

402

Task already running (for the /STATE option)

403

Task already paused (for the /STATE option)

-404

Operation failed (a change in task status resulted in a crash)

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.