Set Outlook object model custom actions execution prompt

This policy setting controls whether Outlook prompts users before executing a custom action. Custom actions add functionality to Outlook that can be triggered as part of a rule. Among other possible features, custom actions can be created that reply to messages in ways that circumvent the Outlook model's programmatic send protections.

If you enable this policy setting, you can choose from four options to control how Outlook functions when a custom action is executed that uses the Outlook object model:

* Prompt User
* Automatically Approve
* Automatically Deny
* Prompt user based on computer security. This option enforces the default configuration in Outlook.

If you disable or do not configure this policy setting, when Outlook or another program initiates a custom action using the Outlook object model, users are prompted to allow or reject the action. If this configuration is changed, malicious code can use the Outlook object model to compromise sensitive information or otherwise cause data and computing resources to be at risk. This is the equivalent of choosing Enabled -- Prompt user based on computer security.

Supported on: At least Windows 7

When executing a custom action:


  1. Prompt User
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\16.0\outlook\security
    Value Namepromptoomcustomaction
    Value TypeREG_DWORD
    Value1
  2. Automatically Approve
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\16.0\outlook\security
    Value Namepromptoomcustomaction
    Value TypeREG_DWORD
    Value2
  3. Automatically Deny
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\16.0\outlook\security
    Value Namepromptoomcustomaction
    Value TypeREG_DWORD
    Value0
  4. Prompt user based on computer security
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\16.0\outlook\security
    Value Namepromptoomcustomaction
    Value TypeREG_DWORD
    Value3


outlk16.admx

Administrative Templates (Computers)

Administrative Templates (Users)