Event ID - 1011

Event Id1011
SourceMicrosoft-Windows-TerminalServices-SessionBroker
DescriptionThe TS Session Broker service failed to start because of a problem during database initialization.
Error code: %1.
Event InformationAccording to Microsoft :
Cause :
This event is logged when the TS Session Broker service failed to start because of a problem during database initialization.
Resolution :
Delete the files in the tssesdir folder and then restart the Terminal Services Session Broker service
To resolve this issue, do the following:
  • Delete the files in the tssesdir folder.
  • Start the Terminal Services Session Broker service.To perform these tasks, refer to the following sections.
    Delete the files in the tssesdir folder
    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 delete the tssesidr folder:
    1. On the TS Session Broker server, click Start, click Run, type %systemroot%\system32 and then click OK.
    2. Open the tssesdir folder, and then on the Edit menu, click Select All.
    3. Press the DELETE key, and then click Yes.
    After you have deleted the files in the tssesdir folder, start the Terminal Services Session Broker service. Starting the Terminal Services Session Broker service will create the necessary files in the tssesdir folder.
    Note : If the tssesdir folder does not exist on the TS Session Broker server, see the section titled "Create the tssesdir folder."
    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 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.
    Create the tssesdir folderIf the tssesdir folder does not exist on the TS Session Broker server, you will need to create the folder and assign the appropriate permissions to the folder. After you have created the folder and assigned the appropriate permissions, start the Terminal Services Session Broker service so that the necessary files will be created in the tssesdir folder.
    To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
    To create the tssesdir folder:
    1. On the TS Session Broker server, click Start, click Run, type %systemroot%\system32 and then click OK.
    2. On the File menu, point to New, and then click Folder.
    3. Type tssesdir, and then press ENTER.
    4. Right-click the tssesdir folder, and then click Properties.
    5. On the Security tab, click Advanced, and then click Edit.
    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 Add.
    8. Ensure that the computer name is listed in From this location. If the computer name is not listed, click Locations, select the computer name, and then click OK.
    9. In the Enter the object name to select box, type NT Service\tssdis, and then click OK.
    10. In Apply to, select This folder and subfolders.
    11. Under Permissions, select all the check boxes in the Allow column except for the following:
      • Full Control
      • Read attributes
      • Write attributes
      • Delete subfolders and files
    12. Click OK to close the Permission Entry dialog box, and then click OK to close the Advanced Security Settings dialog box.
    13. If a warning dialog box about changing permission settings on system folders appears, click Yes.
    14. Click OK to close the remaining dialog boxes.
    15. Start the Terminal Services Session Broker service. To perform this task, refer to the previous section.
    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.
Reference LinksEvent ID 1011 from Source Microsoft-Windows-TerminalServices-SessionBroker

Catch threats immediately

We work side-by-side with you to rapidly detect cyberthreats
and thwart attacks before they cause damage.

See what we caught

Did this information help you to resolve the problem?

Yes: My problem was resolved.
No: The information was not helpful / Partially helpful.