NetLogon 服務健全狀況

Microsoft.Windows.Server.2012.AD.AvailabilityEssentialService.NetLogon.ServiceCheck (UnitMonitor)

監視 Windows 服務的健全狀況:NetLogon

Knowledge Base article:

摘要

監視 Netlogon 服務是否正在此網域控制站上執行。此服務可在此電腦與網域控制站之間維持一個安全通道,以供驗證使用者和服務。

如果服務停止,電腦可能不會驗證使用者與服務,且網域控制站無法登錄 DNS 記錄。

原因

NetLogon 服務未執行。

解決方式

確認 Netlogon 服務已設定為自動啟動且正在執行。

Element properties:

TargetMicrosoft.Windows.Server.2012.AD.DomainControllerRole
Parent MonitorMicrosoft.Windows.Server.2012.AD.AvailabilityEssentialServices.AggregateMonitor
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
NetLogon 服務未執行
NetLogon 服務未執行。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2012.AD.AvailabilityEssentialService.NetLogon.ServiceCheck" Accessibility="Public" Enabled="true" Target="AD2012Core!Microsoft.Windows.Server.2012.AD.DomainControllerRole" ParentMonitorID="Microsoft.Windows.Server.2012.AD.AvailabilityEssentialServices.AggregateMonitor" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2012.AD.AvailabilityEssentialService.NetLogon.ServiceCheck.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>High</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Error" MonitorTypeStateID="NotRunning" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="Running" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>.</ComputerName>
<ServiceName>Netlogon</ServiceName>
<CheckStartupType>true</CheckStartupType>
</Configuration>
</UnitMonitor>