Partager via


Event ID 1014 — TS Session Broker Server Availability

Applies To: Windows Server 2008

The Terminal Services Session Broker (TS Session Broker) server relies on the Terminal Services Session Broker service to be running in order to perform session load balancing between terminal servers in a farm, and to reconnect a user to an existing session in a load-balanced terminal server farm.

Note: TS Session Broker was formerly called Terminal Services Session Directory.

Event Details

Product: Windows Operating System
ID: 1014
Source: Microsoft-Windows-TerminalServices-SessionBroker
Version: 6.0
Symbolic Name: EVENT_COULDNOTCREATEDIR
Message: The Terminal Services Session Broker service could not start because it was unable to create a directory that it needs to run.
Error code: %1.

Resolve

Increase available disk space or fix permissions

To resolve this issue, do one of the following:

  • Increase the amount of available disk space.
  • Ensure that the tssesdir folder has the correct permissions.

To peform these tasks, refer to the following sections.

Increase the amount of available disk space

Use Windows Explorer to free up disk space on the drive on which the operating system is installed, and then start the Terminal Services Session Broker service. To start the Terminal Services Session Broker service, see the section titled "Start the Terminal Services Session Broker service."

Ensure that the tssesdir folder has the correct permissions

The tssedir folder is located in the %systemroot%\system32 folder (where %systemroot is the folder in which the operating system is installed, which is, by default, c:\windows).

To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

To check the permissions of the tssesdir folder:

  1. On the TS Session Broker server, click Start, click Run, type %systemroot%\system32 and then click OK.

  2. Right-click the tssesdir folder, and then click Properties.

  3. On the Security tab, click Advanced.

  4. In the Advanced Security Settings dialog box, confirm that the Permission column for SYSTEM and Administrators displays Full control and that the Apply To column displays This folder, subfolders and files. If the permissions listed for SYSTEM or Administrators are not correct, click Edit to change the permissions, change the permissions as needed, and then click OK.

  5. In the Advanced Security Settings dialog box, click tssdis, and then click Edit.

    Note:  If tssdis is not listed in the Advanced Security settings dialog box, click Edit, and then click Add. Ensure that the computer name is listed in From this location, and then in the Enter the object name to select box, type NT Service\tssdis. Click OK, and then configure the appropriate permissions as detailed in the next step.

  6. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.

  7. In the Advanced Security Settings dialog box, click Edit.

  8. In the Permission Entry dialog box, confirm that Apply to is set to This folder and subfolders and that all the check boxes in the Allow column are selected except for the following:

    • Full Control
    • Read attributes
    • Write attributes
    • Delete subfolders and files
  9. If the permissions are not set correctly, change the permissions as needed, and then click OK.

  10. Click OK to close the Advanced Security Settings dialog box. If you have changed permissions, and a warning dialog box about changing permission settings on system folders appears, click Yes.

After you have checked or changed the permissions on the tssesdir folder, start the Terminal Services Session Broker service.

Start the Terminal Services Session Broker service

To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

To start the Terminal Services Session Broker service:

  1. 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.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. In the Services pane, right-click Terminal Services Session Broker, and then click Start.
  4. Confirm that the Status column for the Terminal Services Session Broker service displays Started.

Verify

To verify that the TS Session Broker server is available, ensure that the Terminal Services Session Broker service is running.

To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

To check the Terminal Services Session Broker service:

  1. 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.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. In the Services pane, locate Terminal Services Session Broker.
  4. Confirm that the Status column for the Terminal Services Session Broker service displays Started.

TS Session Broker Server Availability

Terminal Services