Open in the explorer

Synchronizing data in shared folders

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

Explanation

This setting controls the number of days that elapses without a user accessing an Outlook folder before Outlook stops synchronizing the folder with Exchange. For example, say this option is set to 45. User A opens User B's calendar in Outlook, and then does not click on it again for 45 days. Outlook stops synchronizing the data with Exchange and the calendar is no longer up-to-date. The local copy of the data is removed from the OST file. If User A then clicks on the User B calendar 90 days later, Outlook synchronizes the calendar data and starts the clock again for 45 days.

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_Synchronizingdatainsharedfolders
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\cached mode'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Number of days
Set-ItemProperty -Path $k -Name 'sharedfolderageoutdays' -Value 45 -Type DWord  # minimum 0

Disable

# Disable: outlk16/L_Synchronizingdatainsharedfolders
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": outlk16/L_Synchronizingdatainsharedfolders
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\cached mode'
Remove-ItemProperty -Path $k -Name 'sharedfolderageoutdays' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Number of daysL_NumberOfDaysNumeric boxdecimalsharedfolderageoutdaysREG_DWORD
Min: 0 · Default (UI): 45

Application

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

Official templates downloaded on November 12, 2026.