Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to view Windows firewall settings in command line?

Also, how would I be able to check advanced windows firewall settings in GUI?


share|improve this question

There's usually a shortcut somewhere in Admin/System Tools folder of your Start Menu that will access Windows Firewall with Advanced Security GUI. Or just type "wf.msc" at an administrative command prompt. The "netsh advfirewall" (or "netsh firewall" in Win XP) command will let you view/work with firewall settings at the command line.

share|improve this answer

To view the Windows Firewall settings in command-line, type:

netsh advfirewall firewall

This will open a menu with different settings, including advanced settings (like setting rules).

Windows Firewall settings in command-line

More information about Netsh AdvFirewall Firewall Commands (Windows Server online library).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.