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 🙂