Now did you know that your computer logs the timestamp every time you shut down or start your computer? The total duration for which your computer has been running is called Uptime. And the duration for which the computer was powered off is called Downtime. The uptime or downtime figures may not be important for an average daily user. But if you are using your computer as a server in your organization then these figures might be of interest. Also, if you are interested in monitoring your computer, these figures may help you out. In this post, we will discuss the ways you can find out Windows Downtime, Uptime, and the Last Shutdown Time
Find out Windows Downtime & Uptime
1] Using Event Viewer
The Event Viewer is a built-in Windows utility that lets you view various events logged by Windows. As I already mentioned, Windows logs the last shutdown and start-up time, and it can be found in Event Viewer. Follow these steps to find out what was the last time your PC was ‘Shut down’.
Now you’ve filtered and sorted the list to give you all the required information. The first entry in the list with the Event ID 6006 gives you the last time your computer was Shut Down. And the first entry with ID 6005 gives you the time when the PC was started again. The difference between both the timestamps gives you the net downtime – or the duration for which the computer was in a completely powered-down state. Also, the difference between your current time and the last start time can give you the total uptime of your computer.
2] Using Task Manager
This method is rather an easy way out to calculate Uptime, but it does not calculate Downtime. All you need to do is, open ‘Task Manager’ and go to ‘Performance’ tab. Select ‘CPU’ from the left menu and now look for ‘Uptime’ in the right section. The total uptime would be displayed in DD:HH:MM:SS format. Using Task Manager will be fine if you are looking for current uptime only. It cannot display the entire history of events whereas in Event Viewer you can go back in time and view earlier event logs and calculate Uptime and Downtime accordingly.
3] Using CMD
Viewing the statistics of the Workstation service can also give you the last start time. To do so, open ‘CMD’ and type the following command: The response would start with ‘Statistics Since ….”. The timestamp in this line is the time when the computer started from a complete shutdown.
4] Using PowerShell
You can also find the System Uptime using PowerShell. But again, using PowerShell, CMD, and the Task Manager you can only calculate uptime and not downtime. TIP: The built-in SystemInfo tool lets you view the System Boot Time. It displays the date and time at which the computer booted. If you are working with Windows Server, then you may probably need some better monitoring tools, but these simple methods will also work. Also, these figures only apply to shutdowns and restarts. These figures do not represent Sleep, Logoff, Logon, or hibernation times. BONUS TIP: This post will show you how to find out the Windows Installation Date using various methods.