Impedir Download do Codec: valor do Registro PreventCodecDownloadUsuárioHKCU\Software\Policies\Microsoft\WindowsMediaPlayer

ID da política
PolicyCodecUpdate
Escopo
Configuração do Usuário
Compatível com
Windows Media Player para Windows XP e superior.
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Componentes do Windows › Windows Media Player › Reprodução

Registro

PreventCodecDownload

REG_DWORDUsuário
Valor habilitado
1
Valor desabilitado
0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer]

; Opções (use apenas uma)
; Habilitada
"PreventCodecDownload"=dword:00000001
; Desabilitada
"PreventCodecDownload"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Habilitada
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer" /v "PreventCodecDownload" /t REG_DWORD /d 1 /f
:: Desabilitada
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer" /v "PreventCodecDownload" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer' -Force | Out-Null

# Opções (use apenas uma)
# Habilitada
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer' -Name 'PreventCodecDownload' -PropertyType DWord -Value 1 -Force | Out-Null
# Desabilitada
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer' -Name 'PreventCodecDownload' -PropertyType DWord -Value 0 -Force | Out-Null