Kaspersky Endpoint Security 12 for Windows

PREVENTION. Managing Execution prevention

25 April 2024

ID 215857

Disable Execution Prevention or show the current component settings, including the list of execution prevention rules.

Command syntax

avp.com prevention disable

avp.com prevention /show

Upon executing the prevention /show command, you will get the following response:




id: <rule ID>

target: script|process|document

md5: <MD5 hash of the file>

sha256: <SHA256 hash of the file>

pattern: <path to the object>

case-sensitive: true|false

Command return values:

  • -1 means the command is not supported by the version of the application that is installed on the computer.
  • 0 means the command was executed successfully.
  • 1 means a mandatory argument was not passed to the command.
  • 2 means a general error occurred.
  • 4 means there was a syntax error.
  • 9 – wrong operation (for example, an attempt to disable the component when it is already disabled).

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.