Event ID - 1007

Event Id1007
SourceMicrosoft-Windows-TerminalServices-SessionBroker
DescriptionThe TS Session Broker service failed to set the working directory retrieved from the registry.
Error code: %1
Event InformationAccording to Microsoft :
Cause :
This event is logged when the TS Session Broker service failed to set the working directory retrieved from the registry.
Resolution :
Create folder specified in the registry or delete the registry entry
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.
  1. On the TS Session Broker server, open Registry Editor. To open Registry Editor, click Start, click Run, type regedit, and then click OK.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. Locate the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tssdis\Parameters registry subkey.
  4. In the right-pane, locate the WorkingDirectory entry, and then view the value for the entry in the Data column.
  5. 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.
  1. On the TS Session Broker server, open Registry Editor. To open Registry Editor, click Start, click Run, type regedit, and then click OK.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. Locate the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tssdis\Parameters registry subkey.
  4. In the right-pane, right-click the WorkingDirectory entry, and then click Delete.
  5. 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:
  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 Restart.
  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.
Reference LinksEvent ID 1007 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.