en-US windows computer

Configure Background Sync

Verified with Windows 11 25H2 — updated on July 30, 2026

Windows 11 25H2

Supported on: At least Windows Server 2008 R2 or Windows 7

Path in the GPO console

Computer Configuration\Administrative Templates\Network\Offline Files

Description

This policy setting controls when background synchronization occurs while operating in slow-link mode, and applies to any user who logs onto the specified machine while this policy is in effect. To control slow-link mode, use the "Configure slow-link mode" policy setting. If you enable this policy setting, you can control when Windows synchronizes in the background while operating in slow-link mode. Use the 'Sync Interval' and 'Sync Variance' values to override the default sync interval and variance settings. Use 'Blockout Start Time' and 'Blockout Duration' to set a period of time where background sync is disabled. Use the 'Maximum Allowed Time Without A Sync' value to ensure that all network folders on the machine are synchronized with the server on a regular basis. You can also configure Background Sync for network shares that are in user selected Work Offline mode. This mode is in effect when a user selects the Work Offline button for a specific share. When selected, all configured settings will apply to shares in user selected Work Offline mode as well. If you disable or do not configure this policy setting, Windows performs a background sync of offline folders in the slow-link mode at a default interval with the start of the sync varying between 0 and 60 additional minutes. In Windows 7 and Windows Server 2008 R2, the default sync interval is 360 minutes. In Windows 8 and Windows Server 2012, the default sync interval is 120 minutes.

Registry

HKLM Software\Policies\Microsoft\Windows\NetCache

Value name: BackgroundSyncEnabled

Enabled: BackgroundSyncEnabled = 1

Disabled: BackgroundSyncEnabled = 0

More options available

Options

Sync Interval (minutes)
BackgroundSyncPeriodMin decimal - range 1-1440 - default: 360
Sync Variance (minutes)
BackgroundSyncMaxStartMin decimal - range 0-3600 - default: 60
Maximum Allowed Time Without A Sync (minutes)
BackgroundSyncIgnoreBlockOutAfterMin decimal - range 0-4294967295 - default: 0
Blockout Start Time (HHMM)
BackgroundSyncBlockOutStartTime decimal - range 0-2400 - default: 0
Blockout Duration (minutes)
BackgroundSyncBlockOutDurationMin decimal - range 0-1440 - default: 0
Enable Background Sync for shares in user selected "Work Offline" mode
BackgroundSyncEnabledForForcedOffline boolean

MDM / Intune (CSP)

./Device/Vendor/MSFT/Policy/Config/ADMX_OfflineFiles/Pol_BackgroundSyncSettings
Device Since Windows 10, version 2004 with KB5005101 [10.0.19041.1202] and later | Windows 10, version 20H2 with KB5005101 [10.0.19042.1202] and later | Windows 10, version 21H1 with KB5005101 [10.0.19043.1202] and later | Windows 11, version 21H2 [10.0.22000] and later Official mapping (Microsoft Learn)

Microsoft Learn documentation Mapping data: Microsoft Learn (CC BY 4.0)

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Configure Background Sync
; State: Enabled
; Supported on: At least Windows Server 2008 R2 or Windows 7

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache]
"BackgroundSyncEnabled"=dword:00000001
"BackgroundSyncPeriodMin"=dword:00000168
"BackgroundSyncMaxStartMin"=dword:0000003c
"BackgroundSyncIgnoreBlockOutAfterMin"=dword:00000000
"BackgroundSyncBlockOutStartTime"=dword:00000000
"BackgroundSyncBlockOutDurationMin"=dword:00000000
"BackgroundSyncEnabledForForcedOffline"=dword:00000000
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Configure Background Sync
# State: Enabled
# Supported on: At least Windows Server 2008 R2 or Windows 7

$path = 'HKLM:\Software\Policies\Microsoft\Windows\NetCache'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'BackgroundSyncEnabled' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'BackgroundSyncPeriodMin' -Value 360 -Type DWord
Set-ItemProperty -Path $path -Name 'BackgroundSyncMaxStartMin' -Value 60 -Type DWord
Set-ItemProperty -Path $path -Name 'BackgroundSyncIgnoreBlockOutAfterMin' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'BackgroundSyncBlockOutStartTime' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'BackgroundSyncBlockOutDurationMin' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'BackgroundSyncEnabledForForcedOffline' -Value 0 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview