On Windows 10 and Windows 11, open Task Manager > Performance > CPU to see Windows uptime, or run (Get-CimInstance Win32_OperatingSystem).LastBootUpTime in PowerShell to see the last reported boot time. If the uptime seems older than your most recent shutdown, Fast Startup may have preserved the Windows kernel session. Choose Restart, rather than Shut down, when you need a fresh boot and a reset uptime counter.

A Windows 11 infographic explains how Fast Startup can preserve uptime and highlights Restart as a way to reset it. Before you check uptime​

You can complete both checks on the local PC without changing Windows settings or installing software. You normally do not need an administrator account. The commands below work in the built-in Windows PowerShell 5.1 and in current PowerShell 7 versions.

The two readings answer related but different questions:

  • Task Manager uptime is a running duration associated with the Windows system session. It is not a measure of how long you have been signed in or actively using the PC.
  • LastBootUpTime is the date and time Windows reports for the operating system’s last boot. It is not necessarily the last time you pressed the power button.
  • Neither reading is an audit of every sleep, wake, shutdown, or sign-in. For example, resuming from sleep is not the same as a fresh Windows boot.

This guide also applies to Windows 10, although Microsoft ended its standard free security updates and support on October 14, 2025. Devices covered by a separate support arrangement may have different update options.

Check uptime in Task Manager​

  1. Press Ctrl + Shift + Esc to open Task Manager. Alternatively, open Start, type Task Manager, and select it.
  2. On Windows 10, if Task Manager opens in a compact view, select More details at the bottom. Select the Performance tab.
  3. On Windows 11, select Performance in the navigation area on the left. Depending on the window size, you may see icons rather than full labels.
  4. Select CPU. Look below the CPU graph for Up time. If it is difficult to see, enlarge the Task Manager window.
  5. Read the value as days:hours:minutes:seconds. For example, 3:04:12:30 means three days, four hours, 12 minutes, and 30 seconds.

The seconds should continue to advance while you watch. You do not need to leave Task Manager open: reopening it later shows the current reading, not the time since you opened Task Manager.

A long reading by itself does not establish that the PC has been powered on continuously or that something is wrong. In particular, sleep and Fast Startup can make the reported system session older than the latest time you began using the computer.

Find the last boot time in PowerShell​

  1. Open Start, type PowerShell, and select Windows PowerShell or PowerShell. If Windows Terminal opens, make sure the active tab is a PowerShell session, not Command Prompt.
  2. Enter this command and press Enter:
    (Get-CimInstance Win32_OperatingSystem).LastBootUpTime
  3. Read the date and time returned. Windows may display the result differently depending on your regional format. The command queries the local Windows operating system; it does not restart the PC or change its configuration.
  4. Run the same command again if you want to check whether the reported boot time has changed after a restart.

For example, a result such as Monday, November 23, 2026 8:15:00 AM is a date and time, not a duration. Your actual output will reflect your PC’s reported boot time and display settings.

If you also want the elapsed wall-clock time since that reported boot, run:

(Get-Date) - (Get-CimInstance Win32_OperatingSystem).LastBootUpTime

PowerShell returns a duration with fields including Days, Hours, Minutes, and Seconds. The TotalHours and other Total fields express the same duration as a single total rather than separate components.

This subtraction uses the PC’s clock and reported boot timestamp. It is useful for interpreting the date, but it should not be treated as a precise count of hours spent actively working. It also need not match Task Manager’s counter exactly, particularly when power-state transitions or clock changes are involved.

Verify the readings after a restart​

A restart is optional if you only wanted to read uptime. It is useful when you want to confirm that Windows has started a fresh session.

