How to Find the Uptime for a Windows 11 PC?

Uptime is vital if you have a Windows 11 PC with server software or a Windows server edition. Knowing how long your PC has been running can help meet certain conditions.

Uptime is the time the PC has been on since the last reboot. This is useful, for example, to know if the PC has crashed unintentionally or the PC has not rebooted without your knowledge.

There are several ways to check your Windows computer’s uptime. The first way is through Task Manager and the second way is through a particular command in the Command Prompt or PowerShell.

How to Find the Uptime for a Windows 11 PC?

Task Manager is the easiest way to see how long the PC has been running without a reboot. Task Manager is part of Windows 7, Windows 8, Windows 10, and Windows 11 and clearly shows us the uptime.

Uptime via Task Manager

Right-click on the Start button. In the menu, click on Task Manager.

If Task Manager is open, then first click on “Performance” tab and then “CPU”. At the bottom, you will see “Up time”. This is the time the PC is active, i.e. the uptime.

How to Find the Uptime for a Windows 11 PC?

Retrieve last reboot information via Command Prompt

Should you wish to retrieve the uptime via scripting, you can use the Command Prompt.

The command “systeminfo” gives us clarity on the system information. This system information also displays what the “system boot time” is. You can retrieve this information in the following way.

Right-click on the Start button. Click on the Run in the menu. In the Run window type: cmd.exe.

Then copy and paste the following command into Command Prompt. The result is the “System boot time”.

systeminfo | find "System Boot Time"

This result shows when the last time the computer was rebooted. You can calculate what the “uptime” is this way yourself.

System boot time using command-prompt

Last reboot query via PowerShell

You can also use PowerShell scripting to determine when the computer was last rebooted. Also this way you can calculate yourself what the computer’s uptime is.

Right-click on the Start button. Click on “PowerShell” in the menu or “Windows Terminal”.

Then copy and paste the command below into the PowerShell window. You will see the last restart of the computer as output.

Get-CimInstance -ClassName Win32_OperatingSystem | Select LastBootUpTime

LastBootUptime using PowerShell

There are also other ways to retrieve the uptime of your PC. You can do this by checking the active network connection. The network connection is started when starting Windows. Therefore, the network connection also gives a good indication of how long the PC has been on.

I hope to have helped you with this. Thank you for reading!

Leave a Comment

Your email address will not be published.

Scroll to Top