How can I find out when the users log on and log out ………….

265 pts.
Tags:
Active Directory
DNS
Microsoft Windows
Network protocols
Networking
Hi, I have a win server 2003 domain and all of my clients's OS is win xp sp2,I wana know when the users log on to domain and when log out from the domain every day. Could you please help me? Thank you. --- Regards Mahnaz
ASKED: September 5, 2006  2:59 AM
UPDATED: September 14, 2006  12:25 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Event logs would be the first place to look. You can borrow a script or write one that can collect all user logons, successful and unsuccessful and present them in excel format.

Bruce

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • BIGFella
    If your running a 2003 AD domain, the simply and most efective way would be to enable "Audit logon events" with a policy setting of "Success" using group policy which can be found under computer configuration - windows settings - security settings - local policies - audit policy. At which level you would assign this policy setting would be up to your specific needs.
    0 pointsBadges:
    report
  • BIGFella
    Applogoies forgot to say that logon and logoff events would then be recorded in the security event log of the domain controller(s). just remember to adjust the log file settings on the DC's to accomodate the necessary amount of audit history that you would require.
    0 pointsBadges:
    report
  • PDMeat
    Others gave the right reply- to use group polic to enforce an audit policy on all workstations and servers to audit logon and logoff activity. Auditing can easily generate hundreds of thousands of security events with a few dozen users so you may find you either need to dump the event log daily with a vbs script or perhaps consider an event logging software product. I'm testing manage engine event log analyzer and it's pretty cool. It will record up to 5 hosts for free in its mysql db and it will auto archive for you so the logs dont get out of control. very handy for your situation. You could also just use logon and logoff scripts in group policy and write something that logs to a file on public share or perhaps even to a database but I'd stick with auditing and use manage engine to record it all. Just get a lot of space to keep all the logs!
    0 pointsBadges:
    report
  • TittyFan
    Hi Aliyani You can find instruction on how configure audit policies on your server at the following link: http://technet2.microsoft.com/WindowsServer/en/library/d9fea7ea-61e5-43b1-98cd-b02a09f101561033.mspx?mfr=true best regards
    0 pointsBadges:
    report
  • Tsmooth
    I know of an even easier solution than than the ones mentioned (which were all great by the way), it's called acctinfo tool for microsoft servers. This is a free tool from microsoft with a bunch of other cool stuff for an active directory domain that will give you the information you need and more. For example, it will show when users logon or off, when their passwords expires, and much more. Here's the link: http://www.microsoft.com/downloads/details.aspx?FamilyID=7AF2E69C-91F3-4E63-8629-B999ADDE0B9E&displaylang=en
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following