Information
This policy setting controls whether Outlook executes scripts associated with custom forms or folder home pages for shared folders.
If this policy setting is enabled or not configured, Outlook cannot execute any scripts associated with shared folders.
The recommended state for this setting is: Enabled.
Outlook folders can use custom forms or folder home pages containing scripts that access the Outlook object model, adding functionality but also introducing risk if the scripts are malicious.
By default, Outlook blocks these scripts from running in shared folders. Changing this default allows users to inadvertently run dangerous scripts when accessing shared folders, putting their computers and data at risk.
Solution
To establish the recommended configuration via GP, set the following UI path to Enabled :
User Configuration\Administrative Templates\Microsoft Outlook 2016\Outlook Options\Other\Advanced\Do not allow Outlook object model scripts to run for shared folders
Impact:
Enabling this setting enforces the default configuration in Outlook, and therefore is unlikely to cause usability issues for most users.