LogEvents レジストリ キーに必要なアクセス許可が与えられ、リモート レジストリ サービスが開始していることを確認してください

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

Knowledge Base article:

解決策

この問題を解決するには、LogEvents レジストリ キーに正しいアクセス許可が付与されていることを確認します。 それでも問題を解決できない場合は、リモート レジストリ サービスが開始されていることを確認してください。

この手順を実行するには、ローカルの Administrators グループのメンバであるか、適切な権限を委任されている必要があります。

LogEvents レジストリ キーに必要なアクセス許可を付与する

注意: レジストリを誤って編集すると、システムに重大な障害をもたらす可能性があります。 レジストリを変更する前に、重要なデータのバックアップを作成するようにしてください。

LogEvents レジストリ キーに必要なアクセス許可を付与するには、次の手順を実行します。

問題が引き続き発生する場合は、リモート レジストリ サービスが開始されているかどうかを判断し、開始されていない場合はサービスを開始してください。

リモート レジストリ サービスが開始されているかどうかを判断する

リモート レジストリ サービスが開始されているかどうかを判断するには、次の手順を実行します。

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
LogEvents レジストリ キーに必要なアクセス許可が与えられ、リモート レジストリ サービスが開始していることを確認してください
{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.505.507" 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>^(505|507)$</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.505.507.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>