Find out when the last reboot occurred (Updated)

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”

Filed Under: Windows

Comments

  1. Madi Fox says:

    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 says:

    Ah! the caps must be exact. working great!

  3. Benson Varghese says:

    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)

Leave a Reply