.      How to articles       Windows Services       Group Policy             Donate        
Computer step by step

Windows Firewall: Allow local program exceptions

Description:

Allows administrators to use the Windows Firewall component in Control Panel to define a local program exceptions list. Windows Firewall uses two program exceptions lists; the other is defined by the "Windows Firewall: Define inbound program exceptions" policy setting.

If you enable this policy setting, the Windows Firewall component in Control Panel allows administrators to define a local program exceptions list.

If you disable this policy setting, the Windows Firewall component in Control Panel does not allow administrators to define a local program exceptions list.  However, local administrators will still be allowed to create firewall rules in the Windows Firewall with Advanced Security snap-in.  If you wish to prevent all locally created rules from applying, use the Group Policy Object Editor snap-in and configure Computer Configuration\Windows Settings\Security Settings\Windows Firewall with Advanced Security to specify that local firewall rules should not apply.







Supported on:

At least Windows XP Professional with SP2

GPO PowerShell Regedit CMD

We can use Command Prompt to add or delete the registry key(s):


For Enabled, Add the registry key:

REG add "HKLM\Software\Policies\Microsoft\WindowsFirewall\DomainProfile\AuthorizedApplications" /v AllowUserPrefMerge /t REG_DWORD /d 1 /f


For Disabled, Add the registry key:

REG add "HKLM\Software\Policies\Microsoft\WindowsFirewall\DomainProfile\AuthorizedApplications" /v AllowUserPrefMerge /t REG_DWORD /d 0 /f


For Not Configured, Delete the registry key:

REG DELETE "HKLM\Software\Policies\Microsoft\WindowsFirewall\DomainProfile\AuthorizedApplications" /v AllowUserPrefMerge /f