Do not allow Outlook object model scripts to run for shared folders
Information
This policy setting controls whether Outlook executes scripts associated with custom forms or folder home pages for shared folders. If you enable this policy setting, Outlook cannot execute any scripts associated with shared folders, overriding any configuration changes on users' computers. If you disable this policy setting, Outlook will automatically run any scripts associated with custom forms or folder home pages for shared folders. If you do not configure this policy setting, the behavior is the equivalent of setting the policy to Enabled.
Solution
Policy Path: Microsoft Outlook 2016\Outlook Options\Other\Advanced Policy Setting Name: Do not allow Outlook object model scripts to run for shared folders