Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Log user active session time (excluding screensaver active time)

Posted on 2011-03-07
3
Medium Priority
?
669 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 21

Accepted Solution

by:
Jeremy Weisinger earned 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
A hard and fast method for reducing Active Directory Administrators members.
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 …
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …

662 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