To resolve this issue, do one of the following:
Create the folder that is specified in the WorkingDirectory registry entry.
Delete the WorkingDirectory registry entry.
To perform these tasks, refer to the following sections.
Create the folder that is specified in the WorkingDirectory registry entry
To perform this procedure on the TS Session Broker server, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
To create the folder specified:
Caution: Incorrectly editing the registry might severely damage your system. Before making changes to the registry, you should back up any valued data.
On the TS Session Broker server, open Registry Editor. To open Registry Editor, click Start, click Run, type regedit, and then click OK.
If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
Locate the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tssdis\Parameters registry subkey.
In the right-pane, locate the WorkingDirectory entry, and then view the value for the entry in the Data column.
Using Windows Explorer, create the folder that is referenced in the WorkingDirectory registry entry.
After you have created the folder, restart the Terminal Session Broker service. To restart the Terminal Services Session Broker service, see the section titled "Restart the Terminal Services Session Broker service."
Delete the WorkingDirectory registry entry
To perform this procedure on the TS Session Broker server, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
To delete the registry entry:
Caution: Incorrectly editing the registry might severely damage your system. Before making changes to the registry, you should back up any valued data.
On the TS Session Broker server, open Registry Editor. To open Registry Editor, click Start, click Run, type regedit, and then click OK.
If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
Locate the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tssdis\Parameters registry subkey.
In the right-pane, right-click the WorkingDirectory entry, and then click Delete.
Click Yes to confirm the deletion.
After you have deleted the registry entry, restart the Terminal Services Session Broker service.
Restart the Terminal Services Session Broker service
To perform this procedure on the TS Session Broker server, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
To restart the service:
On the TS Session Broker server, open the Services snap-in. To open the Services snap-in, click Start, point to Administrative Tools, and then click Services.
If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
In the Services pane, right-click Terminal Services Session Broker, and then click Restart.
Confirm that the Status column for the Terminal Services Session Broker service displays Started.
Target | Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSSessionBroker | ||
Category | EventCollection | ||
Enabled | True | ||
Event_ID | 1007 | ||
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.1007" 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">1007</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.1007.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>