Synchronize Windows settings
Synchronisation des paramètres Windows
Explanation
This policy setting configures the synchronization of Windows settings between computers.
Certain Windows settings will synchronize between computers by default. These settings include Windows themes, Windows desktop settings, Ease of Access settings, and network printers. Use this policy setting to specify which Windows settings synchronize between computers. You can also use these settings to enable synchronization of users' sign-in information for certain apps, networks, and certificates.
If you enable this policy setting, only the selected Windows settings synchronize. Unselected Windows settings are excluded from settings synchronization.
If you disable this policy setting, all Windows Settings are excluded from the settings synchronization.
If you do not configure this policy setting, any defined values will be deleted.
Ce paramètre de stratégie configure la synchronisation des paramètres Windows entre des ordinateurs.
Par défaut, certains paramètres Windows seront synchronisés entre les ordinateurs. Parmi ceux-ci figurent les thèmes Windows, les paramètres du Bureau Windows, les options d'ergonomie et les imprimantes réseau. Utilisez ce paramètre de stratégie pour spécifier les paramètres Windows à synchroniser entre les ordinateurs. Vous pouvez également utiliser ce paramètre pour activer la synchronisation des informations de connexion des utilisateurs pour certaines applications, certains réseaux et certificats.
Si vous activez ce paramètre de stratégie, seuls les paramètres Windows sélectionnés seront synchronisés. Les paramètres Windows non sélectionnés seront exclus des paramètres de synchronisation.
Si vous désactivez ce paramètre de stratégie, tous les paramètres Windows seront exclus des paramètres de synchronisation.
Si vous ne configurez pas ce paramètre de stratégie, toute valeur définie sera supprimée.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettingsHKEY_CURRENT_USER\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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.
Computer (HKLM)
Enable
# Enable: UserExperienceVirtualization/DisableWindowsOSSettings
$k = 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Desktop settings
# unchecked: 0
Set-ItemProperty -Path $k -Name 'DesktopSettings' -Value 1 -Type DWord
# Ease of access
# unchecked: 0
Set-ItemProperty -Path $k -Name 'EaseOfAccessSettings' -Value 1 -Type DWord
# Themes
# unchecked: 0
Set-ItemProperty -Path $k -Name 'ThemeSettings' -Value 1 -Type DWord
# Roaming Credentials
# unchecked: 0
Set-ItemProperty -Path $k -Name 'RoamingCredentialSettings' -Value 1 -Type DWord
# Network Printers
# unchecked: 0
Set-ItemProperty -Path $k -Name 'NetworkPrinters' -Value 1 -Type DWordDisable
# Disable: UserExperienceVirtualization/DisableWindowsOSSettings
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": UserExperienceVirtualization/DisableWindowsOSSettings
$k = 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings'
Remove-ItemProperty -Path $k -Name 'DesktopSettings' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'EaseOfAccessSettings' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'ThemeSettings' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'RoamingCredentialSettings' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NetworkPrinters' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (5)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Desktop settingsParamètres de bureauDesktopSettings | Check boxboolean | DesktopSettings | REG_DWORD | Default (UI): true Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Ease of accessOptions d'ergonomieEaseOfAccessSettings | Check boxboolean | EaseOfAccessSettings | REG_DWORD | Default (UI): true Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| ThemesThèmesThemeSettings | Check boxboolean | ThemeSettings | REG_DWORD | Default (UI): true Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Roaming CredentialsInformations d'identification itinéranteRoamingCredentialSettings | Check boxboolean | RoamingCredentialSettings | REG_DWORD | Default (UI): false Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Network PrintersImprimantes réseauNetworkPrinters | Check boxboolean | NetworkPrinters | REG_DWORD | Default (UI): true Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |