If your PC has restarted or switched off without warning, Event Viewer will often show a critical error from the source Kernel-Power with Event ID 41. It looks alarming, but on its own it isn't a diagnosis: Microsoft describes it as the event Windows logs when "the system has rebooted without cleanly shutting down first". This guide shows you how to read the event and use it to narrow down the real cause, following Microsoft's own troubleshooting documentation.
What Event ID 41 actually means
When Windows shuts down normally, it closes files and lets apps and services save their data first. If the PC loses power, crashes or is forced off, Windows can't do that, so the next time it starts it logs Event ID 41. Microsoft says the shutdown "might be caused by an interruption in the power supply or by a Stop error", and that the event by itself might not contain enough information to say exactly what happened.
The useful part is the event data. Three fields tell you which situation you're in:
Field | What to look for |
|---|
BugcheckCode | A non-zero number means Windows recorded a Stop error (blue screen) before restarting |
PowerButtonTimestamp | A non-zero value means someone pressed and held the power button |
SleepInProgress | Shows whether the PC was going to sleep at the time |
Step 1: Open the event in Event Viewer
Right-click the Start button and choose Event Viewer.
Go to Windows Logs > System.
Select Filter Current Log and type 41 in the event ID box.
Open the most recent Kernel-Power entry and select the Details tab.
If you're new to Event Viewer, our guide to using Event Viewer in Windows 11 covers the basics, and Reliability Monitor gives a quicker timeline of crashes.
Step 2: If BugcheckCode isn't zero, follow the Stop error
A non-zero BugcheckCode means the restart followed a Stop error. Event ID 41 records the code in decimal, while most documentation uses hexadecimal. Microsoft's example is 159, which converts to 0x0000009F. To convert yours, open Calculator, switch to Programmer mode, enter the number with DEC selected and read the HEX value.
Once you have the hex code, look it up in Microsoft's Bug Check Code Reference, or analyse the crash dump with our guide to reading BSOD minidumps with WinDbg. If you see a blue screen but the code isn't in Event ID 41, Microsoft suggests turning off automatic restart so you can read the error: in Advanced system settings > Startup and Recovery > Settings, clear Automatically restart.
A non-zero PowerButtonTimestamp means the power button was held down to switch the PC off. That's expected if you did it yourself because the PC froze, so the question becomes why it froze. Microsoft suggests pressing Caps Lock on a frozen PC: if the keyboard light doesn't change, the system is likely completely unresponsive (a hard hang).
Step 4: If the values are all zero, suspect hardware and power
This is the most common pattern for sudden switch-offs. Microsoft says that when Event ID 41 isn't logged, or the BugcheckCode is zero, it "might indicate a power supply problem", because a PC that loses power may not get the chance to write an error code. Possible causes it lists include the PC being unplugged or losing mains power, and a power supply that's underpowered or faulty.
Microsoft also notes that an all-zero Event ID 41 can appear alongside Event ID 46 from volmgr ("Crash dump initialization failed!"). If you see that, check your page file settings, because Windows may have crashed but been unable to save the details.
Microsoft's suggested checks for this situation are:
Disable overclocking. Return CPU, GPU and memory settings to stock. That includes memory profiles: try turning off XMP or EXPO temporarily (see how to enable XMP or EXPO for where the setting lives).
Check the memory. Microsoft recommends a memory checker and making sure all modules run at the same speed. Our guides to testing RAM with MemTest86 and Windows Memory Diagnostic vs MemTest86 explain the options.
Check the power supply. Make sure it has enough wattage for everything installed, especially after adding a new CPU, graphics card, drives or external devices. Use our guides to calculating PSU wattage and testing a power supply, and check the CPU EPS cable and any 12V-2x6 GPU cable are fully seated.
Check for overheating. Look at component temperatures under load with a tool such as HWiNFO; see how to monitor PC temps and how to stop a PC overheating.
Look for clues before the crash. Microsoft suggests checking for Event ID 6008, which records the time of the unexpected shutdown, and reviewing the Application and System logs around that time.
If the restarts happen during power cuts or brownouts, Microsoft suggests an uninterruptible power supply; our best UPS for PC guide covers the options. If the checks don't find the problem, Microsoft's advice is to return the system to its default configuration and see whether the restarts continue.
For a broader checklist, see our guide to a PC that randomly restarts or shuts down. If the crash is a WHEA_UNCORRECTABLE_ERROR blue screen, our WHEA error guide covers that specific code.
Our verdict
Kernel-Power Event ID 41 tells you that Windows didn't shut down cleanly, not why. Read the BugcheckCode and PowerButtonTimestamp first: a Stop error code points to a blue screen to investigate, a power-button timestamp points to a freeze, and all zeros usually points to power, overheating, memory or overclocking. Work through those in order, starting with stock settings and the power supply.