How to Find the Last Time Your Windows PC Was Restarted
You walk back to your desk and find your computer sitting at the sign-in screen. The documents you had open are gone. Did the power flicker? Did Windows restart itself overnight? And when exactly did it happen?
Windows keeps careful records of its own comings and goings, so you can answer all of those questions. You can see how long your PC has been running, the exact time it last started, and even what triggered a restart. This guide starts with the quickest check and works toward the most detailed one.
The short answer: open Task Manager (Ctrl + Shift + Esc), go to the Performance tab, click CPU, and look at Up time. That shows how long your PC has been running since it last started. For the exact date and time, run systeminfo | find "System Boot Time" in Command Prompt.

The 10 Second Check: Up Time in Task Manager
- Press Ctrl + Shift + Esc to open Task Manager.
- Click the Performance tab.
- Select CPU.
- Look for Up time at the bottom, shown as days, hours, minutes, and seconds.

If it says 0:03:25:10, your PC has been running for three hours, 25 minutes, and 10 seconds. It’s the fastest way to see how long it’s been up, though it doesn’t tell you the exact start time.
The Exact Time: Command Prompt
For a precise answer, open Command Prompt and type:
systeminfo | find "System Boot Time"
You’ll see a line with the date and time your system last booted. Another way is:
net statistics workstation

Look for Statistics since, which gives a similar timestamp. Both are simple, and neither needs administrator rights.
The Tidy Way: PowerShell
PowerShell can show it in a clean format. Open Terminal and run:
(Get-CimInstance Win32_OperatingSystem).LastBootUpTime
That prints the last boot time. To calculate how long ago that was, use:
(Get-Date) - (Get-CimInstance Win32_OperatingSystem).LastBootUpTime

If you use PowerShell 7, there’s an even simpler cmdlet, Get-Uptime, and Get-Uptime -Since shows the boot time. It isn’t included in the older Windows PowerShell that comes with Windows, so you’d need to install the newer version first.
Why the Number Sometimes Seems Wrong
Here’s the thing that surprises many people. You shut down your PC last night, turned it on this morning, and Task Manager says it has been up for four days. Is that a bug?
No. It’s a feature called Fast Startup. When it’s on, choosing Shut down doesn’t fully power off Windows. It saves part of the system’s state to disk, like a light hibernation, so it starts faster next time. Because the core of Windows never fully restarts, the uptime counter keeps going.

A Restart, on the other hand, does a full reboot and resets the counter. So if you want a true fresh start, choose Restart rather than Shut down. If you’d rather Shut down behave like a real shutdown, you can turn off Fast Startup in Control Panel > Power Options > Choose what the power buttons do. You may need to click Change settings that are currently unavailable first.
The Detective Work: Event Viewer
If you want to know not just when, but why your PC restarted, Event Viewer holds the evidence.
- Right click Start and open Event Viewer.
- Expand Windows Logs and click System.
- In the right pane, click Filter Current Log.
- In the box for event IDs, type the numbers below, separated by commas, and click OK.
Here’s what the key event IDs mean:
- 6005: the event log service started, which happens when Windows boots.
- 6006: the event log service stopped, which means a clean shutdown.
- 1074: a program or user started a restart or shutdown. The details show who or what did it and the reason given, such as an update.
- 6008: the previous shutdown was unexpected.
- 41 (Kernel-Power): the system rebooted without shutting down cleanly first, which often points to a crash or power loss.
- 12 and 13 (Kernel-General): Windows started and Windows shut down.

Click any entry to read its details at the bottom of the window. Together, they paint a timeline.
Solving the Mystery of an Unexpected Restart
Let’s put that to use. If your PC restarted while you were away, here’s how to read the clues:
- If you see 1074 just before the boot, something asked for the restart. The description usually names the process, such as Windows Update, and gives a reason. It’s almost always an update.
- If you see 41 or 6008 with no 1074 before it, the PC likely lost power, crashed, or froze and was forced to restart. Check for blue screens, overheating, or a failing power supply.
- If you see neither, the restart may have been a normal shutdown you started yourself.

For a friendlier view, open Reliability Monitor by typing View reliability history in the Start menu. It shows a timeline with markers for crashes, failures, and updates, so you can see them in context.
Check If a Restart Is Waiting
Sometimes the question is the reverse: does Windows need a restart? Open Settings > Windows Update. If an update is waiting on a restart, you’ll see a button for Restart now or a message saying a restart is needed. Restarting regularly keeps updates from piling up.
How Long Is Too Long?
There’s no strict rule, but restarting every week or so is a healthy habit for most people. Long uptimes can let small problems build up, such as slow memory leaks, stuck background processes, and pending updates. If your PC feels sluggish and Task Manager shows many days or weeks of uptime, a restart is a cheap first fix. On the other hand, if your PC is stable and you’re not seeing problems, there’s no need to restart for its own sake.
Quick Answers
How do I check when my Windows PC was last restarted?
Run systeminfo | find “System Boot Time” in Command Prompt, or check Up time under Task Manager’s Performance tab.
Why does Task Manager show days of uptime after I shut down?
Fast Startup keeps part of Windows saved between shutdowns, so the counter doesn’t reset. A Restart does reset it.
How can I tell why my PC restarted?
Open Event Viewer, filter the System log for events like 1074, 41, and 6008, and read their details.
Does restarting my PC help performance?
Often, yes. It clears memory, stops stuck processes, and applies pending updates.