OK, if you are here, you were probably trying to configure your Windows firewall, and maybe something went wrong somewhere and you messed up ! In such a case, you may want to restore Windows Firewall to default settings with Advanced Security.
If you wish to reset your Windows firewall settings & rules, to its defaults, you can do so, as follows:
Type Windows Firewall in start search and open Windows Firewall with Advanced Security. In the tab bar, click on Action and select Restore Default Policy. If a prompt appears, click Yes.
Do remember that, when you restore it to its default settings, you will lose all your custom settings & firewall rules. Group Policy applied rules & settings however will not be disturbed.
Before re-setting the firewall to default, should you wish to backup your current firewall settings & rules, you can do so, as follows:
In the tab bar, click on File and select Export Policy. Save the file as a .wfw property sheet.
This will allow you to restore , using the Import Policy option, your Windows 7 or Vista firewall settings if you feel the need.