≡ Menu

Windows last boot time

You can find the time windows was last rebooted on your computer using systeminfo or wmic commands. Both the commands are explained below.

Using Systeminfo:

You can run the below command to find the Windows boot time.

systeminfo | findstr /C:"System Boot Time"

The above command works on Windows 7. If you are using Windows XP, then you need to run a slightly different command.

systeminfo | findstr /C:"System Up Time"


c:\>systeminfo | findstr /C:"System Boot Time"
System Boot Time:          1/29/2012, 4:54:04 PM

Using WMIC:

We can find the boot time using wmic os command.

c:\>wmic os get lastBootUpTime

WMIC command shows the time up to milliseconds.

8 comments… add one
  • dee

    You can also use the NET STATISTICS SERVER command. Look for the line “Statistics since …..” after running it.

    • rob

      Been using Windows since 3.11. I wish I knew this years ago!

    • admin

      ‘net statistics server’ does not match what systeminfo shows.

      Server Statistics for \\mypc
      Statistics since 7/31/2015 7:04:41 PM
      C:\>NET STATISTICS workstation
      Workstation Statistics for \\mypc
      Statistics since 7/31/2015 7:04:31 PM
      C:\>systeminfo | findstr /C:"System Boot"
      System Boot Time:          8/4/2015, 1:13:56 PM
  • Tom

    If the service “Server” is running. On all of my client computers Server is disabled.

  • IV
    net statistics workstation

    Works too..

  • ShivKumar

    Nice information.
    You have saved me lot of time.


  • Ian

    Great tip.
    I will use this on a regular basis and will also save myself a lot of time.

  • Will

    If you shutdown and startup this time never changes
    The systeminfo Boot Time seems to be simply based on the timestamp for the c:\pagefile.sys.

    C:\>date | time
    The current time is: 8:41:07,32
    The current date is: do 10-03-2022

    C:\>dir /ah /tw c:\pagefile.sys

    24-02-2022 08:23 pagefile.sys

    C:\>systeminfo | find /i “Boot Time”
    System Boot Time: 24-2-2022, 08:23:11

    However that file’s timestamp will only be updated when the system is rebooted, not when it is shutdown and then booted up from scratch.

Leave a Comment