Open in the explorer

Do not sync on metered connections

Ne pas synchroniser en cas de connexion limitée

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Sync your settings FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Synchroniser vos paramètres
Supported on
At least Windows Server 2012, Windows 8 or Windows RT FR: Au minimum Windows Server 2012, Windows 8 ou Windows RT
ADMX file
SettingSync.admx
Internal name
SettingSync/DisableSyncOnPaidNetwork

Explanation

Prevent syncing to and from this PC when on metered Internet connections. This turns off and disables "sync your settings on metered connections" switch on the "sync your settings" page in PC Settings.

If you enable this policy setting, syncing on metered connections will be turned off, and no syncing will take place when this PC is on a metered connection.

If you do not set or disable this setting, syncing on metered connections is configurable by the user.

French text from Windows 11 26H2

Empêche la synchronisation avec cet ordinateur en cas de connexions Internet limitées. Cela désactive l’interrupteur « Synchroniser vos paramètres via des connexions limitées » dans la page « Synchroniser vos paramètres » des Paramètres du PC.

Si vous activez ce paramètre de stratégie, la synchronisation à travers des connexions limitées est désactivée.

Si vous ne définissez pas ou si vous désactivez ce paramètre, la synchronisation à travers des connexions limitées est configurable par l’utilisateur.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\SettingSync
Value name
DisableSyncOnPaidNetwork
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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: SettingSync/DisableSyncOnPaidNetwork
$k = 'HKLM:\Software\Policies\Microsoft\Windows\SettingSync'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableSyncOnPaidNetwork' -Value 1 -Type DWord

Disable

# Disable: SettingSync/DisableSyncOnPaidNetwork
$k = 'HKLM:\Software\Policies\Microsoft\Windows\SettingSync'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableSyncOnPaidNetwork' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": SettingSync/DisableSyncOnPaidNetwork
$k = 'HKLM:\Software\Policies\Microsoft\Windows\SettingSync'
Remove-ItemProperty -Path $k -Name 'DisableSyncOnPaidNetwork' -ErrorAction SilentlyContinue

Availability