Policy
Days of hourly versions not to prune after Days Back
Microsoft Office
Policy overview
Key metadata and intent for this policy.
This policy setting allows you to set the number of hourly versions not to prune after Days Back. With a 2016 format notebook, OneNote will automatically store previous versions of the pages in the notebook, and it will also store a recycle bin for all of the deleted pages and sections. If you enable this policy setting, you may specify the number of days to keep hourly versions after the Days Back setting. This value specifies the number of days past "DaysOfAllVersions" to keep hourly version history information. Users will keep one version per hour for this number of days after "DaysOfAllVersions". If you disable or do not configure this policy setting, OneNote will keep hourly versions for the past 5 days.
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 | Days back ID L_DaysOfHourlyVersionsNotToPruneAfterDaysBackSpinID | decimal | Path software\policies\microsoft\office\16.0\onenote\options\versions Value name daysofhourlyversions Type REG_DWORD | Range: 0 to 365 |