How to start the Windows Advanced Firewall configuration from the command-line
Posted: (EET/GMT+2)
Being able to change firewall configuration rules is often key to making successful system installations. For example, you might need to create firewall rules to access http and https traffic, allow SQL Server to communicate with client applications, and so on
Windows Firewall is nowadays (since Windows Vista) configured using a Management Console (MMC) snap-in called Advanced Firewall. Since this utility is a snap-in, you can also start it from the command line. The name of the configuration file for MMC is simply:
wf.msc
If you run this command from the command prompt, Windows will open the management console for you. If you are already working from the command line, launching the configuration utility directly from there is often faster than reaching out to the Windows Start menu.