Computer uptime is synonymous with Windows uptime as both are almost the same. There are a few ways to check Windows uptime like using the network adapter stats, from the task manager or using command prompt or Powershell. We will discuss each method one by one.
Difference between uptime and availability?
Most people confuse uptime with availability. Before moving forward, we should know the difference between uptime and availability. They are not the same. According to Wikipedia: A computer may be up and running but the required resources for a specific operation may not be available depending upon the system load. For example, A computer may be running but its network card may not be working properly or its bandwidth being overused. In this case, the system has uptime but it not available for the specific task. Availability is the probability that a system will work as required when required during the period of a mission.
How to check uptime in Task Manager
The easiest way to check uptime in Windows 10 is by using the Task Manager. The biggest advantage of using the Task Manager is that it shows the uptime in real-time to the seconds precision. Clarification: There is one clarification here. Windows calculates the total uptime of the computer. This is like CPU uptime, the time CPU has been active. If you put the computer to sleep or hibernate mode, those times will not reset the uptime timer. When the computer comes back to an active state, Windows will start calculating the uptime from the same position where it left off. For example, if my computer was active for 2 hours and then I hibernated it for 24 hours. I started the computer again and used it for two more hours. Windows will calculate the total uptime as 4 hours.
Check uptime using the network adapter
Another quick way to check the current system uptime is to check the active network adapter status. This only works if your network is always connected. Basically, this is the network uptime. This will reset if the computer goes to sleep or hibernation.
How to check Windows uptime using the command prompt (CMD)
You can also check the uptime using the command-line.
Using Systeminfo
Systeminfo is a command which lists general information about the Windows system. It lists the last boot time of Windows. We will need to manually calculate how much time has passed until now. Open command prompt by going to Run –> cmd and run the following command: systeminfo | find “System Boot Time”
Using WMIC
There is another WMIC command which will let you know about the boot time of the computer as a string. This can be helpful for developers and DevOps. Open the command prompt and run the following command: wmic path Win32_OperatingSystem get LastBootUpTime If you see the above screenshot of my computer, you will know that the boot time of my computer was: Year: 2019 + Month: 09 + Day: 13 + Hour: 15 + Minutes: 24 + Seconds: 00 + Milliseconds: 500000. The last +300 is the time zone. That means I’m in GMT + 3 timezone.
Using Net Statistics utility
Net Statistics command can be used for checking the last boot time: Open the command prompt and run the following command: net statistics workstation The line starting with Statistics since is your boot time. The same command can be used to check Windows Server uptime but the command will become net statistics server.
Check system uptime using PowerShell
PowerShell gives a clearer answer using the same string as the command prompt. It will actually calculate the uptime instead of the last boot time. It also shows the total no. of days, hours, minutes and seconds separately. Open PowerShell and run the following command: (get-date) – (gcim Win32_OperatingSystem).LastBootUpTimeGet Uptime in PowerShell If you are using PowerShell 6, then you can simply use the following command to get the Windows uptime and the last startup time: Get-Uptime -Since
Final thoughts
Windows fast startup is enabled by default in Windows 10. If it is enabled, Windows will not reset the LastBootUpTime value. So you will not get the exact Windows uptime. To disable fast startup quickly, run the following command: powercfg -h off If you want to check the current Windows uptime, you will need to use the network adapter method to check the network time. But it only works if you are always connected to the Internet. These are some of the ways which can be used to quickly get the last boot time or check the total uptime of the computer. Every command has its own advantages. You can use the method which suits you best. The only thing I haven’t been able to find is the answer to how old is my computer? The systeminfo command only gives information about the Windows installation date and time. Maybe the BIOS can show me something about that. Most of the methods mentioned above work with all versions of Windows including Windows 10, Windows 8, Windows 7, Windows Vista. You can also check Windows Server uptime using the same commands. Please tell me about how you check the uptime of your computer and for what purpose do you use this information? Also see:
4 Ways To Start Windows 8/8.1 In Safe ModeHow To Use System Configuration Utility in Windows 8.1 (msconfig)How To Optimize PC Startup To Speed Up Windows Boot Time5 Quick Ways To Turn Off Windows Defender On Windows 103 Ways To Check Network Data Usage Of Each Application