How do I view login history for my PC using Windows 7

I want to see the login history of my PC including login and logout times for all user accounts.

 

Question Info


Last updated September 24, 2018 Views 465,346 Applies to:
Answer

I want to see the login history of my PC including login and logout times for all user accounts.


You can also use Windows® Even Viewer, to view log-in information.  

How can I: Access Windows® Event Viewer?
1.
Press + R and type
eventvwr.msc” and click OK or press Enter.
2. Expand Windows Logs, and select  Security.
3. In the middle you’ll see a list, with Date and Time,Source, Event ID
and Task Category. The Task Category pretty much explains the event,
Logon, Special Logon, Logoff and other details.  
 
I hope you find this information useful. If you need any further assistance,
please feel free to contact me and let me know.

I hope this information was helpful…

Have a nice day…

Best regards,
Fisnik


Itknowledge24.com - Follow me on Twitter:http://twitter.com/itknowledge24
- UAC Trust Shortcut 2.0 is on its way.

Geek
Former Microsoft MVP
Consumer Security
Microsoft Community Contributor

117 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Answer

The event viewer (eventvwr.exe) contains some relevant records but you would need to create your own logon/logon script through a policy in order to maintain suitable records, e.g. like so:

@echo off
if not exist c:\Logs md c:\Logs
echo Logon: %date% %time:~0,5% %UserName% >> c:\Logs\History.txt

131 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.