Re: How to get Last Logon Time/Date

  • Thread starter Thread starter John Wunderlich
  • Start date Start date
J

John Wunderlich

I am doing an Active Directory objects cleanup on W2K but do not
know where to look for information about the last logon time/date
of a particular domain userid. I heard that the last logn
details could be retrieved through some programming procedure.
Is there way which is easier to do? Appreciate if anyone could
help.

try:
net user <username>
or
net user <username> /DOMAIN

HTH,
John
 
John said:
try:
net user <username>
or
net user <username> /DOMAIN
Hi

I would think this only work in a single DC domain environment because
the "lastLogon" attribute is not replicated, a different value is
stored on each Domain Controller (DC) for each user or computer.
 
The easiest method by far is to use the Account Lockout and Management tools
provided by Microsoft.

Either use Accountlockout.exe or prefererably copy the acctinfo.dll file to
you system32 folder and then register it using regsvr32.
You will then get an extra tab called Additional Account info added to AD
Users and Computers which will have all the info you need.

ALTools.exe can be download from
http://www.microsoft.com/downloads/...9C-91F3-4E63-8629-B999ADDE0B9E&displaylang=en
(You may need to cut and paste the link into your browser if it is split
across two lines)

Hope this helps.

Lolbert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top