Before restarting: Save your work and close anything that cannot be interrupted. A restart closes running apps and may interrupt downloads, remote sessions, or other work. On a managed PC, follow your organization’s restart instructions.

  1. Make a note of the current Up time and the PowerShell LastBootUpTime result.
  2. Select Start > Power > Restart. Choose Restart, not Shut down followed by the power button.
  3. Sign in after Windows starts. Open Task Manager > Performance > CPU again.
  4. Check Up time. It should now be relatively short, reflecting the time since the restart rather than the previous multi-day session.
  5. Run the PowerShell last-boot command again. The returned date and time should be close to the restart you just performed.

The two methods may not show precisely the same number of seconds. The practical check is that both now point to the recent restart, allowing for the time taken to boot, sign in, and open the tools.

Why uptime can survive a shutdown​

Fast Startup is designed to make the next start after a shutdown faster. When it is used, Windows signs out user sessions but saves the kernel session and system information to the hibernation file instead of closing that session in the same way as a full restart. On the next start, Windows can resume that saved system state.

As a result, you can select Shut down, turn the PC on the next day, and still see an uptime associated with the earlier Windows session. The PowerShell boot time may also be older than the most recent power-on. That does not mean your personal apps and sign-in session were necessarily preserved as they would be when resuming an ordinary hibernation session.

Restart is different: Microsoft says Fast Startup does not apply to Restart. Restart performs a full boot cycle, making it the straightforward choice when an update, driver installation, or troubleshooting procedure calls for a fresh Windows session.

You do not need to disable Fast Startup just to read or reset uptime. Restart when a fresh boot is needed, and otherwise treat the longer uptime as context rather than proof of a fault.

Make a one-time full shutdown instead​

If you specifically need the PC to turn off rather than restart immediately, Microsoft documents a full shutdown using Shutdown.exe. This is an alternative to changing the Fast Startup setting for every future shutdown.

Warning: The following command shuts down the PC immediately. Save your work, finish active transfers, and disconnect safely from any work that must not be interrupted before running it.

  1. Open PowerShell.
  2. Enter the following command and press Enter:
    shutdown /s /t 0
  3. Wait for the PC to turn off completely, then turn it on with its power button when you are ready.
  4. Sign in and check Task Manager > Performance > CPU and the PowerShell boot time again. They should reflect the new boot rather than the earlier session.

This command is a one-time action; it does not change the Fast Startup setting. There is no setting to roll back. For an ordinary restart without turning the PC off first, use Start > Power > Restart instead.

Troubleshoot unexpected results​

  • Task Manager has no visible CPU uptime: Confirm that you selected Performance, then CPU, rather than Memory, Disk, or another performance graph. In Windows 10, select More details if the compact view is showing. Enlarge the window if necessary.
  • The PowerShell command is not recognized: Make sure you opened a PowerShell tab and copied the entire command, including the parentheses and .LastBootUpTime. Command Prompt uses different syntax; enter powershell there first, or open PowerShell from Start.
  • Get-Uptime is not recognized: That separate cmdlet was introduced in PowerShell 6.0 and is not available in the built-in Windows PowerShell 5.1. Use the Get-CimInstance command in this guide; you do not need to install another PowerShell version for the basic check.
  • The date appears wrong: Check the PC’s current date, time, and time zone under Start > Settings > Time & language > Date & time. Regional settings can also change how the date is displayed. If this is a managed PC and those controls are restricted, contact the administrator rather than overriding the settings.
  • Uptime remains high after a shutdown: Check whether you used Shut down rather than Restart. Fast Startup can preserve the system session across a normal shutdown and subsequent power-on. Perform the restart verification above if you need a fresh boot.
  • Uptime remains high after you selected Restart: Confirm that the restart actually completed and that you are viewing the intended PC, especially if you use Remote Desktop or a virtual machine. Record the Task Manager reading, the PowerShell result, and the time you selected Restart. If the mismatch persists, give those details to your IT administrator or support provider rather than resetting system-management components.
  • PowerShell reports a CIM or WMI error: Record the full error message and check the Task Manager reading as a separate way to inspect uptime. On a managed PC, provide the error to IT. Do not delete or rebuild the WMI repository solely to make this command work.