Open in the explorer

Allow camera and microphone access in Microsoft Defender Application Guard

Autoriser l'accès à la caméra et au micro dans Microsoft Defender Application Guard

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Microsoft Defender Application Guard FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft Defender Application Guard
Supported on
Microsoft Edge on Windows 10 Enterprise or Windows 10 Education with Microsoft Defender Application Guard in Enterprise mode FR: Microsoft Edge sur Windows 10 Entreprise ou Windows 10 Éducation avec Microsoft Defender Application Guard en mode Entreprise
ADMX file
apphvsi.admx
Internal name
apphvsi/AppHVSI_AllowCameraMicrophoneRedirectionConfig

Explanation

The policy allows you to determine whether applications inside Microsoft Defender Application Guard can access the device’s camera and microphone when these settings are enabled on the user’s device.

If you enable this policy, applications inside Microsoft Defender Application Guard will be able to access the camera and microphone on the user’s device.

If you disable or don't configure this policy, applications inside Microsoft Defender Application Guard will be unable to access the camera and microphone on the user’s device.

Important: If you turn on this policy, a compromised container could bypass camera and microphone permissions and access the camera and microphone without the user’s knowledge. To prevent unauthorized access, we recommend that camera and microphone privacy settings be turned off on the user’s device when they are not needed.

French text from Windows 11 26H2

La stratégie vous permet de déterminer si les applications à l'intérieur de Microsoft Defender Application Guard peuvent accéder à la caméra et au microphone de l'appareil lorsque ces paramètres sont activés sur l'appareil de l'utilisateur.

Si vous activez ce paramètre de stratégie, les applications dans Microsoft Defender Application Guard peuvent accéder à la caméra et au microphone sur l'appareil de l'utilisateur.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les applications dans Microsoft Defender Application Guard ne pourront pas accéder à la caméra et au micro sur l'appareil de l'utilisateur.

Important : si vous activez cette stratégie, un conteneur compromis pourrait ignorer les autorisations de caméra et de microphone, et accéder à la caméra et au microphone sans que l'utilisateur ne le sache. Pour empêcher tout accès non autorisé, nous recommandons de désactiver les paramètres de confidentialité de la caméra et du microphone sur l'appareil de l'utilisateur lorsqu'ils ne sont pas indispensables.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppHVSI
Value name
AllowCameraMicrophoneRedirection
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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: apphvsi/AppHVSI_AllowCameraMicrophoneRedirectionConfig
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppHVSI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowCameraMicrophoneRedirection' -Value 1 -Type DWord

Disable

# Disable: apphvsi/AppHVSI_AllowCameraMicrophoneRedirectionConfig
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppHVSI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowCameraMicrophoneRedirection' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": apphvsi/AppHVSI_AllowCameraMicrophoneRedirectionConfig
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppHVSI'
Remove-ItemProperty -Path $k -Name 'AllowCameraMicrophoneRedirection' -ErrorAction SilentlyContinue

Availability

Windows 10

Windows Server