PC shutdown randomly

When a Windows PC turns off without a clean shutdown — often with no blue screen — treat it as a decision tree. Confirm what you saw, read the System log once, then branch on heat, load, power supply, or laptop-only causes.

Do not skip the first cut After the next boot, open Event Viewer and look for Critical Kernel-Power Event ID 41. Microsoft documents that 41 means Windows restarted without a clean shutdown — it does not name the failed part by itself. Full walkthrough: Event Viewer guide.

Step 1 — Confirm this is a random power-off

If it powers on for one or two seconds and dies every time, use turns on then shuts off.

Diagram comparing PC power LED off versus monitor black while PC LED stays on
Decide power-off versus display-only before opening the case.

Step 2 — First cut: Event Viewer (Kernel-Power 41)

  1. Press Windows + R, type eventvwr.msc, press Enter.
  2. Open Windows Logs → System.
  3. Find Critical Microsoft-Windows-Kernel-Power Event ID 41 near the failure time. Event ID 6008 often appears with it.
  4. Open Details. Note BugcheckCode and PowerButtonTimestamp.
Nonzero BugcheckCode
Stop error path — keep the code, then continue heat/load checks only after you account for the crash.
Nonzero PowerButtonTimestamp
Power button was held (forced off). Ask whether the system was frozen first.
Both zero (common)
Power loss or hang too fast to log a bugcheck. Continue with heat → load → PSU branches. Steps: how to check the cause in Event Viewer.
Event Viewer System log with Kernel-Power Event ID 41 and Details fields circled
Event ID 41 confirms an unclean shutdown; Details pick the next branch.

Primary docs: Microsoft Learn Event ID 41, unexpected reboot event IDs.

Step 3 — Branch on the cause

Hot chassis / high temps
→ overheating
Cool when it dies
→ not overheating
Only under games / heavy load
→ while gaming
Suspect PSU / need rear switch reset
→ power supply
Notebook / battery / lid
→ laptop
Mac-style “because of a problem”
→ problem message

Step 4 — Safe basics while you decide

Symptom map

FAQ

Why did my PC suddenly shut down on its own?

Unexpected power loss, a Stop error, a hang, or holding the power button can look similar. Microsoft logs Kernel-Power Event ID 41 after an unclean shutdown. Read Event Viewer first, then branch.

How do I check what caused my PC to shut down?

Event Viewer → Windows Logs → System: Kernel-Power 41, EventLog 6008, and any Bugcheck (1001). Step-by-step: Event Viewer guide.

How do I stop my PC from shutting down randomly?

There is no single switch. Confirm display-only blanks, temps, and PSU load. Follow the matching branch page.

What are signs of a failing PSU?

Hard offs under load with cool temps, needing the rear PSU switch, or stability only on a known-good unit. See PSU.

Official and primary sources

  1. Microsoft Learn — Event ID 41 (Kernel-Power)
  2. Microsoft Learn — Troubleshoot unexpected reboots using system event logs
  3. Microsoft Support — Start your PC in Safe Mode
  4. Microsoft Support — Windows Recovery Environment
  5. Microsoft Support — Update drivers through Device Manager