Windows TipsHow do I disable the Windows Firewall service?

关闭和或打开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

转载自网络,自己记录备查。

作者:峻祁连
邮箱:junqilian@163.com
出处:http://junqilian.cnblogs.com
转载请保留此信息。
原文地址:https://www.cnblogs.com/junqilian/p/1861283.html