Microsoft Windows [Version 6.1.7000] (C) Copyright 2009 Microsoft Corp. C:\Windows>netsh advfirewall firewall delete rule ?
Usage: delete rule name=[dir=in|out][profile=public|private|domain|any[,...]][program=][service=|any][localip=any|||||][remoteip=any|localsubnet|dns|dhcp|wins|defaultgateway|||||][localport=0-65535|[,...]|RPC|RPC-EPMap|any][remoteport=0-65535|[,...]|any][protocol=0-255|icmpv4|icmpv6|icmpv4:type,code|icmpv6:type,code|
- Deletes a rule identified by name and optionally by endpoints, ports,
protocol, and type.
- If multiple matches are found, all matching rules are deleted.
- If name=all is specified all rules are deleted from the specified
type and profile.
Delete all rules for local port 80:
netsh advfirewall firewall delete rule name=all protocol=tcp localport=80
Delete a rule called "allow80":
netsh advfirewall firewall delete rule name="allow80"
NETSH / ADVFIREWALL / FIREWALL / DELETE / RULE
netsh advfirewall firewall delete rule - Windows Seven - commandDeletes all matching firewall rules. / Windows Seven netsh, advfirewall, firewall, delete, rule, cmd, command, Windows, Seven