< 返回新聞公共列表

服務(wù)器防火墻怎么關(guān)閉?

發(fā)布時間:2022-12-01 14:42:37

服務(wù)器防火墻怎么關(guān)閉?在Windows Server 2008和2008 R2中,可以使用高級安全控制臺和netsh命令關(guān)閉服務(wù)器防火墻。在Windows Server 2012或更高版本中可使用這兩種方法關(guān)閉服務(wù)器防火墻,此外,Windows Server 2012或更高版本還提供了Set-NetFirewallProfile Windows PowerShell cmdlet。


服務(wù)器防火墻怎么關(guān)閉?.png


一:要使用高級安全控制臺關(guān)閉服務(wù)器防火墻,請執(zhí)行以下操作:

1、打開服務(wù)器管理控制臺。

2、在Windows服務(wù)器2008和2008 R2的左窗格中,展開Configuration(配置),然后單擊Windows Firewall with Advanced Security(采用高級安全的Windows防火墻)。

在Windows服務(wù)器2012或更高版本中,從Tools(工具)菜單中選擇Windows Firewall with Advanced Security(采用高級安全的Windows防火墻)。

3、在中心窗格中,單擊Windows Firewall Properties(Windows防火墻屬性)。

4、屬性窗口中有三個配置文件選項(xiàng)卡,對應(yīng)于三個Windows防火墻配置文件(域、專用和公用)。在每個配置文件選項(xiàng)卡中,從Firewall state(防火墻狀態(tài))下拉列表中選擇Off(關(guān)閉)。

5、單擊OK(確定)以關(guān)閉防火墻屬性窗口。


二:要使用netsh命令關(guān)閉服務(wù)器防火墻,請執(zhí)行以下操作:

1、打開管理命令提示符。

2、類型:netsh advfirewall set allprofiles state off


三:要在Windows服務(wù)器2012或更高版本(包括Windows Server Core)中使用Windows PowerShell關(guān)閉防火墻,請執(zhí)行以下操作:

1、打開Windows PowerShell。

2、類型:Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False


以上就是“服務(wù)器防火墻怎么關(guān)閉”方法,希望能幫助到大家!


/template/Home/Zkeys724/PC/Static