Purchase and install TS CALs onto the license server

Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSLicensing.EventCollection.20.22 (Rule)

Knowledge Base article:

Resolutions

To resolve this issue, purchase and install the appropriate type of Terminal Services client access licenses (TS CALs) onto the Terminal Services license server. For more information about TS CALs, see "Terminal Services Client Access Licenses (TS CALs)" in the TS Licensing Manager Help in the Windows Server 2008 Technical Library ( http://go.microsoft.com/fwlink/?LinkId=101639).

Important:  The Terminal Services licensing mode configured on a terminal server must match the type of TS CALs available on the license server.

Purchase TS CALs

To purchase TS CALs, do one of the following, depending on your country or region:

Install TS CALs on to the license server

Note:  The automatic TS CAL installation method requires Internet connectivity from the computer running the TS Licensing Manager tool. Internet connectivity is not required from the license server itself. This method uses TCP/IP (TCP port 443) to connect directly to the Microsoft Clearinghouse. You can also install TS CALs onto the license server by using a Web browser or by the using the telephone. For more information about these installation methods, see "Install Terminal Services Client Access Licenses" in the TS Licensing Manager Help in the Windows Server 2008 Technical Library ( http://go.microsoft.com/fwlink/?LinkId=101643).

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

To install TS CALs automatically:

Element properties:

TargetMicrosoft.Windows.Server.2008.TerminalServicesRole.Service.TSLicensing
CategoryEventCollection
EnabledTrue
Event SourceMicrosoft-Windows-TerminalServices-Licensing
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
Purchase and install TS CALs onto the license server
{0}
Event LogSystem

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSLicensing.EventCollection.20.22" Enabled="onStandardMonitoring" Target="Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSLicensing" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(20|22)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-TerminalServices-Licensing</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertName/>
<AlertDescription/>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSLicensing.EventCollection.20.22.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>