PowerEdge:重新启动后,Windows 防火墙重置为公共

Summary: 重新启动服务器时,Windows 防火墙配置文件设置为“公共”,而不是“域身份验证”(即 domain.com)。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

在手动将 Windows 防火墙配置文件设置为 'DomainAuthenticated' 使用 Set-NetConnectionProfile 或完全关闭 Windows 防火墙。

Network Connections在网络接口卡 (NIC) 名称下列出 网络 X,而不是 domain.com

Cause

在 Active Directory 域可用之前启动网络位置感知服务。

Resolution

对于域控制器,将 “网络位置感知 ”服务设置为 “延迟启动 ”,并为域名系统 (DNS) 服务添加依赖项。

提醒:若要使用 PowerShell 运行以下命令,必须使用 Start-Process cmdlet。

以管理员身份从 CMD 运行以下命令:
sc config NlaSvc start= delayed-auto 
sc config NlaSvc depend= DNS

对于 成员服务器,将网络位置感知服务设置为 延迟启动 (请勿修改其依赖项)。

以管理员身份从 CMD 运行以下命令:

sc config NlaSvc start= delayed-auto
示例:
Start-Process sc.exe -ArgumentList "config NlaSvc start= delayed-auto"
Start-Process sc.exe -ArgumentList "sc config NlaSvc depend= DNS" #DC Only

Affected Products

Microsoft Windows Server 2016, Microsoft Windows Server 2019, Microsoft Windows Server 2022, Microsoft Windows 2012 Server, Microsoft Windows 2012 Server R2, PowerEdge R440, PowerEdge R450, PowerEdge R540, PowerEdge R550, PowerEdge R570 , PowerEdge R640, PowerEdge R6415, PowerEdge R650, PowerEdge R650xs, PowerEdge R6515, PowerEdge R6525, PowerEdge R660, PowerEdge R660xs, PowerEdge R6615, PowerEdge R6625, PowerEdge R670, PowerEdge R740, PowerEdge R740XD, PowerEdge R740XD2, PowerEdge R7415, PowerEdge R7425, PowerEdge R750, PowerEdge R750XA, PowerEdge R750xs, PowerEdge R7515, PowerEdge R7525, PowerEdge R760, PowerEdge R760XA, PowerEdge R760xd2, PowerEdge R760xs, PowerEdge R7615, PowerEdge R7625, PowerEdge R770, PowerEdge R7715, PowerEdge R7725, PowerEdge R840, PowerEdge R860, PowerEdge R940, PowerEdge R940xa, PowerEdge R960, PowerEdge T340, PowerEdge T350, PowerEdge T360, PowerEdge T440, PowerEdge T550, PowerEdge T560, PowerEdge T640 ...
Article Properties
Article Number: 000207835
Article Type: Solution
Last Modified: 12 Jun 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.