利用DOS命令关闭windows系统防火墙重置防火墙xp2011年07月03日21:54WindowsXPWindows2003netshfirewallsetopmodemode=disablentsd-cq-ppidPIDntsd-cq-pnxx.exenetstopsharedaccessnetstop"windowsfirewall/internetconnectionsharing(ics)"windowsfirewall/internetconnectionsharing(ics)windowsfirewall/internetconnectionsharing(icswindowscmd;windowsms-dosdos“undll32setupapi,installhinfsectionndi-steelhead32windirinfetrassinfwindowswindowsms-dosdosnetswallreswindowswindowswall/internonnectionsharing(icswindowswindowswindowsionsywayswindowsion33applicationlayergatewayservicewindowsC:/>netshnetsh>firewallnetshfirewall>show命令从netshshowalias-showhelper-showmode-showallowedprogram-显示防火墙允许的程序配置。
showconfig-显示防火墙配置showcurrentprofile-显示当前防火墙配置文件showicmpsetting-显示防火墙ICMP配置showlogging-显示防火墙记录配置showmulticastbroadcastresponse-显示防火墙多播/shownotifications-显示防火墙操作配置showopmode-显示防火墙端口配置showportopening-显示防火墙端口配置showservice-显示防火墙服务配置showstate-。