Kernel-Power Event ID 41: The system has rebooted without cleanly shutting down first
Most likely cause: A blue screen (stop error) restarted the PC; the BugcheckCode in the event is not 0
Try first: Read the BugcheckCode in the event (Get-WinEvent -FilterHashtable @{LogName='System'; Id=41; ProviderName='Microsoft-Windows-Kernel-Power'} -MaxEvents 5 | ForEach-Object { $_.TimeCreated; $_.Properties[0..1].Value })
Likely causes
- A blue screen (stop error) restarted the PC; the BugcheckCode in the event is not 0most likely
- The PC lost power or the power supply couldn't keep up under load (gaming, rendering), often with an overclock, undervolt or an ageing PSU; BugcheckCode is 0possible
- The PC froze and was reset or held off with the power button; PowerButtonTimestamp is not 0possible
- Overheating CPU or GPU shutting the system off to protect itselfless likely
Why this happens
When Windows shuts down normally, it closes files and tells drivers and apps to save their state. If it never gets the chance, it logs Kernel-Power event 41 at the next start. If it had time to record a stop error, it puts the bug check code and its four parameters into the event; if power simply vanished, those fields are all 0.
That's why event 41 on its own doesn't tell you what's wrong. Reading its fields is the fastest way to know whether to chase a driver (blue screen), a freeze, or the power supply and cooling.
Reading the event at a glance
- BugcheckCode 159 (0x9F), 278 (0x116), 292 (0x124) and so on: a blue screen. Look up the hex code.
- BugcheckCode 0, PowerButtonTimestamp set: the power button was held, usually after a freeze.
- Everything 0: power cut, PSU failure, overheating or a hard hang that left no record.
- SleepInProgress true: the problem happened while going to sleep or waking; update chipset, graphics and network drivers.
How to fix it
Read the BugcheckCode in the eventSafe
Open Event Viewer > Windows Logs > System, find Kernel-Power event 41, and open the Details tab. Note BugcheckCode and PowerButtonTimestamp. Or run this in PowerShell to list the latest ones with their data.
Get-WinEvent -FilterHashtable @{LogName='System'; Id=41; ProviderName='Microsoft-Windows-Kernel-Power'} -MaxEvents 5 | ForEach-Object { $_.TimeCreated; $_.Properties[0..1].Value }BugcheckCode is not 0: it was a blue screenSafe
The code is in decimal. Convert it to hex (Calculator > Programmer, or in PowerShell: '0x{0:X}' -f 159 gives 0x9F) and look it up in our blue-screen stop codes table; 0x9F is DRIVER_POWER_STATE_FAILURE, 0x124 is WHEA_UNCORRECTABLE_ERROR. Fix that stop code, not event 41.
'0x{0:X}' -f 159BugcheckCode is 0 and PowerButtonTimestamp is not 0: it frozeSafe
Someone held the power button, usually because the PC hung. Check Reliability Monitor (type 'reliability' in Start) for app or hardware errors just before that time, update graphics and chipset drivers from the maker's site, and note what you were doing when it froze.
Both are 0: suspect power and heatSafe
A sudden cut with no crash data points to power or hardware. Check the power cable and outlet (try another outlet, skip the power strip), and watch temperatures under load with a monitor such as HWiNFO. If it only happens while gaming, the power supply may be too weak or failing.
Remove overclocks and undervoltsChanges settings
In the BIOS, load optimized defaults or turn off XMP/EXPO and any CPU or GPU overclock or undervolt, and remove tuning profiles in MSI Afterburner or similar. Test for a day. Unstable tuning is a very common cause of instant restarts under load.
⚠ Write down your BIOS settings before changing them.
Turn off Fast Startup for a testChanges settings
Fast Startup can cause event 41 after shutdown or wake on some PCs. Control Panel > Power Options > Choose what the power buttons do > Change settings that are currently unavailable > untick Turn on fast startup.
Update BIOS and chipset driversChanges settings
Install the latest BIOS/UEFI and chipset drivers from your PC or motherboard maker's support page. Many random-restart bugs, especially on new CPUs, are fixed in firmware.
⚠ Don't turn the PC off during a BIOS update; plug a laptop into power first.
If that didn't fix it
If restarts continue with all fields 0 and temperatures are normal, test with a known-good power supply. If the event shows a stop code, follow that code's page from the [blue-screen stop codes](/blue-screen-stop-codes) table.
When to see a technician
If you smell burning, hear a pop from the PC, or restarts happen even at idle with defaults loaded, stop using it and have the power supply and motherboard checked.
Questions people ask
- Is Kernel-Power 41 dangerous?
- The event itself is harmless; it only records that the last shutdown wasn't clean. Repeated ones mean something keeps crashing or cutting power and is worth fixing.
- Is it my power supply?
- Possibly, if BugcheckCode is 0, it happens under load, and overclocks are off. A blue-screen code points to drivers or hardware instead.
- Why is there no blue screen when it restarts?
- If power is cut or the hardware resets instantly, Windows has no time to show or record a stop error, so all the event fields are 0.