Policy

Keep the last AutoSaved versions of files for the next session

This policy setting determines whether Excel keeps the last AutoSaved version of a file if a user closes a file without saving it. (Note: AutoSave applies only when AutoRecover is enabled.) If you enable or do not configure this policy setting, Excel keeps the last AutoSaved version of the file and makes it available to the user the next time the file is opened if the user closes a file without saving it. If you disable this policy setting, Excel does not keep the last AutoSaved version of the file if the user closes a file without saving it.

Policy
PackMicrosoft Office
CategoryMicrosoft Excel 2016 / Excel Options / Save
Policy ID304232f059cb
Internal nameL_KeepLastAutoSavedVersions

Registry

Copy registry mappings

HKCU\software\policies\microsoft\office\16.0\excel\options\keepunsavedchanges (enabled) = 1
HKCU\software\policies\microsoft\office\16.0\excel\options\keepunsavedchanges (disabled) = 0

Policy notes

This policy setting determines whether Excel keeps the last AutoSaved version of a file if a user closes a file without saving it. (Note: AutoSave applies only when AutoRecover is enabled.) If you enable or do not configure this policy setting, Excel keeps the last AutoSaved version of the file and makes it available to the user the next time the file is opened if the user closes a file without saving it. If you disable this policy setting, Excel does not keep the last AutoSaved version of the file if the user closes a file without saving it.

Related policies