How to check what caused a PC shutdown in Event Viewer

Use the Windows System log to confirm an unexpected shutdown and read Kernel-Power Event ID 41 details before you replace parts. This is the first diagnostic cut for PC shutdown randomly.

Do not skip Event ID 41 means the previous session did not shut down cleanly. It is evidence of an unexpected stop — not a diagnosis of “bad motherboard” by itself.

Step 1 — Open Event Viewer

  1. Boot Windows normally if you can.
  2. Press Windows + X → Event Viewer, or run eventvwr.msc.
  3. Expand Windows Logs and select System.
Event Viewer with Windows Logs and System selected
System log is where Kernel-Power 41 is recorded.

Step 2 — Find Kernel-Power 41 and Event ID 6008

  1. Actions → Filter Current Log.
  2. Check Critical (and optionally Error), or filter source Microsoft-Windows-Kernel-Power.
  3. Look for Event ID 41: “The system has rebooted without cleanly shutting down first…”
  4. Also note Event ID 6008 (previous shutdown was unexpected).

Microsoft groups Event IDs 41 and 6008 with unclean shutdowns, versus 1074 when an app or user initiated restart.

Filter Current Log with Critical checked and Event ID 41 highlighted
Filter so Critical Kernel-Power 41 events are easy to spot.

Step 3 — Read BugcheckCode and PowerButtonTimestamp

Open the Event ID 41 entry → Details. Microsoft documents:

Event ID 41 Details with BugcheckCode and PowerButtonTimestamp circled in red
Nonzero BugcheckCode versus both-zero changes the next branch.

Primary reference: Event ID 41 — The system has rebooted without cleanly shutting down first.

Step 4 — Correlate nearby errors

Scroll to events immediately before the 41/6008 pair: disk errors, WHEA-Logger, GPU resets, thermal events, or Event ID 1001 bugcheck text. Those clues point to branch pages — Event Viewer alone rarely names a single failed cable.

Step 5 — Choose the next troubleshooting page

Temps high → overheating
Cool random → not overheating
Only in games → while gaming
PSU trip → PSU
Restarts after blackout → restarts
Overview → home

Symptom map

FAQ

How can I see why my computer shut down using Event Viewer?

Open System logs, find Kernel-Power Event ID 41, then read Details. Microsoft explains BugcheckCode and PowerButtonTimestamp in the Event ID 41 article.

Does Event ID 41 mean my PSU is bad?

No. 41 only means the shutdown was unclean. A failing PSU is one possible cause when BugcheckCode is zero and failures happen under load — see PSU.

How do I check PC shutdown history?

Filter System for Event IDs 41, 6008, 1074, and 6006. Clean shutdowns look different from 41+6008 pairs.

What if I never get Event ID 41?

Confirm you are on the System log of the affected Windows install. If the PC never boots far enough to write logs, use recovery or hardware POST diagnostics first.

Official and primary sources

  1. Microsoft Learn — Event ID 41 (Kernel-Power)
  2. Microsoft Learn — Troubleshoot unexpected reboots using system event logs