Policy

Allow scripts in one-off Outlook forms

This policy setting controls whether scripts can run in Outlook forms in which the script and layout are contained within the message. If you enable this policy setting, scripts can run in one-off Outlook forms. If you disable or do not configure this policy setting, Outlook does not run scripts in forms in which the script and the layout are contained within the message. Important: This policy setting only applies if the "Outlook Security Mode" policy setting under "Microsoft Outlook 2016\Security\Security Form Settings" is configured to "Use Outlook Security Group Policy."

Policy
Pack Microsoft Office
Category Microsoft Outlook 2016 / Security / Security Form Settings / Custom Form Security
Policy ID a7c744f78444
Internal name L_EnableScriptsInOneOffForms

Registry

Copy registry mappings

HKCU\software\policies\microsoft\office\16.0\outlook\security\enableoneoffformscripts (enabled) = 1
HKCU\software\policies\microsoft\office\16.0\outlook\security\enableoneoffformscripts (disabled) = 0

Policy notes

This policy setting controls whether scripts can run in Outlook forms in which the script and layout are contained within the message. If you enable this policy setting, scripts can run in one-off Outlook forms. If you disable or do not configure this policy setting, Outlook does not run scripts in forms in which the script and the layout are contained within the message. Important: This policy setting only applies if the "Outlook Security Mode" policy setting under "Microsoft Outlook 2016\Security\Security Form Settings" is configured to "Use Outlook Security Group Policy."

Related policies