BugcheckCode in Event 41 is the blue screen code in decimal. 159 is 0x9F (DRIVER_POWER_STATE_FAILURE), 292 is 0x124 (WHEA_UNCORRECTABLE_ERROR), 278 is 0x116 (VIDEO_TDR_FAILURE). 0 means no stop code was written: a power loss, a hard hang, or the power button held. Type your number below.
Convert your BugcheckCode
Read the fields of Event 41
Open Event Viewer, Windows Logs, System, and double-click the Kernel-Power 41 entry. On the Details tab you see:
- BugcheckCode: the stop code in decimal. Microsoft's own page on Event 41 says so: the code is decimal, while documentation uses hexadecimal.
- BugcheckParameter1–4: extra data for that code. They matter in a debugger, less to you.
- PowerButtonTimestamp: not zero means the power button was pressed and held.
- SleepInProgress: whether the PC was going to sleep or waking when it stopped.
Microsoft describes three cases. A code that is not zero: Windows stopped with a blue screen, and the code says which. The power button: you held it. Zero everywhere, or no Event 41 at all: Windows could not write anything, which points at power (the power supply, the cable, the outlet) or a hang hard enough to stop writing to disk.
The codes that matter on a gaming PC
| Decimal | Hex | Microsoft name | What it usually points at |
|---|---|---|---|
| 0 | - | (none) | No stop code was written: a power loss, a hard hang, or the power button held. Check PowerButtonTimestamp. → |
| 10 | 0xA | IRQL_NOT_LESS_OR_EQUAL | A driver touched memory it should not have at that moment. Usually a driver, sometimes unstable RAM. → |
| 26 | 0x1A | MEMORY_MANAGEMENT | Windows found its memory management in a broken state. Test RAM and XMP or EXPO first. → |
| 30 | 0x1E | KMODE_EXCEPTION_NOT_HANDLED | A kernel-mode program raised an error nothing caught. The dump names the driver. |
| 59 | 0x3B | SYSTEM_SERVICE_EXCEPTION | An error while running a system routine, often caused by a driver. The dump names it. |
| 80 | 0x50 | PAGE_FAULT_IN_NONPAGED_AREA | Windows referenced memory that was not there. RAM, a driver, or antivirus. → |
| 126 | 0x7E | SYSTEM_THREAD_EXCEPTION_NOT_HANDLED | A system thread raised an error nothing caught. Usually a driver. |
| 127 | 0x7F | UNEXPECTED_KERNEL_MODE_TRAP | The CPU raised a trap the kernel could not handle. Often hardware, heat or an overclock. → |
| 159 | 0x9F | DRIVER_POWER_STATE_FAILURE | A driver was in an invalid power state, typically around sleep, wake or shutdown. |
| 209 | 0xD1 | DRIVER_IRQL_NOT_LESS_OR_EQUAL | A driver accessed paged or invalid memory at too high a priority. The dump names it. |
| 239 | 0xEF | CRITICAL_PROCESS_DIED | A process Windows cannot run without stopped. Check the system drive and Windows files. → |
| 244 | 0xF4 | CRITICAL_OBJECT_TERMINATION | A critical process or thread ended. Often the system drive or its connection. → |
| 257 | 0x101 | CLOCK_WATCHDOG_TIMEOUT | One CPU core stopped answering. Overclock, undervolt or CPU instability. → |
| 265 | 0x109 | CRITICAL_STRUCTURE_CORRUPTION | Windows found kernel code or data changed. A driver or failing memory. → |
| 278 | 0x116 | VIDEO_TDR_FAILURE | The graphics driver hung and the reset failed, so Windows stopped. A GPU timeout that did not recover. → |
| 292 | 0x124 | WHEA_UNCORRECTABLE_ERROR | The hardware reported an error it could not correct (WHEA-Logger Event 18). → |
| 307 | 0x133 | DPC_WATCHDOG_VIOLATION | A driver routine ran too long. Often storage, network or graphics drivers, or drive firmware. → |
| 313 | 0x139 | KERNEL_SECURITY_CHECK_FAILURE | The kernel found a corrupted data structure. A driver, memory or system files. |
Some entries show a very large number, such as 268435582. That is 0x1000007E: the same stop code as 0x7E with an extra flag bit. Convert it and drop the leading 1.
Event 6008 and Event 1001: the companions
- Event 6008 (source EventLog): "The previous system shutdown at … was unexpected." Windows writes it on the next start. It gives you the exact time; it never gives the cause.
- Event 1001 (source BugCheck): "The computer has rebooted from a bugcheck. The bugcheck was: 0x…" When it is there, the stop code is in hex already, and a dump file usually sits in
C:\Windows\Minidump. - Event 41 (Kernel-Power): written at the start after a dirty shutdown, with the BugcheckCode in decimal.
Filter the System log by 41,6008,1001. Three entries with the same minute are one event seen three ways. Then look at what came before that minute: a WHEA warning, a driver reset, a disk error.
Where PC Workman helps
The code tells you what stopped. PC Workman keeps the history of load, temperatures and clocks, so you can open Activity Memory at the minute in Event 6008 and see what the PC was doing: a game at full load, a hot graphics card, or nothing at all. hck_GPT reads blue screens and sudden restarts from the event log, and the Health report counts them in its stability part.
Short answers
What does BugcheckCode 159 mean?
159 is 0x9F, DRIVER_POWER_STATE_FAILURE: a driver was in an invalid power state, usually around sleep, wake or shutdown.
What does BugcheckCode 0 mean?
No stop code was written. Microsoft lists a power problem, a hard hang or the power button. Check PowerButtonTimestamp and the power supply.
Why is the BugcheckCode in decimal?
Event 41 stores it that way. Microsoft's documentation uses hex, so convert it: 159 is 0x9F, 292 is 0x124.
What is the difference between Event 41 and 6008?
Both are written after an unexpected shutdown. 6008 gives the time; 41 adds the stop code if there was one. Neither is the cause.
Primary sources
- Microsoft: Advanced troubleshooting for Event ID 41 (fields, decimal codes, three scenarios)
- Microsoft: Bug check code reference
- Microsoft: 0x9F DRIVER_POWER_STATE_FAILURE