Cached Exchange Mode Sync Settings
Explanation
This policy setting allows you to configure the amount (by date) of user email Outlook synchronizes locally using Cached Exchange Mode.
If you enable this policy setting, you can specify the time-window of email messages that Outlook synchronizes to users' computers. The options you can select are: 3 days, 1 week, 2 weeks, 1 month, 3 months, 6 months, 1 year, 2 years, 3 years, 5 years, and All.
If you disable or do not configure this policy setting, Outlook synchronizes the last 12 months of email messages to users' computers.
Registry
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\cached mode- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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: outlk16/L_CachedExchangeModeSyncSlider
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\cached mode'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Select Cached Exchange Mode sync settings for profiles
# Possible options:
# Three days = 0 (+ syncwindowsettingdays=3)
# One week = 0 (+ syncwindowsettingdays=7)
# Two weeks = 0 (+ syncwindowsettingdays=14)
# One month = 1 (+ syncwindowsettingdays=0)
# Three months = 3 (+ syncwindowsettingdays=0)
# Six months = 6 (+ syncwindowsettingdays=0)
# One year = 12 (+ syncwindowsettingdays=0)
# Two years = 24 (+ syncwindowsettingdays=0)
# Three years = 36 (+ syncwindowsettingdays=0)
# Five years = 60 (+ syncwindowsettingdays=0)
# All = 0 (+ syncwindowsettingdays=0)
Set-ItemProperty -Path $k -Name 'syncwindowsetting' -Value 12 -Type DWord
Set-ItemProperty -Path $k -Name 'syncwindowsettingdays' -Value 0 -Type DWordDisable
# Disable: outlk16/L_CachedExchangeModeSyncSlider
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": outlk16/L_CachedExchangeModeSyncSlider
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\cached mode'
Remove-ItemProperty -Path $k -Name 'syncwindowsetting' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'syncwindowsettingdays' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Select Cached Exchange Mode sync settings for profilesL_SelectCachedExchangeModeSyncSettings | Drop-down listenum | syncwindowsetting | REG_DWORD | Default choice (UI): #6
|
Application
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.