Enable UEV
Activer UEV
Explanation
This policy setting allows you to enable or disable User Experience Virtualization (UE-V) feature. Reboot is needed for enable to take effect. With Auto-register inbox templates enabled, the UE-V inbox templates such as Office 2016 will be automatically registered when the UE-V Service is enabled. If this option is changed, it will only take effect when UE-V service is re-enabled.
Ce paramètre de stratégie vous permet d’activer ou de désactiver la fonctionnalité User Experience Virtualization (UE-V). Un redémarrage est nécessaire pour appliquer l’activation. Avec l’option Inscrire automatiquement les modèles de boîte de réception activée, les modèles de boîte de réception UE-V, comme Office 2016, sont automatiquement inscrits lorsque le service UE-V est activé. La modification de cette option ne prend effet que lors de la réactivation du service UE-V.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\UEV\Agent- Value name
Enabled
| 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.
Enable
# Enable: UserExperienceVirtualization/EnableUEV
$k = 'HKLM:\Software\Policies\Microsoft\UEV\Agent'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Enabled' -Value 1 -Type DWord
# Auto-register inbox templates
# 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 'RegisterInboxTemplates' -Value 1 -Type DWord
$k = 'HKLM:\Software\Policies\Microsoft\Windows\UEV\Agent'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Enabled' -Value 1 -Type DWordDisable
# Disable: UserExperienceVirtualization/EnableUEV
$k = 'HKLM:\Software\Policies\Microsoft\UEV\Agent'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Enabled' -Value 0 -Type DWord
$k = 'HKLM:\Software\Policies\Microsoft\Windows\UEV\Agent'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Enabled' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": UserExperienceVirtualization/EnableUEV
$k = 'HKLM:\Software\Policies\Microsoft\UEV\Agent'
Remove-ItemProperty -Path $k -Name 'Enabled' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'RegisterInboxTemplates' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\Microsoft\Windows\UEV\Agent'
Remove-ItemProperty -Path $k -Name 'Enabled' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Auto-register inbox templatesInscrire automatiquement les modèles de boîte de réceptionRegisterInboxTemplates | Check boxboolean | RegisterInboxTemplates | REG_DWORD | Default (UI): true Checked: implicit: 1Unchecked: implicit: 0 |