?
Solved

Last Logged in User

Posted on 2010-09-13
6
Medium Priority
?
434 Views
Last Modified: 2013-11-25
Hi,

How do I find the last logged in user name  in a particular system that is in Domain?
0
Comment
Question by:Seshadrim
[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
6 Comments
 
LVL 1

Expert Comment

by:BryanBuckles
ID: 33666924
You should be able to find it in the registery here:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI
String - LastLoggedOnUser = DOMAIN\User.Name

Hope this helps.
0
 

Accepted Solution

by:
Seshadrim earned 0 total points
ID: 33666976
Hi Experts,

I Found the answer and Here it is

Go to the Event Manager-> Security Logs

Sort the Logs by Event ID and Look for ID No: 528 ( Logon / Log off). This Displays the Name of the User Logged in / Logged off.

The latest by Time stamp for this event points the Last user logged in / Logged off.

Note : This will Contains System ID's as well
0
 

Author Comment

by:Seshadrim
ID: 33667008
Hi Bryan

Sorry that I Couldn't Find the registry key Authentication under

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

In the System.

0
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 1

Expert Comment

by:BryanBuckles
ID: 33667126
Sorry that didnt help.  Glad you were able to find it though.
0
 
LVL 21

Expert Comment

by:snusgubben
ID: 33670932
Just to fill in, if you have multiple DCs it will only be logged on the DC that did the authentication. It will not replicate this information with other DCs.

To be 100 per cents certain, you should check the log on every DC and check find the latest timestamp.

Tools like EventCombMT is helpful in cases like this.

http://www.microsoft.com/downloads/en/details.aspx?FamilyId=7AF2E69C-91F3-4E63-8629-B999ADDE0B9E&displaylang=en
0
 

Author Closing Comment

by:Seshadrim
ID: 33999713
This Works
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
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…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Starting up a Project
Suggested Courses

762 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