Windows Defender Firewall: permitir exceções de programa locais: valor do Registro AllowUserPrefMerge (StandardProfile\AuthorizedApplications)ComputadorHKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\AuthorizedApplications

ID da política
WF_AllowedProgramsLocal_Name_2
Escopo
Configuração do Computador
Compatível com
Windows XP Professional com SP2 ou posterior
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Rede › Conexões de Rede › Windows Defender Firewall › Perfil Padrão

Registro

AllowUserPrefMerge

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

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\AuthorizedApplications]

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

:: Habilitada
reg add "HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\AuthorizedApplications" /v "AllowUserPrefMerge" /t REG_DWORD /d 1 /f
:: Desabilitada
reg add "HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\AuthorizedApplications" /v "AllowUserPrefMerge" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\AuthorizedApplications' -Force | Out-Null

# Opções (use apenas uma)
# Habilitada
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\AuthorizedApplications' -Name 'AllowUserPrefMerge' -PropertyType DWord -Value 1 -Force | Out-Null
# Desabilitada
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\AuthorizedApplications' -Name 'AllowUserPrefMerge' -PropertyType DWord -Value 0 -Force | Out-Null