Turn off Trusted Documents for VBA macros

此語言沒有官方文字 (顯示英文原文)

原則 ID
L_BlockVBAMacroTrustedDocument
適用範圍
使用者設定
支援的作業系統
至少需要 Windows Server 2016、Windows 10
來源
Microsoft 365 Apps / Office Administrative Templates (版本 5568.1000)
類別
Microsoft Office 2016 › 安全性設定

說明

This policy setting allows you to turn off the Trusted Documents feature for documents containing VBA macros.

If you enable this policy setting, users will always see security notifications for VBA macros in documents. When users click "Enable Content" for VBA macros, Office will not create a trust record for the document, ensuring that the user is prompted every time they open the document.

If you disable or don't configure this policy setting, the Trusted Documents feature allows users to always allow VBA macros in a document so that the user is not prompted the next time they open that document. Trusted documents are exempt from security notifications.

Note: Enabling this policy setting does not clear existing trusted documents that were previously trusted.

登錄

使用者HKEY_CURRENT_USER
  • blockvbamacrotrusteddocumentREG_DWORD

同一類別的其他原則

檢視此類別的所有原則 (50)