Windows Firewall Registry Keys

Sometimes you need to include exceptions to your local desktop firewall but you only have pseudo localadmin access. Well if you enable your regedit programs by using one of my previous posts Enabling or Disabling Regedit. Then all you have to do is add your exception values in these registry key locations.

For Example , the registry key location for program exceptions is here

HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall
\DomainProfile\AuthorizedApplications\List

So to enable a firewall exception for xming.exe add a string value like below

C:\Program Files\andLinux\XMing\Xming.exe:*:enabled:Xming.exe

The registry key location for port exceptions is here

HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall
\DomainProfile\GloballyOpenPorts\List

So to enable TCP traffic on port 2081 add a string value like below to this location

2081:TCP:*:enabled:Port 2081

Have immense fun 🙂

2 thoughts on “Windows Firewall Registry Keys

  1. Any chance those examples are reversed? The Port example seems to reference the ‘AuthorizedApplications’ key and the Applications example seems to reference the ‘GloballyOpenPorts’ key…

    • Thanks Jay. I did notice that a while ago but never uodated it. Thanks for reminding me, have uodated it now.

Comments are closed.