Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm wondering where to find detailed information regarding the Microsoft Advanced Windows Firewall command line settings. For instance, from reading a couple technet articles I've learned that I can run the following:

netsh advfirewall firewall set rule group=”File and Printer Sharing” new enable=Yes

The bit about 'group="File and Printer Sharing"' is the part I'm having trouble finding documentation for.

Any help would be greatly appreciated. And, if possible, I'd rather a pointer to the docs than a simple listing of group names.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

After digging further I believe that I have found the answer I was looking for. A printout of all currently set rules and their corresponding groups may be viewed by issuing the following:

netsh advfirewall firewall show rule name=all

For further reference, the documentation summary printout may be viewed by issuing the following:

netsh advfirewall firewall show rule /?
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.