Disable additional security checks on VBA library references that may refer to unsafe locations on the local machine
- Policy ID
- L_DisableStrictVbaRefsSecurityPolicy
- Scope
- User Configuration
- Supported on
- At least Windows Server 2016, Windows 10
- Source
- Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
- Category
- Microsoft Office 2016 › Security Settings
Description
This policy setting restricts VBA to checking project library references only against the registry and trusted zones. By default VBA performs additional checks against library paths to prevent loading references from potentially unsafe locations on the local machine as well. It is recommended that this setting remain 0 or unset to allow for the more secure default behavior. Only enable this setting if the default behavior is causing compatibility issues with critical solutions, and then, only to provide time to migrate the solutions to address the less secure behavior, at which point the setting should be turned off again.
Registry
UserHKEY_CURRENT_USER
- disablestrictvbarefssecurityREG_DWORD