How do I find the last login date in Active Directory?
Step 1: Open Active Directory Users and Computers and make sure Advanced features is turned on. Step 2: Browse and open the user account. Step 3: Click on Attribute Editor. Step 4: Scroll down to view the last Logon time.
Why is last logon different from LastLogonTimeStamp?
Use the most recent attribute. Lastlogon is only updated on the domain controller that performs the authentication and is not replicated. LastLogontimestamp is replicated, but by default only if it is 14 days or more older than the previous value.
What is last login timestamp?
This is the time that the user last logged into the domain. This value is stored as a large integer that represents the number of 100-nanosecond intervals since January 1, 1601 (UTC). Whenever a user logs on, the value of this attribute is read from the DC.
How accurate is LastLogonTimeStamp?
Lastlogon is precise but shows when the user logged in to that specific DC and is not replicated to others. Basically Lastlogontimestamp is great for your purpose of finding stale objects in AD, but it is not very precise.