Remote Desktop Services Service Status

Microsoft.Windows.Server.10.0.RDSessionHostServer.ServiceStateMonitor (UnitMonitor)

This monitor checks whether the Remote Desktop Services service is running.

Knowledge Base article:

Summary

The Remote Desktop Session Host server is unavailable because the Remote Desktop Services service is not running.

Causes

An unhealthy state of this monitor indicates that the Remote Desktop Services service is set to start Automatically, but is not running. A service can stop for many reasons, including:

Resolutions

To resolve this issue, start the Remote Desktop Services service. If the problem persists, restart the Remote Desktop Session Host server. After the server has restarted, confirm that the Remote Desktop Services service has started.

To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

To start the Remote Desktop Services service:

1. On the RD Session Host server, open the Services snap-in. To open the Services snap-in, click Start, point to Administrative Tools, and then click Services.

2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.

3. In the Services pane, right-click Remote Desktop Services, and then click Properties.

4. On the General tab, ensure that Startup type is set to Automatic. If it is not, click Automatic, and then click Apply.

5. Under Service status, click Start.

6. Click OK to close the Remote Desktop Services dialog box.

Confirm that the Status column for the Remote Desktop Services service displays Started.

Element properties:

TargetMicrosoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDSessionHost
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
The Remote Desktop Services Service Is Not Running
The Remote Desktop Services service (termserv) is not running on {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.10.0.RDSessionHostServer.ServiceStateMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDSessionHost" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.10.0.RDSessionHostServer.ServiceStateMonitor_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>High</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>TermService</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>