Internet Explorer で別のコーデックを使用するメディア ファイルの再生を許可する のレジストリ値 EnableAlternativeCodecユーザーHKCU\Software\Policies\Microsoft\Internet Explorer\Main
- ポリシー ID
- EnableAlternativeCodec
- 適用対象
- コンピューターの構成、ユーザーの構成
- サポートされるバージョン
- Internet Explorer 9.0 以降
- 出典
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
- カテゴリ
- Windows コンポーネント › Internet Explorer › インターネットの設定 › 詳細設定 › マルチメディア
レジストリ
EnableAlternativeCodec
REG_SZユーザーコンピューター…\Software\Policies\Microsoft\Internet Explorer\MainHKCU\Software\Policies\Microsoft\Internet Explorer\Main 現在のキー
HKLM\Software\Policies\Microsoft\Internet Explorer\Main
HKLM\Software\Policies\Microsoft\Internet Explorer\Main
- 有効時の値
- yes
- 無効時の値
- no
.reg · CMD · PowerShell で適用する
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main] ; 選択項目 (1 つだけ使用) ; 有効 "EnableAlternativeCodec"="yes" ; 無効 "EnableAlternativeCodec"="no"
CMD
:: 選択項目 (1 つだけ使用) :: 有効 reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main" /v "EnableAlternativeCodec" /t REG_SZ /d "yes" /f :: 無効 reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main" /v "EnableAlternativeCodec" /t REG_SZ /d "no" /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main' -Force | Out-Null # 選択項目 (1 つだけ使用) # 有効 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main' -Name 'EnableAlternativeCodec' -PropertyType String -Value 'yes' -Force | Out-Null # 無効 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main' -Name 'EnableAlternativeCodec' -PropertyType String -Value 'no' -Force | Out-Null
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main] ; 選択項目 (1 つだけ使用) ; 有効 "EnableAlternativeCodec"="yes" ; 無効 "EnableAlternativeCodec"="no"
CMD
:: 選択項目 (1 つだけ使用) :: 有効 reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main" /v "EnableAlternativeCodec" /t REG_SZ /d "yes" /f :: 無効 reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main" /v "EnableAlternativeCodec" /t REG_SZ /d "no" /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main' -Force | Out-Null # 選択項目 (1 つだけ使用) # 有効 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main' -Name 'EnableAlternativeCodec' -PropertyType String -Value 'yes' -Force | Out-Null # 無効 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main' -Name 'EnableAlternativeCodec' -PropertyType String -Value 'no' -Force | Out-Null