Policy
Set maximum number of trusted documents
Microsoft Office 5532.1000
Policy overview
Key metadata and intent for this policy.
This policy setting allows you to specify the maximum number of trust records for trusted documents that can be stored in the registry before the purge task runs. The purge task reduces the number of trusted documents stored in the registry to the value set by the "Set maximum number of trust records to preserve" policy setting. If you enable this policy setting, you can specify the maximum number of trusted documents to be stored in the registry before the purge task runs, with an upper limit of 20,000 documents. For performance reasons, we do not recommend setting this policy setting to the upper limit. If you disable or do not configure this policy setting, the default value of 500 is used for the maximum number of trusted documents that can be stored in the registry before the purge task runs.
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Element | Type | Registry mapping | Constraints & behavior |
|---|---|---|---|
Maximum number: ID L_SetMaximumNumberOfTrustedDocumentsSpinID | decimal | HKCU\software\policies\microsoft\office\16.0\excel\security\trusted documents\maxtrusteddocuments Type REG_DWORD | Range: 0 to 20000 |
Other policies in this category
Explore related policies at the same level.
- UserBlock Excel XLL Add-ins that come from an untrusted sourceWindows 10
- UserBlock macros from running in Office files from the internetWindows7
- UserDisable all application add-insWindows7
- UserDisable Trust Bar Notification for unsigned application add-ins and block themWindows7
- UserMacro Notification SettingsWindows7
- UserPrevent Excel from running XLM macrosWindows7
- UserRequire that application add-ins are signed by Trusted PublisherWindows7
- UserSet maximum number of trust records to preserveWindows7
- UserStore macro in Personal Macro Workbook by defaultWindows7
- UserTrust access to Visual Basic ProjectWindows7
- UserTurn off trusted documentsWindows7
- UserTurn off Trusted Documents on the networkWindows7