Solved

Track and log user login and logout

Posted on 2008-06-13
5
7,550 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
[X]
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
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

735 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