Open in the explorer

Do not sync desktop personalization

Ne pas synchroniser la personnalisation du Bureau

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/DisableDesktopThemeSettingSync

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.

French text from Windows 11 26H2

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
StateValue written
EnabledREG_DWORD = 2
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/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 DWord

Disable

# 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 DWord

Revert 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 SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Allow users to turn "desktop personalization" syncing on.Autoriser les utilisateurs à activer la synchronisation de la personnalisation du Bureau.CheckBox_UserOverrideCheck boxbooleanDisableDesktopThemeSettingSyncUserOverrideREG_DWORD
Checked: REG_DWORD = 0
Unchecked: REG_DWORD = 1

Availability