DFS 複寫服務健康情況

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

監視 Windows 服務的健全狀況:DFS 複寫

Knowledge Base article:

摘要

監視 DFS 複寫服務是否正在執行。如果 SYSVOL 已設定為使用 DFSR 且服務已經停止,將不會在服務啟動之前執行群組原則更新。

原因

DFS 複寫服務未執行。

解決方式

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

Element properties:

TargetMicrosoft.Windows.Server.2012.AD.DomainController.SYSVOL.DFSR
Parent MonitorSystem.Health.AvailabilityState
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableFalse
AccessibilityPublic
Alert Message
DFS 複寫服務未執行
DFS 複寫服務未執行。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2012.AD.AvailabilityEssentialService.DFSR.ServiceCheck" Accessibility="Public" Enabled="true" Target="AD2012Core!Microsoft.Windows.Server.2012.AD.DomainController.SYSVOL.DFSR" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="false" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2012.AD.AvailabilityEssentialService.DFSR.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>DFSR</ServiceName>
<CheckStartupType>true</CheckStartupType>
</Configuration>
</UnitMonitor>