关闭端口:netsh advfirewall firewall add rule name=”规则名” dir=in protocol=tcp localport=端口号1,端口号2,端口号3…. action=block
打开端口:netsh advfirewall firewall add rule name=”规则名” dir=in protocol=tcp localport=端口号1,端口号2,端口号3…. action=allow
附2003/2012安装密钥:
2003:FJ8DH-TQPYG-9KFHQ-88CB2-Y7V3Y
2012:NB4WH-BBBYV-3MPPC-9RCMV-46XCB(standard)
BH9T4-4N7CW-67J3M-64J36-WW98Y(Datacenter)