[Deprecated] Don’t AutoSave files in Excel
Explanation
Important: This policy setting will be removed in a future release and will no longer be supported. Please use the "Turn off AutoSave by default in Excel" policy setting instead.
This policy setting controls whether files can be AutoSaved in the desktop version of Excel after Excel has been updated with new features. By default, Auto Saving files is Enabled.
If you enable this policy setting files will not be able to be AutoSaved.
If you disable or don’t configure this policy setting files will be able to be AutoSaved.
Note: There are separate policy settings for Word, Excel, and PowerPoint.
Registry
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\excel- Value name
dontautosave
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: office16/L_DontAutoSaveInformationExcel
$k = 'HKCU:\software\policies\microsoft\office\16.0\excel'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'dontautosave' -Value 1 -Type DWordDisable
# Disable: office16/L_DontAutoSaveInformationExcel
$k = 'HKCU:\software\policies\microsoft\office\16.0\excel'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'dontautosave' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": office16/L_DontAutoSaveInformationExcel
$k = 'HKCU:\software\policies\microsoft\office\16.0\excel'
Remove-ItemProperty -Path $k -Name 'dontautosave' -ErrorAction SilentlyContinueApplication
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.