TS 授权服务状态

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

终端服务授权服务状态

Knowledge Base article:

摘要

此监视器将跟踪终端服务器许可证服务器 (termservlicensing) 服务的状态,并将根据该服务是否正在运行来更改状态。

只有在运行终端服务授权服务的情况下,终端服务许可证服务器才能安装和颁发终端服务客户端访问许可证 (TS CAL),并跟踪其可用性。

解决方法

若要解决此问题,请在终端服务许可证服务器上启动终端服务授权服务。

若要执行此过程,您必须拥有本地 Administrators 组成员身份,或者您必须被委派了适当的权限。

若要启动终端服务授权服务,请执行以下操作:

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
终端服务授权服务状态
{0} 上的“终端服务授权”服务 (termservlicensing) 未运行
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>