Solved

Track and log user login and logout

Posted on 2008-06-13
5
7,539 Views
Last Modified: 2013-11-21
What is the best way to track and log user login and log out on a Terminal Server.  We need this in order to be able to report to HR how much time remote users use the Terminal server.
0
Comment
Question by:menreeq
  • 3
5 Comments
 
LVL 8

Expert Comment

by:pzozulka
ID: 21783400
Your Event Log Management Solution for Compliance, Security and More

http://www.tntsoftware.com/Products/ELMLogManager.aspx
0
 
LVL 8

Expert Comment

by:pzozulka
ID: 21783413
0
 
LVL 8

Accepted Solution

by:
pzozulka earned 500 total points
ID: 21783421
ELM Event Log Monitor includes a pre-configured Audit - Logon/Logoff Activity Report which can be scheduled to run daily/weekly....and sent to a shared File/Folder.
0
 

Author Closing Comment

by:menreeq
ID: 31467115
Thanks, we decided to try this one first as it seems a bit less involved:

https://www.greyware.com/software/logonmon/index.asp
0
 
LVL 15

Expert Comment

by:Praveen Venu
ID: 23226550
Write Windows service, you will get  Login/Log off  sessesion change  in  
protected override void OnSessionChange(
                  SessionChangeDescription changeDescription)
        {


   if (changeDescription.Reason == SessionChangeReason.SessionLogon)
            {
              //  write information to file/table
            }
            if (changeDescription.Reason == SessionChangeReason.SessionLogoff)
            {
              //  write information to file/table
            }
 
        }
 
 and install this in your remote server machine.
http://www.codeproject.com/KB/system/WindowsService.aspx?display=PrintAll&fid=313910&df=90&mpp=25&noise=3&sort=Position&view=Quick&fr=126
 
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Mapping Drives using Group policy preferences Are you still using old scripts to map your network drives if so this article will show you how to get away for old scripts and move toward Group Policy Preference for mapping them. First things f…
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

943 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

6 Experts available now in Live!

Get 1:1 Help Now