Do not sync
Ne pas synchroniser
Explanation
Prevent syncing to and from this PC. This turns off and disables the "sync your settings" switch on the "sync your settings" page in PC Settings.
If you enable this policy setting, "sync your settings" will be turned off, and none of the "sync your setting" groups will be synced on this PC.
Use the option "Allow users to turn syncing on" so that syncing it turned off by default but not disabled.
If you do not set or disable this setting, "sync your settings" is on by default and configurable by the user.
Empêche la synchronisation avec cet ordinateur. Cela désactive l’interrupteur « Synchroniser vos paramètres » dans la page homonyme des Paramètres du PC.
Si vous activez ce paramètre de stratégie, les options « Synchroniser vos paramètres » sont alors désactivées et aucun de ces groupes n’est synchronisé sur l’ordinateur.
Utilisez l’option « Autoriser les utilisateurs à activer la synchronisation » pour que la fonction soit désactivée par défaut mais définie.
Si vous ne définissez pas ou si vous désactivez ce paramètre, les options « Synchroniser vos paramètres » sont activées par défaut et configurables par l’utilisateur.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\SettingSync- Value name
DisableSettingSync
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 2 |
| Disabled | REG_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/DisableSettingSync
$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 'DisableSettingSync' -Value 2 -Type DWord
# Allow users to turn syncing on.
# unchecked: 1
Set-ItemProperty -Path $k -Name 'DisableSettingSyncUserOverride' -Value 0 -Type DWordDisable
# Disable: SettingSync/DisableSettingSync
$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 'DisableSettingSync' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": SettingSync/DisableSettingSync
$k = 'HKLM:\Software\Policies\Microsoft\Windows\SettingSync'
Remove-ItemProperty -Path $k -Name 'DisableSettingSync' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DisableSettingSyncUserOverride' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Allow users to turn syncing on.Autoriser les utilisateurs à activer la synchronisation.CheckBox_UserOverride | Check boxboolean | DisableSettingSyncUserOverride | REG_DWORD | Checked: REG_DWORD = 0Unchecked: REG_DWORD = 1 |