Policy
Number of days to keep local document versions in the local cache
Microsoft Office
Policy overview
Key metadata and intent for this policy.
This policy controls how long local document versions are kept in the local cache. The default setting is 30 days and applies to Word, Excel, and PowerPoint. If you enable this policy setting, local document versions will be kept for the number of days specified, after which they’ll be deleted from the local cache. You can configure the setting with a value from 1 to 30. If you disable or don’t configure this policy setting, local document versions will be kept for 30 days, after which they’ll be deleted from the local cache.
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.
| Scope | Element | Type | Registry mapping | Constraints & behavior | Copy |
|---|---|---|---|---|---|
| User | Number of days ID L_AgeOutPolicyLocalVersioningDecimal | decimal | Path software\policies\microsoft\office\16.0\common\fileio Value name ageoutpolicylocalversioning Type REG_DWORD | Range: 1 to 30 |