Terminal Services Log

Posted on 2006-04-28
Last Modified: 2010-02-25
Got a good one here folks,
  CEO just found out that people actually can work from home through a computer connection. (cracks me up...)

I've had terminal services and TS manager set up for years for folks to work from home...but I'm not a TS Expert by any means.

Is there a log file that will give a summary on a terminal Services session length by login?
Question by:lrbrister
    1 Comment
    LVL 12

    Accepted Solution

    I am not aware of any log files for TS, but I have included information below on the TS logging service. As always ensure you have backups before editing the registry. hth

    How to turn on the Terminal Services Session Directory logging service
    View products that this article applies to.
    Article ID : 327508
    Last Review : March 3, 2006
    Revision : 7.0
    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
    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.
    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.1. Stop the Terminal Services Session
    Directory service.
    2. In the registry, locate the following key:
    3. If the Parameters key does not exist, create it.
    4. Add the following DWORD value:
    5. Select the option you want: • 0 (no output)
    • 1 (output to debugger)
    • 3 (output to log file)
    6. 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
    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
    We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
    This video discusses moving either the default database or any database to a new volume.
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now