IT Employment

General discussion


Anyone know how to find out last time a user logged in

By wcheng3000 ·
On Windows 2000 Active Directory server?
Like how can i find out the logs and where to look.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

NET command

by Joseph Moore In reply to Anyone know how to find o ...

The last logon time for a domain account is kept in the user account information in AD.
From your workstation (if you are a Domain Admin in AD) you can run this command from the Command Prompt:


So, say you want to see the last logon date/time for user JOE. You would run:

And you would get something like this:

H>net user JOE /domain
The request will be processed at a domain controller for domain MYDOMAIN.

User name JOE
Full Name Joseph Moore
Comment Network Engineer
User's comment
Country code 000 (System Default)
Account active Yes
Account expires Never

Password last set 7/2/2004 9:24 AM
Password expires 8/16/2004 9:24 AM
Password changeable 7/2/2004 9:24 AM
Password required Yes
User may change password Yes

Workstations allowed All
Logon script sys.bat
User profile
Home directory \\DC01\JOE$
Last logon 7/19/2004 10:55 AM

Logon hours allowed All

Local Group Memberships *Administrators
Global Group memberships *Domain Users *Domain Admins
*GROUP1 *Managers
The command completed successfully.

So, see the "Last Logon" entry?

hope this helps

Related Discussions

Related Forums