Terminal Server service state

Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TerminalServer.ServiceStateMonitor (UnitMonitor)

Knowledge Base article:

Summary

This monitor tracks the state of the Terminal Server (TermService) service and will change state depending on whether the service is running or not.

The terminal server role service relies on the Terminal Services service to be running in order to accept remote connections. Remote Desktop also relies on the Terminal Services service in order to support remote connections for administrative purposes.

Resolutions

To resolve this issue, start the Terminal Services service on the computer. If the problem persists, restart the computer.

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 Terminal Services service:

Element properties:

TargetMicrosoft.Windows.Server.2008.TerminalServicesRole.Service.TerminalServer
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Terminal Server service state
The "Terminal Server" service (TermService) is not running on {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TerminalServer.ServiceStateMonitor" Accessibility="Public" Enabled="onStandardMonitoring" Target="Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TerminalServer" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TerminalServer.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>