Policy
Do not prune versions over time
This policy setting allows you to turn off OneNote's automatic pruning. 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, OneNote will not prune previous versions. If you disable or do not configure this policy setting, OneNote will prune previous versions. The default value is to prune versions over time. You should only enable this policy setting if OneNote should not prune previous versions.
149cf5b2741d L_DoNotPruneVersionsOverTime Registry
Copy registry mappings
HKCU\software\policies\microsoft\office\16.0\onenote\options\versions\pruneversionsovertime (enabled) = 0
HKCU\software\policies\microsoft\office\16.0\onenote\options\versions\pruneversionsovertime (disabled) = 1 Policy notes
This policy setting allows you to turn off OneNote's automatic pruning. 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, OneNote will not prune previous versions. If you disable or do not configure this policy setting, OneNote will prune previous versions. The default value is to prune versions over time. You should only enable this policy setting if OneNote should not prune previous versions.