locked
Last Login Time for all users RRS feed

  • Question

  • Is there a script to show me the last login time for all domain users?  I'm not interested in how long they stayed logged in and when they logged out.

    I need to know when the last time they logged in was, so I can make rational decisions about which accounts to lock out without impacting active users.

    I've just come into an environment and there are no locked accounts, hundreds of logins and only 50 or so local users.  So I can attempt to secure things, I need to know which users are active, so I can start securing logins and eliminating some vulnerabilities, while minimizing the impact to active users.

    tia!

    Yes, I searched for "how do I find the last login time in AD" in answer to your snark.  All I could find at the time was singleton and I needed to find it for 200 logins.  So yes, I could have gone it with the attribute editor and gotten everyone and added it to an excel sheet, but that's not what I was looking for.  It's also not necessary to be a jerk when someone with less experience is asking a question.  I'll remember that the next time you ask a database question.
    "Shows no research effort."  Whatever.  I searched for an answer to that question for several days before I posted.  But thanks for your "help" anyway.


    • Moved by Bill_Stewart Thursday, July 9, 2015 4:50 PM Poor quality question/shows no research effort
    • Edited by spackle Monday, October 22, 2018 11:09 PM
    Thursday, May 28, 2015 4:51 PM

Answers