Check ports in Firewall by registry in Windows 8.1

In this post I will cover how to check the firewall ports by the registry. Off course this can be done efficiently by Netsh but that will not be covered in this post.

To check the firewall ports in the registry open regedit and then the key below:

HKEY_LOCAL_MACHINE\
SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules

At this location you will find all your ports configured for your firewall.

If you want to find a certain rule just right click on the FirewallRules key and choose Find and search for the rule.

1

To add a rule do not edit the registry directly. Use Netsh or the GUI.

No comments yet.

Leave a Reply