Windows Tips--How 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 
转载请保留此信息。




本文转自峻祁连. Moving to Cloud/Mobile博客园博客,原文链接:http://www.cnblogs.com/junqilian/archive/2010/10/26/1861283.html ,如需转载请自行联系原作者
相关文章
|
程序员 C# Windows
Windows Service 小品
Windows Service 小品
115 0
Windows Service 小品