文件复制服务服务运行状况

Microsoft.Windows.Server.2016.AD.AvailabilityEssentialService.NTFRS.ServiceCheck (UnitMonitor)

监视 Windows 服务:文件复制服务的运行状况

Knowledge Base article:

摘要

DFSR 和 NTFRS 是域控制器的基本服务。根据文件复制迁移的状态,请确保该两项服务或其中一项服务处于运行状态。

原因

NTFRS 服务未运行。

解决方案

转到服务管理器并启动 NTFRS 服务

Element properties:

TargetMicrosoft.Windows.Server.2016.AD.DomainController.SYSVOL.NTFRS
Parent MonitorSystem.Health.AvailabilityState
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableFalse
AccessibilityPublic
Alert Message
NTFRS 服务未运行
NTFRS 服务未运行。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2016.AD.AvailabilityEssentialService.NTFRS.ServiceCheck" Accessibility="Public" Enabled="true" Target="AD2016Core!Microsoft.Windows.Server.2016.AD.DomainController.SYSVOL.NTFRS" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="false" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2016.AD.AvailabilityEssentialService.NTFRS.ServiceCheck.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>High</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Error" MonitorTypeStateID="NotRunning" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="Running" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>.</ComputerName>
<ServiceName>NtFrs</ServiceName>
</Configuration>
</UnitMonitor>