在終端機服務授權伺服器上建立 "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 本機群組成員之終端機伺服器的授權要求。您可以在 [電腦設定\系統管理範本\Windows 元件\終端機服務\TS 授權] 中找到此群組原則設定。

將終端機伺服器的電腦帳戶新增至終端機服務授權伺服器的 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>