Do not sync desktop personalization
Ne pas synchroniser la personnalisation du Bureau
Explanation
Prevent the "desktop personalization" group from syncing to and from this PC. This turns off and disables the "desktop personalization" group on the "sync your settings" page in PC settings.
If you enable this policy setting, the "desktop personalization" group will not be synced.
Use the option "Allow users to turn desktop personalization syncing on" so that syncing it turned off by default but not disabled.
If you do not set or disable this setting, syncing of the "desktop personalization" group is on by default and configurable by the user.
Empêche la synchronisation du groupe « Personnalisation du Bureau » avec cet ordinateur. Cela désactive le groupe « Personnalisation du Bureau » dans la page « Synchroniser vos paramètres » des Paramètres du PC.
Si ce paramètre de stratégie est activé, le groupe « Personnalisation du Bureau » n’est pas synchronisé.
Utilisez l’option « Autoriser les utilisateurs à activer la synchronisation de personnalisation du Bureau » 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, la synchronisation du groupe « Personnalisation du Bureau » est activée par défaut et configurable par l’utilisateur.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\SettingSync- Value name
DisableDesktopThemeSettingSync
| 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/DisableDesktopThemeSettingSync
$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 'DisableDesktopThemeSettingSync' -Value 2 -Type DWord
# Allow users to turn "desktop personalization" syncing on.
# unchecked: 1
Set-ItemProperty -Path $k -Name 'DisableDesktopThemeSettingSyncUserOverride' -Value 0 -Type DWordDisable
# Disable: SettingSync/DisableDesktopThemeSettingSync
$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 'DisableDesktopThemeSettingSync' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": SettingSync/DisableDesktopThemeSettingSync
$k = 'HKLM:\Software\Policies\Microsoft\Windows\SettingSync'
Remove-ItemProperty -Path $k -Name 'DisableDesktopThemeSettingSync' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DisableDesktopThemeSettingSyncUserOverride' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Allow users to turn "desktop personalization" syncing on.Autoriser les utilisateurs à activer la synchronisation de la personnalisation du Bureau.CheckBox_UserOverride | Check boxboolean | DisableDesktopThemeSettingSyncUserOverride | REG_DWORD | Checked: REG_DWORD = 0Unchecked: REG_DWORD = 1 |