DFS-N: Service Status

Microsoft.Windows.FileServer.DFSN.2003.Service.AvailabilityState (UnitMonitor)

This monitor checks whether the Distributed File System service is running.

Knowledge Base article:

Summary

The namespace server is offline because the Distributed File System service is not running.

Causes

The Distributed File System service is set to start Automatically, but is not running. A service can stop for many reasons, including:

Resolutions

Start the Distributed File System service

To start the service remotely by using the sc command, open a command prompt window and then type the following command, where <servername> is the name of the remote server:

sc <servername> start dfs

Note: To restart a service, you must be a member of the local Administrators group on the affected server.

Verification

This monitor resets to the Healthy state automatically after the service starts. To manually confirm that the service is started, type the following command:

sc <servername> query dfs

Element properties:

TargetMicrosoft.Windows.FileServer.DFSN.2003.Service
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DFS-N: Distributed File System Service is not Running
The following namespace server is offline because the Distributed File System service is not running: {0}.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServer.DFSN.2003.Service.AvailabilityState" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServer.DFSN.2003.Service" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.FileServer.DFSN.2003.Service.AvailabilityState_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>High</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>Dfs</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>