关闭和或打开Windows防火墙
A. Don't. Disabling the Windows Firewall service isn't supported by Microsoft. Disabling it will not only stop the firewall, it will also break IPsec, connection security rules, and many other network-based security features.
Instead of doing anything to the firewall service (mpssvc), you can use netsh to turn off the firewall for all profiles without stopping the actual service:
netsh advfirewall set allprofiles state off
To turn it back on, use
netsh advfirewall set allprofiles state on
转载自网络,自己记录备查。
本文转自峻祁连. Moving to Cloud/Mobile博客园博客,原文链接:http://www.cnblogs.com/junqilian/archive/2010/10/26/1861283.html
,如需转载请自行联系原作者