Open in the explorer

Configure Sync Method

Configurer la méthode de synchronisation

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Microsoft User Experience Virtualization User Configuration › Policies › Administrative Templates › Windows Components › Microsoft User Experience Virtualization FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft User Experience VirtualizationFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft User Experience Virtualization
Supported on
At least Windows Server 2008 R2 or Windows 7 FR: Au minimum Windows Server 2008 R2 ou Windows 7
ADMX file
UserExperienceVirtualization.admx
Internal name
UserExperienceVirtualization/ConfigureSyncMethod

Explanation

This policy setting configures the sync provider used by User Experience Virtualization (UE-V) to sync settings between users’ computers. With Sync Method set to ”SyncProvider,” the UE-V Agent uses a built-in sync provider to keep user settings synchronized between the computer and the settings storage location. This is the default value. You can disable the sync provider on computers that never go offline and are always connected to the settings storage location.
When SyncMethod is set to “None,” the UE-V Agent uses no sync provider. Settings are written directly to the settings storage location rather than being cached to sync later.
Set SyncMethod to “External” when an external synchronization engine is being deployed for settings sync. This could use OneDrive, Work Folders, SharePoint or any other engine that uses a local folder to synchronize data between users’ computers. In this mode, UE-V writes settings data to the local folder specified in the settings storage path. These settings are then synchronized to other computers by an external synchronization engine. UE-V has no control over this synchronization. It only reads and writes the settings data when the normal UE-V triggers take place.
With notifications enabled, UE-V users receive a message when the settings sync is delayed. The notification delay policy setting defines the delay before a notification appears.
If you disable this policy setting, the sync provider is used to synchronize settings between computers and the settings storage location.
If you do not configure this policy setting, any defined values will be deleted.

French text from Windows 11 26H2

Ce paramètre de stratégie configure le fournisseur de synchronisation utilisé par User Experience Virtualization (UE-V) pour synchroniser les paramètres entre les ordinateurs des utilisateurs. Avec la méthode de synchronisation définie sur « SyncProvider », UE-V Agent utilise un fournisseur de synchronisation intégré pour garder les paramètres de l'utilisateur synchronisés entre l'ordinateur et l'emplacement de stockage des paramètres. Il s'agit de la valeur par défaut. Vous pouvez désactiver le fournisseur de synchronisation sur les ordinateurs qui ne sont jamais hors connexion et qui sont toujours connectés à l'emplacement de stockage des paramètres.
Quand la méthode de synchronisation est définie sur « Aucun », UE-V Agent n'utilise aucun fournisseur de synchronisation. Les paramètres sont écrits directement à l'emplacement de stockage des paramètres au lieu d'être mis en cache pour une synchronisation ultérieure.
Définissez la méthode de synchronisation sur « Externe » quand un moteur de synchronisation externe est déployé pour la synchronisation des paramètres. Ce moteur peut être OneDrive, Dossiers de travail, SharePoint ou tout autre moteur utilisant un dossier local pour synchroniser les données entre les ordinateurs des utilisateurs. Dans ce mode, UE-V écrit les données des paramètres dans le dossier local spécifié dans le chemin de stockage des paramètres. Ces paramètres sont ensuite synchronisés avec les autres ordinateurs par un moteur de synchronisation externe. UE-V n'a pas de contrôle sur cette synchronisation. Il ne fait que lire et écrire les données des paramètres quand les déclencheurs UE-V normaux sont activés.
Si les notifications sont activées, les utilisateurs UE-V reçoivent un message quand la synchronisation des paramètres est postposée. Le paramètre de stratégie Délai de notification définit le délai d'apparition d'une notification.
Si vous désactivez ce paramètre de stratégie, le fournisseur de synchronisation est utilisé pour synchroniser les paramètres entre les ordinateurs et l'emplacement de stockage des paramètres.
Si vous ne configurez pas ce paramètre de stratégie, toutes les valeurs définies seront supprimées.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\UEV\Agent\Configuration
HKEY_CURRENT_USER\Software\Policies\Microsoft\UEV\Agent\Configuration
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/ConfigureSyncMethod
$k = 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Sync Method
# Possible options:
#   SyncProvider = SyncProvider
#   None = None
#   External = External
Set-ItemProperty -Path $k -Name 'SyncMethod' -Value 'SyncProvider' -Type String
# Enable notification
# value not defined in the ADMX (the GPO editor usually writes 1/0)
# 1 = checked, 0 = unchecked; default state taken from the ADML
Set-ItemProperty -Path $k -Name 'SettingsImportNotifyEnabled' -Value 1 -Type DWord
# Notification delay (in seconds)
Set-ItemProperty -Path $k -Name 'SettingsImportNotifyDelayInSeconds' -Value '10' -Type String  # maximum 4294967200

Disable

# Disable: UserExperienceVirtualization/ConfigureSyncMethod
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": UserExperienceVirtualization/ConfigureSyncMethod
$k = 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration'
Remove-ItemProperty -Path $k -Name 'SyncMethod' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'SettingsImportNotifyEnabled' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'SettingsImportNotifyDelayInSeconds' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (3)

LabelControlRegistry valueREG typeConstraints / details
Sync Method:Méthode de synchronisation :SyncMethodConfiguration_listDrop-down listenumSyncMethodREG_SZ
Required · Default choice (UI): #0
LabelValue
SyncProviderREG_SZ = SyncProvider
NoneREG_SZ = None
ExternalREG_SZ = External
Enable notificationActiver la notificationSettingsImportNotification_EnableCheck boxbooleanSettingsImportNotifyEnabledREG_DWORD
Default (UI): true
Checked: implicit: 1
Unchecked: implicit: 0
Notification delay (in seconds):Délai de notification (en secondes) :SettingsImportNotification_DelayNumeric boxdecimalSettingsImportNotifyDelayInSecondsREG_SZ
Max: 4294967200 · Default (UI): 10

Availability