Microsoft Windows [Version 6.0.6001] (C) Copyright 2006 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 name 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 inbound rules for local port 80:
netsh advfirewall firewall delete rule name=all protocol=tcp localport=80
Delete an inbound rule called "allow80":
netsh advfirewall firewall delete rule name="allow80"
NETSH / ADVFIREWALL / FIREWALL / DELETE / RULE
netsh advfirewall firewall delete rule - Windows Vista - commandDeletes all matching inbound rules. / Windows Vista netsh, advfirewall, firewall, delete, rule, cmd, command, Windows, Vista