Ouvrir dans l'explorateur

Allow media autoplay on specific sites

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Ordinateur et utilisateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Microsoft Edge Configuration utilisateur › Stratégies › Modèles d'administration › Microsoft Edge EN : Computer Configuration › Policies › Administrative Templates › Microsoft EdgeEN : User Configuration › Policies › Administrative Templates › Microsoft Edge
Pris en charge sur
Microsoft Edge version 93, Windows 7 or later
Fichier ADMX
msedge.admx
Nom interne
msedge/AutoplayAllowlist

Explication

Define a list of sites, based on URL patterns, that are allowed to autoplay media.

If you don't configure this policy, the global default value from the 'AutoplayAllowed' (Allow media autoplay for websites) policy (if set) or the user's personal configuration is used for all sites.

For detailed information about valid url patterns, see https://go.microsoft.com/fwlink/?linkid=2095322.

Note: * is not an accepted value for this policy.

Example value:

https://www.contoso.com
[*.]contoso.edu

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge
HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge
Nom de la valeur
non défini dans l'ADMX

Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).

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/AutoplayAllowlist
$k = 'HKLM:\Software\Policies\Microsoft\Edge\AutoplayAllowlist'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Allow media autoplay on specific sites
# Liste non additive : les valeurs existantes de la clé sont d'abord effacées
if (Test-Path -Path $k) { (Get-Item -Path $k).Property | ForEach-Object { Remove-ItemProperty -Path $k -Name ([WildcardPattern]::Escape($_)) -ErrorAction SilentlyContinue } }
$values = @('<valeur1>', '<valeur2>')  # Remplacez les valeurs par les vôtres
$i = 1
foreach ($v in $values) { Set-ItemProperty -Path $k -Name ('' + $i) -Value $v -Type String; $i++ }

Désactiver

# Désactiver : msedge/AutoplayAllowlist
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : msedge/AutoplayAllowlist
$k = 'HKLM:\Software\Policies\Microsoft\Edge\AutoplayAllowlist'
Remove-Item -Path $k -Recurse -Force -ErrorAction SilentlyContinue

Utilisateur (HKCU)

Activer

Désactiver

Revenir à « Non configuré »

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
Allow media autoplay on specific sitesAutoplayAllowlistDescListe (tableau)listSoftware\Policies\Microsoft\Edge\AutoplayAllowlistValeurs nommées « » + n°REG_SZ (valeurs sous la clé)

Application

Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.