在终端服务许可证服务器上创建“Terminal Server Computers”本地组或向该组添加终端服务器

Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSLicensing.71.4140.4141 (Rule)

Knowledge Base article:

摘要

若要解决此问题,请在终端服务许可证服务器上创建 Terminal Server Computers 本地组,或者将终端服务器的计算机帐户添加到终端服务许可证服务器上的 Terminal Server Computers 本地组。

解决方法

在终端服务许可证服务器上创建 Terminal Server Computers 本地组

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

若要创建 Terminal Server Computers 组,请执行以下操作:

注意:如果许可证服务器安装在 Active Directory 域服务 (AD DS) 域控制器中,请使用“Active Directory 用户和计算机”管理单元创建 Terminal Server Computers 组。若要在域控制器中创建 Terminal Server Computers 组,您必须拥有 AD DS 中的 Domain Admins 组的成员身份,或者您必须被委派了适当的权限。若要打开“Active Directory 用户和计算机”,请单击“开始”,再单击“运行”,键入 dsa.msc,然后单击“确定”。

注意:当启用“许可证服务器安全组”组策略设置并将其应用于一个许可证服务器时,该许可证服务器将只会响应来自其计算机帐户是 Terminal Server Computers 本地组成员的终端服务器的许可证请求。此组策略设置可以在 Computer Configuration\Administrative Templates\Windows Components\Terminal Services\TS Licensing 中找到。

向终端服务许可证服务器上的 Terminal Server Computers 本地组中添加终端服务器的计算机帐户

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

若要将终端服务器的计算机帐户添加到 Terminal Server Computers 组中,请执行以下操作:

注意:如果许可证服务器安装在 Active Directory 域服务 (AD DS) 域控制器中,请使用“Active Directory 用户和计算机”管理单元来将终端服务器的计算机帐户添加到 Terminal Server Computers 组中。若要将终端服务器的计算机帐户添加到域控制器中的 Terminal Server Computers 组,您必须拥有 AD DS 中的 Domain Admins 组的成员身份,或者您必须被委派了适当的权限。若要打开“Active Directory 用户和计算机”,请单击“开始”,再单击“运行”,键入 dsa.msc,然后单击“确定”。

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
在终端服务许可证服务器上创建“Terminal Server Computers”本地组或向该组添加终端服务器
{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.71.4140.4141" 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>^(71|4140|4141)$</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.71.4140.4141.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDescription$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>