What is the simplest way to find out how long a computer is turned on Windows?
|
|||||||||||||||||||
|
|
Open the commandprompt and type:
Source (MS KB). Edit: Actually this will tell you the date and time when the pc was up from, - not the duration. Example output:
|
|||||
|
|
there is great command line tool from Microsoft uptime.exe: good thing with this tool is it works really fast.
|
|||
|
|
|
If you have the Windows Server 2000 or 2003 resource kits try
Note: Srvinfo.exe will not run on a 64-bit versions of Windows, due to it being 16-bit. |
||||
|
|
|
Following command correctly gives last reboot time for the system systeminfo /s server_name | find "System Boot Time" |
|||
|
|