Solved

Track and log user login and logout

Posted on 2008-06-13
5
7,542 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WriteBack Attribute permission on domain level 13 57
GPupdate /sync 1 34
Active Directory Failed Logon Attempts. 18 50
Enterprise Mode 4 28
Synchronize a new Active Directory domain with an existing Office 365 tenant
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html) provided 218 attendees with a step-by-step guide for identifying Acti…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

815 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