Open in the explorer

Cached Exchange Mode Sync Settings

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Microsoft Outlook 2016 › Account Settings › Exchange › Cached Exchange Mode
Supported on
At least Windows Server 2008 R2 or Windows 7
ADMX file
outlk16.admx
Internal name
outlk16/L_CachedExchangeModeSyncSlider

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 DWord

Disable

# 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 SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Select Cached Exchange Mode sync settings for profilesL_SelectCachedExchangeModeSyncSettingsDrop-down listenumsyncwindowsettingREG_DWORD
Default choice (UI): #6
LabelValue
Three daysREG_DWORD = 0
software\policies\microsoft\office\16.0\outlook\cached mode › syncwindowsettingdays : REG_DWORD = 3
One weekREG_DWORD = 0
software\policies\microsoft\office\16.0\outlook\cached mode › syncwindowsettingdays : REG_DWORD = 7
Two weeksREG_DWORD = 0
software\policies\microsoft\office\16.0\outlook\cached mode › syncwindowsettingdays : REG_DWORD = 14
One monthREG_DWORD = 1
software\policies\microsoft\office\16.0\outlook\cached mode › syncwindowsettingdays : REG_DWORD = 0
Three monthsREG_DWORD = 3
software\policies\microsoft\office\16.0\outlook\cached mode › syncwindowsettingdays : REG_DWORD = 0
Six monthsREG_DWORD = 6
software\policies\microsoft\office\16.0\outlook\cached mode › syncwindowsettingdays : REG_DWORD = 0
One yearREG_DWORD = 12
software\policies\microsoft\office\16.0\outlook\cached mode › syncwindowsettingdays : REG_DWORD = 0
Two yearsREG_DWORD = 24
software\policies\microsoft\office\16.0\outlook\cached mode › syncwindowsettingdays : REG_DWORD = 0
Three yearsREG_DWORD = 36
software\policies\microsoft\office\16.0\outlook\cached mode › syncwindowsettingdays : REG_DWORD = 0
Five yearsREG_DWORD = 60
software\policies\microsoft\office\16.0\outlook\cached mode › syncwindowsettingdays : REG_DWORD = 0
AllREG_DWORD = 0
software\policies\microsoft\office\16.0\outlook\cached mode › syncwindowsettingdays : REG_DWORD = 0

Application

Microsoft 365 Apps / Office (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.