確定已正確設定安全性群組和 TS 閘道管理的群組

Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSGateway.EventCollection.563.564.565 (Rule)

Knowledge Base article:

解決方式

若要解決此問題,請進行下列步驟:

在 TS RAP 中檢查安全性群組和 TS 閘道管理的電腦群組設定

附註:除了符合 TS RAP 的需求以外,用戶端的使用者還必須擁有以本機方式登入他們嘗試連線之電腦的權限。

若要執行此程序,您必須擁有本機 Administrators 群組的成員資格,或者您必須已經被委派適當的權限。

若要在 TS RAP 中檢查安全性群組和 TS 閘道管理的電腦群組設定:

若要執行這些程序,您不需要擁有本機 Administrators 群組的成員資格。因此,基於安全性最佳作法,請考慮以不含系統管理認證的使用者身分執行這些工作。

確認 TS RAP 中指定的 Active Directory 安全性群組是否存在,並且在這個群組中檢查用戶端的帳戶成員資格

若要確認 TS RAP 中指定的 Active Directory 安全性群組是否存在:

若要在這個安全性群組中檢查用戶端的帳戶成員資格:

確認 TS RAP 中指定的本機安全性群組是否存在,並且在這個群組中檢查用戶端的帳戶成員資格

若要確認 TS RAP 中指定的本機安全性群組是否存在,並且在這個群組中檢查用戶端的帳戶成員資格:

如果這樣做無法解決此問題,請確定已將正確的權限授與 rap.xml 檔案。

確定已將所需的權限授與 rap.xml

若要執行此程序,您必須擁有本機 Administrators 群組的成員資格,或者您必須已經被委派適當的權限。

若要確定已將所需的權限授與 rap.xml:

Element properties:

TargetMicrosoft.Windows.Server.2008.TerminalServicesRole.Service.TSGateway
CategoryEventCollection
EnabledTrue
Event SourceMicrosoft-Windows-TerminalServices-Gateway
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
確定已正確設定安全性群組和 TS 閘道管理的群組
{0}
Event LogMicrosoft-Windows-TerminalServices-Gateway/Admin

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.TSGateway.EventCollection.563.564.565" Enabled="onStandardMonitoring" Target="Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSGateway" 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>Microsoft-Windows-TerminalServices-Gateway/Admin</LogName>
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(563|564|565)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-TerminalServices-Gateway</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.TSGateway.EventCollection.563.564.565.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>