On Windows 7 Ultimate, is there a way to see when I logged on into the current session?
I want to find out how long I have been at the PC / when I started it up.
Use the following command in a Command Prompt:
net user [username]
It will be next to Last Logon.
EDIT
If your screen becomes locked and you use the method above it will display the last time the screen was unlocked. You will have to use this command below to get the initial login time:
quser
I had the same issue for a network PC and this gave me results I was looking for:
wmic netlogin get name, fullname, lastlogon
...this will provide info for all users that have logged in.
You can also use
systeminfo
and next to
System Boot Time:
It will be in the format
9/17/2011, 10:16:38 PM
Do this at a command line, I think it will show what you want:
net statistics server
The "Statistics since 7/12/2011 6:28:15 PM" line is the last time the computer was rebooted.
i am not a computerwizard, i am regularly using a utility may be it will help you login timer showing the system boot time here link http://logintimer.weebly.com
The exact answer probably depends on your exact situation.
The 'query user' or 'quser' command will show the last time you logged into the computer.
The 'net user ' command works, if you're not on a Domain. But (as someone else pointed out), this will show the last time you unlocked your screensaver.
If you're on a Domain, the 'net user /domain' command will show the last time that you logged into the Domain. But note that this time can differ from the last time you logged into the server.
If you sit down and power on your server every day, then the 'net statistics server' or 'net stats srv' command will show you the power-on time. Note that this time is not changed when the server hibernates or sleeps.