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

x
?
Solved

How to audit user's session time on Windows 2003

Posted on 2009-04-06
5
Medium Priority
?
395 Views
Last Modified: 2012-05-06
Hi Experts:

I need to a report to tell me how long a user's session time is. Could someone tell me how to get this information on Windows server 2003?
The server is not in a domain envirnment.

Thanks
0
Comment
Question by:changjia
[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
  • 2
5 Comments
 
LVL 31

Expert Comment

by:Justin Owens
ID: 24079343
Do you want to audit console session, TS session, or both?
0
 

Author Comment

by:changjia
ID: 24079724
both sessions.
0
 
LVL 31

Expert Comment

by:Justin Owens
ID: 24079881
I am not sure of a neat way or tool to do this automatically, but you can turn on Auditing in Server 2003 to allow for you to log both the log on times and the log off times.  You could manually calculate the different or export the logs into some sort of database to parse and calculate the info.

Alternately, you could use GPO to have login scripts and log off scripts.  When invoked, you could dump the user and time data into a SQL (or db of your choice) database.  I use login scripts and logoff scripts on various servers in my domain at a domain level GPO, but you could just as easily set up the GPO on the local machine only.  If you don't have a running DB you want to dump to, you could set up MSSQL 2005 lite (or MSDE) on your local 2003 server.
0
 

Author Comment

by:changjia
ID: 24079900
how to turn on auditing on the server to log both the log on times and log off times? what are the event id that I should look for?

Thanks

0
 
LVL 31

Accepted Solution

by:
Justin Owens earned 2000 total points
ID: 24079992
To enable auditing locally in Windows Server 2003, open the Control Panel, Administrative Tools, and double click Local Security Policy. Expand Local Policies and select Audit Policy.  Look for:

Audit Account Logon Events

This tracks user logon and logoff events.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

715 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