Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

8 Answers 8

up vote 21 down vote accepted

Use the following command in a Command Prompt:

net user [username]

It will be next to Last Logon.

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:

share|improve this answer
+1: "Net Statistics" tells you when the computer booted, not when the user logged in. –  Ƭᴇcʜιᴇ007 Jul 13 '11 at 16:03
This doesn't seem to work if your account is from a different domain than the default domain for the computer you're logged into. At least my attempts to specify a different domain to search didn't work. –  Trebor Rude Nov 7 '14 at 18:05

You can also use


to see the login time.

share|improve this answer
Nice, that's a new one to me. Turns out it's a 'shortcut' to another usable option: C:\>query user. –  Ƭᴇcʜιᴇ007 Jul 13 '11 at 16:52

Go to the command prompt and type:

net statistics srv
share|improve this answer
perfect, thanks –  atticae Jul 13 '11 at 15:55

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.

share|improve this answer

Use the command:

net stats srv

Where it says statistics since... is when you logged on/booted up.

share|improve this answer

You can also use


and next to

System Boot Time:

It will be in the format

9/17/2011, 10:16:38 PM
share|improve this answer

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

share|improve this answer
This does exactly the same as the built-in quser, but is commercial. –  slhck Oct 26 '12 at 12:44

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.