Sync settings over metered connections even when roaming
Synchronisation des paramètres via des connexions limitées même en cas d'itinérance
Explanation
This policy setting defines whether the User Experience Virtualization (UE-V) Agent synchronizes settings over metered connections outside of the home provider network, for example when connected via a roaming connection.
By default, the UE-V Agent does not synchronize settings over a metered connection that is roaming.
With this setting enabled, the UE-V Agent synchronizes settings over a metered connection that is roaming.
With this setting disabled, the UE-V Agent will not synchronize settings over a metered connection that is roaming.
If you do not configure this policy setting, any defined values are deleted.
Ce paramètre de stratégie définie si User Experience Virtualization (UE-V) Agent synchronise les paramètres via des connexions limitées en dehors du réseau du fournisseur personnel, par exemple en cas de connexion par itinérance.
Par défaut, UE-V Agent ne synchronise pas les paramètres via une connexion limitée en cours d'itinérance.
Si ce paramètre est activé, UE-V Agent synchronise les paramètres via une connexion limitée en cours d'itinérance.
S'il est désactivé, UE-V Agent ne synchronisera pas les paramètres via une connexion limitée en cours d'itinérance.
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\ConfigurationHKEY_CURRENT_USER\Software\Policies\Microsoft\UEV\Agent\Configuration- Value name
SyncOverMeteredNetworkWhenRoaming
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| 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.
Computer (HKLM)
Enable
# Enable: UserExperienceVirtualization/SyncOverMeteredNetworkWhenRoaming
$k = 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SyncOverMeteredNetworkWhenRoaming' -Value 1 -Type DWordDisable
# Disable: UserExperienceVirtualization/SyncOverMeteredNetworkWhenRoaming
$k = 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SyncOverMeteredNetworkWhenRoaming' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": UserExperienceVirtualization/SyncOverMeteredNetworkWhenRoaming
$k = 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration'
Remove-ItemProperty -Path $k -Name 'SyncOverMeteredNetworkWhenRoaming' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"