Open in the explorer

Allow Internet Explorer to play media files that use alternative codecs

Autoriser Internet Explorer à lire les fichiers multimédias qui utilisent des codecs de remplacement

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Internet Settings › Advanced settings › Multimedia User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Internet Settings › Advanced settings › Multimedia FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Paramètres Internet › Paramètres avancés › MultimédiaFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Paramètres Internet › Paramètres avancés › Multimédia
Supported on
At least Internet Explorer 9.0 FR: Au moins Internet Explorer 9.0
ADMX file
inetres.admx
Internal name
inetres/EnableAlternativeCodec

Explanation

This policy setting specifies whether Internet Explorer plays media files that use alternative codecs and that require additional software.

If you enable this policy setting, Internet Explorer plays these files, if the appropriate software is installed.

If you disable this policy setting, Internet Explorer does not play these files.

If you do not configure this policy setting, the user can change the "Enable alternative codecs in HTML5 media elements" setting on the Advanced tab in the Internet Options dialog box.

French text from Windows 11 26H2

Ce paramètre de stratégie spécifie si Internet Explorer lit les fichiers multimédias qui utilisent des codecs de remplacement et qui nécessitent des logiciels supplémentaires.

Si vous activez ce paramètre de stratégie, Internet Explorer lit ces fichiers, si les logiciels appropriés sont installés.

Si vous désactivez ce paramètre de stratégie, Internet Explorer ne lit pas ces fichiers.

Si vous ne configurez pas ce paramètre de stratégie, l’utilisateur peut modifier l’option « Activer d’autres codecs dans des éléments multimédias HTML5 » sous l’onglet Avancé de la boîte de dialogue Options Internet.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main
Value name
EnableAlternativeCodec
StateValue written
EnabledREG_SZ = yes
DisabledREG_SZ = no

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.

Computer (HKLM)

Enable

# Enable: inetres/EnableAlternativeCodec
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableAlternativeCodec' -Value 'yes' -Type String

Disable

# Disable: inetres/EnableAlternativeCodec
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableAlternativeCodec' -Value 'no' -Type String

Revert to "Not configured"

# Revert to "Not configured": inetres/EnableAlternativeCodec
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
Remove-ItemProperty -Path $k -Name 'EnableAlternativeCodec' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability