When did I log on to my WIndows 7 machine this morning?
I would like to find a record of my exact login time this morning. But here's the wrinkle: Our sys admins will not let us open a command shell or view security logs. This makes this question rather different from other similar questions I have seen on this site. Any ideas? Thanks.
Solution 1:
I'm in the same boat as you (no command prompt) and this worked for me:
Create a new file containing the following lines:
quser
pause
Rename the file to something like "loginTime.bat" and double-click it.
This is a combination of Will.Benniger's answer on this page, and paradd0x's found here: Show Windows 7 logon time?
Solution 2:
if you cannot open Eventvwr and view security logs, you will not be able to determine this. if you can, look for event id 4624. the login type param will tell you what kind of login it was. look for 2 (user login), and 7 (account unlocked; if you don't logout/shutdown overnight).
http://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=4624
Solution 3:
You can try to use a batch file that would display it for you in the command prompt and pause waiting for input. This will typically circumvent the usual lazy IT method of blocking CMD.
Open a notepad document and insert the following:
net user YourUsernameHere /domain | findstr Last
pause
After, save it as logontime.bat
Double click the batch file that you saved and it should come up under Last Logon