Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Track and log user login and logout

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This article runs through the process of deploying a single EXE application selectively to a group of user.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
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.

791 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