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 防火墙已完全关闭。

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

Cause

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

Resolution

将网络位置感知服务设置为“自动(延迟启动)”,然后将其配置为等待 Active Directory 域可用。

 

CMD 作为管理员:

sc config NlaSvc start= delayed-auto
reg add "HKLM\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters" /v AlwaysExpectDomainController /t REG_DWORD /d 1 /f

 

以管理员身份启用 PowerShell: 

Start-Process sc.exe -ArgumentList "config NlaSvc start= delayed-auto"
New-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters' -Name 'AlwaysExpectDomainController' -PropertyType DWord -Value 1 -Force

  

 

重新启动网络位置感知服务或重新启动服务器。

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: 07 Aug 2026
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.