Allow or block audio capture
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
Allows you to set whether a user is prompted to grant a website access to their audio capture device. This policy applies to all URLs except for the ones configured in the 'AudioCaptureAllowedUrls' (Sites that can access audio capture devices without requesting permission) list.
If you enable this policy or don't configure it (the default setting), the user is prompted for audio capture access except from the URLs in the 'AudioCaptureAllowedUrls' list. These listed URLs are granted access without prompting.
If you disable this policy, the user isn't prompted, and audio capture is accessible only to the URLs configured in 'AudioCaptureAllowedUrls'.
This policy affects all types of audio inputs, not only the built-in microphone.
On Android, the 'AudioCaptureAllowedUrls' policy is not supported. Disabling this policy blocks audio capture for all websites. Enabling it or leaving it unset allows users to grant audio capture access. Android microphone permission is still required.
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\EdgeHKEY_CURRENT_USER\Software\Policies\Microsoft\Edge- Nom de la valeur
AudioCaptureAllowed
| État | Valeur é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.
Ordinateur (HKLM)
Activer
# Activer : msedge/AudioCaptureAllowed
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AudioCaptureAllowed' -Value 1 -Type DWordDésactiver
# Désactiver : msedge/AudioCaptureAllowed
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AudioCaptureAllowed' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : msedge/AudioCaptureAllowed
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'AudioCaptureAllowed' -ErrorAction SilentlyContinueUtilisateur (HKCU)
Activer
Désactiver
Revenir à « Non configuré »
Application
Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.