若要解决此问题,请向 TS 会话 Broker 服务器上的 Session Directory Computers 本地组中添加终端服务器的计算机帐户。
重要说明:如果被拒绝访问的计算机不是用于记录此情况的 TS 会话 Broker 服务器所服务的终端服务器场的一部分,则无需进一步的操作。
若要执行此过程,您必须拥有本地 Administrators 组成员身份,或者您必须被委派了适当的权限。
若要将终端服务器的计算机帐户添加到 Session Directory Computers 本地组,请执行以下操作:
在 TS 会话 Broker 服务器上,打开“本地用户和组”管理单元。若要打开“本地用户和组”,请单击“开始”,再单击“运行”,键入 lusrmgr.msc,然后单击“确定”。
如果出现“用户帐户控制”对话框,请确认它显示的是所需操作,然后单击“继续”。
在左窗格中,单击“组”。
在右窗格中,右键单击“Session Directory Computers”组,然后单击“属性”。
单击“添加”。
在“选择用户、计算机或组”对话框中,单击“对象类型”。
选中“计算机”复选框,然后单击“确定”。
找到将使用 TS 会话 Broker 服务器的终端服务器的计算机帐户,然后添加该帐户。
单击“确定”以关闭“选择用户、计算机或组”对话框,然后再次单击“确定”以关闭“Session Directory Computers 的属性”对话框。
Target | Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSSessionBroker | ||
Category | EventCollection | ||
Enabled | True | ||
Event_ID | 1016 | ||
Event Source | Microsoft-Windows-TerminalServices-SessionBroker | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | System |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
Alert | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSSessionBroker.EventCollection.1016" Enabled="onStandardMonitoring" Target="Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSSessionBroker" 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>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1016</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-TerminalServices-SessionBroker</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.TSSessionBroker.EventCollection.1016.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/Params/Param[1]$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>