Discussion Locked

Is there a way to record users logon & l

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I want to know that is there a way to record user's logon & logoff times in Windows 2000 server.(Active Directory)?

9 replies

by erikdr

Well, only a portion of the points suffices for me:
YES. Look under 'Auditing' in the Policies sections of W2K.

More detail info hopefully from others. Sorry, no W2K manuals nearby...

At your service,

- The Netherlands

by faisalmasood

I got logoff & logon events in event viewer. Actually we r planning to make an ASP application in which we can record users 1st logon & last logoff times, in order to track their daily presence record. & we want to make it in such a way that as user logon to his pc his attendence is marked automatically. We also want to add some restrictions on that application like user / admin rights etc. That application will be browser enabled.

But main problem is how to track user log on/off info in our application.

Any suggestions are welcome.

by lo

Humm, now I am confused. Are the login/logout you are trying to capture login/out to a Win Server, User's Work Station or use of an application on the Workstation (server?)

If from an application (I think your last comment to a post prior to this), then you can (should) be able to update a file with the user account data and a time stamp. If there is a security issue, set it up with a client (in the applicaton) and a server (wherever). Might design so that the record has a login/out in 1 record, server generates some unique key, pass back to client. Initial creation writes login/logout for login time. Ever N periods (minutes, seconds, whatever), client sends a 'new' logout with unique key. Server updates logout for that key with new logout time. This will give you as close as N to a true logout in case of a crash, lost network, etc. Whent he application really logs out, send logout again (possibly with an "I am done").

This discussion is closed to new replies.