How to Setup Windows 2003 Terminal Services Session Directory Logging
How to Setup Windows 2003 Terminal Services Session Directory Logging
HKLM\SYSTEM\CurrentControlSet\Services\Tssdis\Parameters
\TraceOutputMode
TraceOutputMode = 3
Where ? %systemroot%\system32\tssdis.log
The Terminal Services Session Directory Service, Tssdis, is configured via the following registry
key: HKLM\SYSTEM\CurrentControlSet\Services\Tssdis. The service itself is implemented in the
executable file %Systemroot%\System32\tssdis.exe, which uses %systemroot%\system32\tssesdir for data
storage, including the database file tssesdir.edb.
To enable trace logging of Session Directory activities,
add a TraceOutputMode DWORD 3 value:
to the following key on the Session Directory server:
HKLM\SYSTEM\CurrentControlSet\Services\Tssdis
\Parameters\TraceOutputMode
Supported value data:
0: No output
1: output to debugger
2: output to command window (this only applies to starting tssdis
by “tssdis.exe –debug” in cmd, for debugging use)
3: output to log file
When TraceOutputMode is set to 3, Tssdis creates the file tssdis.log in %systemroot%\system32.


Leave a Reply