Question

Q: How do I view login history for my PC using Windows 7 This thread is locked from future replies

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

Answer

A:

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

Did this solve your problem?

Sorry this didn't help.

107 people were helped by this reply

Answer

A:

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

Did this solve your problem?

Sorry this didn't help.

129 people were helped by this reply



 
Question Info

Views: 440,646 Last updated: April 23, 2018 Applies to: