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.