News, Product Information, and Tips
Check out our free utlities in the downloads section

Find out when the last reboot occurred (Updated)

by Steve Wiseman on July 21, 2008 · 5 comments

in Windows

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:

Windows System Uptime

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

Windows System Uptime Output

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”

Like this article? Then sign up for my newsletter to get free tips and software sent right to your inbox once a week. Like you, I hate spam – I will never spam, or sell your email address.

Related Articles:

{ 5 comments… read them below or add one }

1 Madi Fox April 6, 2009 at 4:16 am

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.

2 Madi Fox April 6, 2009 at 11:35 am

Ah! the caps must be exact. working great!

3 Benson Varghese November 3, 2009 at 4:08 am

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)

4 AnonymousCoward February 16, 2010 at 2:17 pm

“uptime” is a separate app which must be installed, it doesn’t exist by default. the “sysinfo” command does exist by default on 2003.

5 Helpful stranger August 13, 2010 at 12:01 pm

Note #2 is not needed, Up Time is a sub-string, so it is found.
Thanks for the tip!

Leave a Comment

t