How to know your computer’s uptime in Windows xp/vista/7

Posted on April 1, 2009

As you know,we can use command “uptime” to show your computers uptime in linux/unix.Also we may want to know the uptime of our computers in Windows ,but there is not the uptime command in windows.

Fortunately,windows also give us related commands to show the uptime of the computer.You can find the uptime in the output of command systeminfo,also can find it in the output of command net statistics server or net statistics workstation.Below the the examples:
Command net statistics server or net statistics workstation

C:\Documents and Settings\Viking>net statistics server
Server Statistics for \\J
 
Statistics since 2009/4/1 PM 07:55
 
Sessions accepted                  1
Sessions timed-out                 0
Sessions errored-out               0
 
Kilobytes sent                     0
Kilobytes received                 0
 
Mean response time (msec)          0
 
System errors                      0
Permission violations              0
Password violations                0
 
Files accessed                     0
Communication devices accessed     0
Print jobs spooled                 0
 
Times buffers exhausted
 
Big buffers                      0
Request buffers                  0
 
The command completed successfully.

Command systeminfo | find “Up Time”

C:\Documents and Settings\Viking>systeminfo |find "Up Time"
System Up Time:            0 Days, 1 Hours, 10 Minutes, 9 Seconds

systeminfo

Popularity: 25% [?]

» Filed Under Windows

Comments

3 Responses to “How to know your computer’s uptime in Windows xp/vista/7”

  1. flatfour on October 22nd, 2009 3:34 am

    For Windows 7 at least (not checked Vista) you need to use:

    systeminfo | find “Boot Time”

  2. chri.s on March 31st, 2010 3:15 am

    flatfour way doesn’t work @ win7

  3. yesitdoes on May 31st, 2010 7:30 pm

    chri.s, flatfour’s way does work.

Leave a Reply