Wednesday 15 April 2015

Windows uptime and last boot date

In my work I sometimes encounter problems that are related to servers having been rebooted without my knowledge. To find out when a windows machine was last rebooted, you have several options to choose from. The quickest way to find out how long the server has been running since last reboot is to go to the task manager. 

On a Windows 2008 machine you find the uptime since last reboot in the performance tab:


In Windows 8 it looks a little bit different but could be found at the same place:



This works well if it happened recently but say you would like to know the exact date when the windows machine was rebooted, you could take help from Systeminfo:

systeminfo | find /i "Boot Time"
Example:




No comments:

Post a Comment