Q. How to check windows uptime or most recent reboot or recent boot up for Microsoft Windows XP, windows 7, windows 8, windows 10, Windows 2003 server, Windows 2008 server and Windows Server 2012 ?
A. The following example to check the windows uptime/most recent boot time/reboot for Windows Xp and Windows server 2012 R2. There a slight different for older and the more recent OS versions.
How to check windows uptime or most recent boot time?
a) Method 1 – For Windows XP and Windows 2003 server :
> systeminfo | find “System Up Time”
b) Method 2 – For Windows 2008 server and Windows Server 2012 :
Option 1 : > systeminfo | find “System Boot Time”
Option 2 : > wmic OS GET CSName,LastBootUpTime
c) Method 3 – Works on older and latest windows version such as Windows XP, Windows 7, Windows 2003 server, Windows 2008 server and Windows Server 2012
1. Go to “Start” -> “Run”.
2. Write “CMD” and press on “Enter” key.
3. Write the command “net statistics server” or “net stats srv” and press on “Enter” key.
4. The line that start with “Statistics since …” provides the time that the server was up from.
From Windows Server 2012 R2 :
From Windows 7 :
I hope that above example on how to check the windows uptime or most recent boot time for older version windows and windows server 2012 R2 will give some tips when analyzing windows problem especially for Windows Server Administrator.
Great post!
Here are more methods to know Windows uptime: http://www.sysadmit.com/2015/12/windows-ver-uptime.html