Do not allow Outlook object model scripts to run for shared folders
Supported on: At least Windows Server 2008 R2 or Windows 7
Registry
HKCU
software\policies\microsoft\office\16.0\outlook\security Value name: sharedfolderscript
Enabled: sharedfolderscript = 0
Disabled: sharedfolderscript = 1
Description
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.