I have been playing around with the SystemInfo command in windows, and I wanted a concise way to see what the uptime of my system was.
It is actually very simple. Get a command line, and type:

It will go through some calculations, and finally come back:

This is a very simple way to see if that server, or workstation was really rebooted.
Note: It seems that I have been caught using Windows XP again. Can’t help it…so much faster than my Vista box. The above command will not work for 2008, or Vista. This is because Microsoft has changed the output of SystemInfo. To get very similar info for those two operating systems you can use: “systeminfo | find “System Boot Time”
Update #2: On Windows 2003 it is different too: “systeminfo | find “System Up Time”


I’ve tried the Update #2 on windows 2003, dont seem to work though. The commands runs and then returns a command prompt. I’ve piped the output to a text file and there’s nothing in it.
Ah! the caps must be exact. working great!
Why you want make such complicate … just type simple command uptime gives you the result.
C:\>uptime
\\xxxxxxxxxxx has been up for: 4 day(s), 21 hour(s), 6 minute(s), 19 second(s)
“uptime” is a separate app which must be installed, it doesn’t exist by default. the “sysinfo” command does exist by default on 2003.