Ouvrir dans l'explorateur

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

Allow camera and microphone access in Microsoft Defender Application Guard

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft Defender Application Guard EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Microsoft Defender Application Guard
Pris en charge sur
Microsoft Edge sur Windows 10 Entreprise ou Windows 10 Éducation avec Microsoft Defender Application Guard en mode Entreprise EN : Microsoft Edge on Windows 10 Enterprise or Windows 10 Education with Microsoft Defender Application Guard in Enterprise mode
Fichier ADMX
apphvsi.admx
Nom interne
apphvsi/AppHVSI_AllowCameraMicrophoneRedirectionConfig

Explication

Texte français issu de 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.

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.

Registre

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppHVSI
Nom de la valeur
AllowCameraMicrophoneRedirection
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : 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

Désactiver

# Désactiver : 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

Revenir à « Non configuré »

# Revenir à « Non configuré » : apphvsi/AppHVSI_AllowCameraMicrophoneRedirectionConfig
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppHVSI'
Remove-ItemProperty -Path $k -Name 'AllowCameraMicrophoneRedirection' -ErrorAction SilentlyContinue

Disponibilité

Windows 10

Windows Server