Policy

Only trust VBA macros that use V3 signatures

This policy setting controls whether only VBA macros that use V3 signatures can be trusted and run in the application. If you enable this policy setting, only VBA macros that use V3 signatures can be trusted and run in the application. If you enable this policy setting, we also recommend that you enable the “VBA Macro Notification Settings” policy setting for the application and then select the “Disable all except digitally signed macros” option. Note: Before enabling this policy setting, you should upgrade your existing VBA macros to use V3 signatures. If you disable or don’t configure this policy setting, VBA macros signed with legacy signature schemes can be trusted and run in the application.

Policy
Pack Microsoft Office
Category Microsoft Office 2016 / Security Settings / Trust Center
Policy ID d64f4700959b
Internal name L_OnlyTrustVBASignatureV3

Registry

Copy registry mappings

HKCU\software\policies\microsoft\vba\security\onlytrustvbasignaturev3 (enabled) = 1
HKCU\software\policies\microsoft\vba\security\onlytrustvbasignaturev3 (disabled) = 0

Policy notes

This policy setting controls whether only VBA macros that use V3 signatures can be trusted and run in the application. If you enable this policy setting, only VBA macros that use V3 signatures can be trusted and run in the application. If you enable this policy setting, we also recommend that you enable the “VBA Macro Notification Settings” policy setting for the application and then select the “Disable all except digitally signed macros” option. Note: Before enabling this policy setting, you should upgrade your existing VBA macros to use V3 signatures. If you disable or don’t configure this policy setting, VBA macros signed with legacy signature schemes can be trusted and run in the application.

Related policies