TS Licensing Service State

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

Terminal Services Licensing service state

Knowledge Base article:

Summary

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

The Terminal Services license server relies on the Terminal Services Licensing service to be running in order to install, issue, and track the availability of Terminal Services client access licenses (TS CALs).

Resolutions

To resolve this issue, start the Terminal Services Licensing service on the Terminal Services license server.

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 Licensing service:

Element properties:

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

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSLicensing.ServiceStateMonitor" Accessibility="Public" Enabled="onStandardMonitoring" Target="Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSLicensing" 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.TSLicensing.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>termservlicensing</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>