GPO tool

Group Policy made searchable

A free ADMX browser or comparison tool for IT administrators.Search policies, find registry keys, and see exactly what each setting writes to the Windows Registry. Or compare two GPO backups to see exactly what has changed between them.

Select a product
  • Select a category.

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 2016SecuritySecurity Form Settings" is configured to "Use Outlook Security Group Policy."

Registry Information

VendorMicrosoft
ProductMicrosoft Outlook 2016
CategoryMicrosoft Outlook 2016 › Security › Security Form Settings › Custom Form Security
Applies toUser Configuration
Supported onWindows7
Registry Key[HKCU]softwarepoliciesmicrosoftoffice16.0outlooksecurity
Value Nameenableoneoffformscripts
TypeREG_DWORD
Enabled value1
Disabled value0

Registry File (.reg)

Windows Registry Editor Version 5.00

; Enable the policy
[HKEY_CURRENT_USERsoftwarepoliciesmicrosoftoffice16.0outlooksecurity]
"enableoneoffformscripts"=dword:00000001

; Disable the policy
[HKEY_CURRENT_USERsoftwarepoliciesmicrosoftoffice16.0outlooksecurity]
"enableoneoffformscripts"=dword:00000000

PowerShell

# Enable the policy
Set-ItemProperty -Path "HKCU:softwarepoliciesmicrosoftoffice16.0outlooksecurity" -Name "enableoneoffformscripts" -Value 1 -Type DWord

# Disable the policy
Set-ItemProperty -Path "HKCU:softwarepoliciesmicrosoftoffice16.0outlooksecurity" -Name "enableoneoffformscripts" -Value 0 -Type DWord