Kaspersky Endpoint Security 11 for Windows

PREVENTION. Managing Execution prevention

April 25, 2024

ID 215857

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

Command syntax

prevention disable

prevention /show

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

prevention.enable=true|false

prevention.mode=audit|prevent

prevention.rules

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.