Sign in to follow this  
Followers 0
HeidiR

List of all Windows user's and their last logon date

2 posts in this topic

Is there a way to get a list of all Windows user's and their last logon date? I have been searching my eyes out and can not find anything. I did find a way to get the current user's logon date using wmi but not all users. Any ideas?


HeidiRFind free applications, code examples and more on my site at:http://heidisdownloads.com/

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hello All,

After some additional research and testing, I created a solution using the Windows NET command. For future reference, a function that returns a user's last login date can be downloaded at the following link:

http://autoit.netfirms.com/public/

Enjoy!

Edited by HeidiR

HeidiRFind free applications, code examples and more on my site at:http://heidisdownloads.com/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0