Virtual Component Process Allow List
Liste verte des processus de composant virtuel
Explanation
Specifies a list of process paths (may contain wildcards) which are candidates for using virtual components (shell extensions, browser helper objects, etc). Only processes whose full path matches one of these items can use virtual components.
Fournit une liste des chemins de processus (peut contenir des caractères génériques) candidats pour l'utilisation de composants virtuels (extensions d'environnement, objets d'assistance de navigateur, etc). Seuls les processus dont le chemin complet correspond à l'un de ces éléments peuvent utiliser des composants virtuels.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppV\Client\Virtualization- Value name
ProcessesUsingVirtualComponents
| State | Value written |
|---|---|
| Enabled | not defined in the ADMX (see the options below) |
| Disabled | 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.
The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.
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: appv/Virtualization_JITVAllowList
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Virtualization'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'ProcessesUsingVirtualComponents' -Value 1 -Type DWord # assumed value (not defined in the ADMX)
#
Set-ItemProperty -Path $k -Name 'ProcessesUsingVirtualComponents' -Value @('<value1>', '<value2>') -Type MultiStringDisable
# Disable: appv/Virtualization_JITVAllowList
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Virtualization'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'ProcessesUsingVirtualComponents' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": appv/Virtualization_JITVAllowList
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Virtualization'
Remove-ItemProperty -Path $k -Name 'ProcessesUsingVirtualComponents' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Virtualization_JITVAllowList_Prompt | Multiline text boxmultiText | ProcessesUsingVirtualComponents | REG_MULTI_SZ |