Microsoft KB Archive/327508

= How to turn on the Terminal Services Session Directory logging service =

Article ID: 327508

Article Last Modified on 2/28/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)

-



This article was previously published under Q327508



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SUMMARY
To troubleshoot Session Directory for Terminal Services servers, you can use the Terminal Services Session Directory logging feature. This article describes how to turn on this feature.



MORE INFORMATION
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.  Stop the Terminal Services Session Directory service. In the registry, locate the following key:

 If the Parameters key does not exist, create it. Add the following DWORD value:

TraceOutputMode

 Select the option you want:  0 (no output)</li> 1 (output to debugger)</li> 3 (output to log file)</li></ul> </li> Start the Terminal Services Session Directory service. If you selected option 3 in step 5, Terminal Service Session Directory places the output in a log file that is named Tssdis.log in the System32 folder.</li></ol>

The Terminal Services Session directory log file contains the following entries:
 * Session Directory service started
 * Session Directory service stopped
 * Machine joins session directory
 * Machine leaves session directory
 * User logs in
 * User disconnects
 * User reconnects
 * User logs out
 * Session Directory-related event log messages.

Important If you stop and then restart the Terminal Services Session Directory service, you clear all Terminal Services Session Directory data. Do this only if it is not a problem to do so.

Keywords: kbenv kbinfo KB327508

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.