List out last logged on users over a periode

Hi,

Just to be clear, im not a powershell or script person, so thats why im asking for help here.

I want to find a script that can list out the latest logged on users and when they logged out. I want this script to run on both windows 7 and windows server 2008 r2 and 2012. It needs to record both console and RDP.

I know the eventlog records every login, but for me to try to find out how to script this out, its not possible :) So if there is a script or a free program if thats an option that would be greate. If the output could be something like this.

It must take for example the last week or month, and not only the last user logged on, and it must be real user domain accounts.

Date and time logged in - Date and time logged out - Username

Thanks for any reply

/Regards

A

September 11th, 2015 4:24pm

You will have to write a script to get that.

Have you looked in the repository?

Free Windows Admin Tool Kit Click here and download it now
September 11th, 2015 4:34pm

Hi,

Yes i have search a lot, and googled a lot, but cant find that a script with that info, just the regular last logged on user :(

September 11th, 2015 4:42pm

Then I guess you will have to write a script.  That is what scripting is for.
Free Windows Admin Tool Kit Click here and download it now
September 11th, 2015 4:47pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics