How can one find out 'real' uptime of a laptop?

By 'real' I mean the time since turning it on and resuming Windows from hybernation state.


If just you want to know the time passed since the last boot, execute the bult-in command


in a command line. Search for the "uptime" line.

  • +1 Nice. I wasn't aware of that command. – Aaron May 23 '09 at 12:31
  • +1 ditto - had no idea about this one. – x0n Dec 18 '11 at 23:28
  • Thanks for this great tip. The "System Boot Time" line gets me what I'm looking for. – eksortso Nov 25 '13 at 12:32

EDIT: i just noticed your "after hybernation" requirement - sorry, I don't think this will take that into account. You'll need to work this out from reading the event log. Uptime is time since last reboot. A hibernation is not a reboot. If "uptime" could be defined to take hibernation into account, I would expect it to mean all time spent awake since the last reboot (meaning minus all hibernation time), not just the time since last hibernation.

I use the free psinfo tool from sysinternals (now owned by microsoft, and still free)


PsInfo v1.75 - Local and remote system information viewer
Copyright (C) 2001-2007 Mark Russinovich
Sysinternals - www.sysinternals.com

System information for \\LAPTOP:
Uptime:                    0 days 11 hours 28 minutes 27 seconds
Kernel version:            Windows 7 Ultimate, Multiprocessor Free
Product type:              Professional
Product version:           6.1
Service pack:              0
Kernel build number:       7100

Grab it from \live.sysinternals.com\tools\psinfo.exe (you can even run it directly from that unc link).

  • 1
    You can filter the output - "psinfo uptime" shows only that. – Dennis Williamson May 22 '09 at 16:58
  1. Windows Uptime (free from MS) might help you with that, but I'm not sure if it will give you info about 'after' hybernation: http://support.microsoft.com/kb/232243

  2. I wonder if the default tools might help you (from cmd):

    net statistics server or net statistics workstation

  • 'net stats server' shows only timestamp of last system start – jonny May 22 '09 at 15:45

I tried all the other answers but they just aren't showing "uptime" or infos I need.

This one works for me on my Windows 7:

wevtutil qe System /q:"*[System[Provider[@Name='Microsoft-Windows-Power-Troubleshooter']]]" /rd:true /c:1 /f:text > wake.txt

Run that command prompt and then look for a txt file on current directory

This uses the "Windows Event viewer" and the > wake.txt means it will save to a text file called wake.txt


Sometimes the other uptime command display a time that is not correct so I use this command to display the LOGON TIME

query USER

or shorter even:


which prints something like:

C:\Users\eflorinescu>query  USER
>eflorinescu              console             2  Active    2+23:44  5/7/2018 8:25 AM

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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