Solved

Last Logged in User

Posted on 2010-09-13
6
425 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
  • 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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

You can provide a virtual interface for remote stakeholders in a SWOT analysis through a Google Drawing template. By making real time viewing and collaboration possible, your team can build a stronger product.
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

914 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now