Number of days to keep local document versions in the local cache

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.

Supported on: At least Windows 7

Number of days

Registry HiveHKEY_CURRENT_USER
Registry Pathsoftware\policies\microsoft\office\16.0\common\fileio
Value Nameageoutpolicylocalversioning
Value TypeREG_DWORD
Default Value
Min Value1
Max Value30

office16.admx

Administrative Templates (Computers)

Administrative Templates (Users)