Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

Thanks.

share|improve this question

2 Answers 2

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

 
discard

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.