Skip to content

How-ToOS

How to Check Your PC's Uptime and Last Boot Time in Windows 11

How long has your PC been running since it last started? We show three built-in ways to check uptime and last boot time in Windows 11, using Task Manager, the systeminfo command and PowerShell, and explain why Fast Startup can make the uptime look longer than you expect.

By , Systems & Technical Editor

3 min read

How to Check Your PC's Uptime and Last Boot Time in Windows 11

Knowing how long your PC has been running is surprisingly useful. It tells you whether a restart actually happened after a driver or Windows update, and whether a slowdown might simply be down to a PC that hasn't been restarted in weeks. Windows 11 doesn't show uptime on the desktop, but there are several built-in ways to find it. This guide is based on Microsoft's documentation and on Windows Central's uptime guide (written for Windows 10 and credited below).

Method 1: Task Manager

The quickest option is Task Manager. Press Ctrl+Shift+Esc to open it (Microsoft lists this shortcut, or you can right-click Start and select Task Manager). As Windows Central's guide describes, go to the Performance tab, select CPU, and the uptime is shown at the bottom of the page.

If you're new to the tool, our Task Manager guide explains the other tabs.

Method 2: systeminfo in Command Prompt or Terminal

Microsoft describes systeminfo as a command that "Displays detailed configuration information about a computer and its operating system", including hardware properties such as RAM. One of the lines it prints is System Boot Time. To show just that line, use the command from Windows Central's guide:

systeminfo | find "System Boot Time"

That gives you the date and time of the last boot rather than a running total, so subtract it from the current time to get the uptime. Running systeminfo on its own also gives you a handy summary of your PC; for other ways to see your hardware, read how to check your PC specs in Windows 11.

Method 3: PowerShell

Windows stores the last boot time in the LastBootUpTime property of the Win32_OperatingSystem class, which Microsoft defines as the "Date and time the operating system was last restarted". In PowerShell you can subtract it from the current date to get the uptime directly, using the command from Windows Central's guide:

(get-date) - (gcim Win32_OperatingSystem).LastBootUpTime

Windows Central says you'll get the uptime in a list format with the days, hours and minutes. If you're not sure which shell to use, our Command Prompt vs PowerShell comparison explains the difference.

Why the uptime can look too long: Fast Startup

If the uptime looks far longer than you expect, even though you shut down last night, Fast Startup is the likely reason. Microsoft explains that there are three startup modes in Windows: cold, wake-from-hibernation and fast, which "combines first two". To prepare for a fast startup, Windows closes your apps and signs you out, then saves the kernel memory image (including loaded drivers) in Hiberfil.sys and shuts down. On the next power-on, a fast startup "simply loads the hibernation file (Hiberfil.sys) into memory" rather than starting the kernel from scratch.

So with Fast Startup turned on, shutting down and switching back on isn't the same as a fresh boot, and the uptime counter may not reset. If you're troubleshooting a driver problem and want a clean start every time, see how to disable Fast Startup in Windows 11. Our sleep vs hibernate explainer covers the other power states.

What to do with the number

There's no ideal uptime figure, and a long uptime on its own doesn't mean something is wrong. But if your PC has become sluggish or unstable, a high uptime is a good reason to try a restart before digging deeper. For finding out what went wrong and when, Reliability Monitor and Event Viewer are the next tools to try.

The bottom line

The easiest way to check uptime in Windows 11 is Task Manager's Performance tab under CPU. For the exact last boot time, run systeminfo | find "System Boot Time" in a terminal, or use PowerShell's LastBootUpTime property to get the uptime directly. If the number looks too high after a shut down, Fast Startup is the likely cause, because Windows reloads a saved kernel image rather than booting from scratch.

Sources

  1. 01Microsoft Learn: systeminfo
  2. 02Microsoft Learn: Win32_OperatingSystem class
  3. 03Microsoft Learn: Distinguishing fast startup from wake-from-hibernation
  4. 04Microsoft Support: System configuration tools in Windows
  5. 05Windows Central: Check your PC uptime on Windows 10

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

Robocopy vs Xcopy: Which Windows Copy Command Should You Use?

Versus

Robocopy vs Xcopy: Which Windows Copy Command Should You Use?

Windows 11 includes two command-line tools for copying folders: xcopy and Robocopy. Using Microsoft's official command references, we compare what each can do, from mirroring and multi-threaded copies to retries, restartable mode and logging, and explain which to use for quick copies and which for backups.

Callum Reid4 min

How to Force-Close a Frozen App or Game in Windows 11

How-To

How to Force-Close a Frozen App or Game in Windows 11

When a game or app freezes and won't close, Windows 11 gives you three ways to force it shut. Following Microsoft's documentation, we show how to use Task Manager, turn on the taskbar's hidden End task option, and use tasklist and taskkill to find and end unresponsive processes.

Marcus Thorne3 min

How to Denoise Renders with Intel Open Image Denoise's oidnDenoise Tool

How-To

How to Denoise Renders with Intel Open Image Denoise's oidnDenoise Tool

Intel Open Image Denoise includes oidnDenoise, a free command-line tool that runs the AI denoiser on a saved render using your CPU or a supported NVIDIA, AMD, Intel or Apple GPU. Here's how to download it, prepare PFM images and denoise with albedo and normal passes.

Marcus Thorne3 min

How to Use BGInfo to Show Your PC's Name, IP Address and Specs on the Desktop

How-To

How to Use BGInfo to Show Your PC's Name, IP Address and Specs on the Desktop

Want your PC's name, IP address and key details on screen without digging through Settings? Following Microsoft's official documentation, we show how to set up the free Sysinternals tool BGInfo, choose its fields, save a configuration and refresh it at every sign-in, plus its most useful command-line options.

Marcus Thorne3 min