Solved

Log user active session time (excluding screensaver active time)

Posted on 2011-03-07
3
663 Views
Last Modified: 2012-05-11

Hello :-)

As part of new regulations in my industry (education) I am required so log how many hours my users spend in front of an active session (i.e. logged in to windows, and no screensaver active) and report this information weekly.

As I see it I have three options:

I could write an app to do it
I could use a commercial solution (if one exists).
I could pull the info out of the AD security logs (I'm not sure if I can get screensaver active time this way though)

How would you do it?

thanks for looking :-)
0
Comment
Question by:Wibble_
[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 Comments
 
LVL 18

Accepted Solution

by:
Jeremy Weisinger earned 500 total points
ID: 35060529
If you can write an app then go for it. :-)

The logs won't get you the granular info that you're looking for afaik and that can be a huge pain. In the past I've used a program called SpectorSoft that will monitor pretty much any aspect of what the user is doing. It is full fledged commercial spyware. This software will do what you're looking for and generate a nice report for you but it also does a TON of other monitoring and blocking if you configure it. So this might be overkill for what you're looking for.
http://www.spectorcne.com 
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 35060754
I suggest that you have a logon script that writes to an excel spreadsheet(.csv) that logs username, computername, date, and time. Then a logoff script that does the same.

Could be as simple as:


echo %username%,,%computername%,,Date:~0,16%,,%Time:~0,5%,,"logged on" >>\\yourserver1\logs$\logins.csv     <<<For logon.bat


echo %username%,,%computername%,,Date:~0,16%,,%Time:~0,5%,,"logged off" >>\\yourserver1\logs$\logoffs.csv    <<<For logoff.bat


The double commas make it easier to read
0
 

Author Comment

by:Wibble_
ID: 35060812
@My_Username: Perhaps you are correct, writing an app maybe the way to go. Spector is way to expensive for my needs. thanks.

@dstewartjr: Uuuh, without trying to being rude, did you actually read the title or message of my post? How would your solution deal with subtracting the screensaver active time?
0

Featured Post

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Suggested Solutions

This article runs through the process of deploying a single EXE application selectively to a group of user.
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
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…
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 to another domain controller. Log onto the new domain controller with a user account t…

734 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