Event ID 41 and 6008: Kernel-Power and unexpected shutdowns

Event ID 41, "The system has rebooted without cleanly shutting down first", is a critical Kernel-Power event written to the System log when Windows starts after it stopped without a proper shutdown, and event 6008 ("The previous system shutdown was unexpected") records the same thing from the event log service, with the time the previous session ended.

System logSystem and servicesChecked 2 December 2026

What events 41 and 6008 mean

Windows cannot write a log entry at the moment it loses power or crashes, so it records the problem at the next start. Kernel-Power event 41 says the previous session ended without a clean shutdown. Event 6008, written by the event log service, says the same in different words: "The previous system shutdown at [time] on [date] was unexpected." Microsoft describes 6008 as indicating "an improper or dirty shutdown". A clean shutdown, by contrast, ends with event 6006 ("The Event log service was stopped"), and a shutdown started by a person or program is recorded first as event 1074.

Event 41 is logged as Critical, which is why it stands out in Event Viewer and why so many people search for it. It is a symptom, not a cause: it tells you the computer stopped abruptly, and its fields give the first clue as to why.

Reading the fields of event 41

FieldWhat it tells you
BugcheckCodeNon-zero means Windows crashed with a stop error (a blue screen). The code is stored in decimal: 159 is 0x9F.
BugcheckParameter1 to 4The stop error's parameters, which identify what failed (for example the driver object for 0x9F).
PowerButtonTimestampNon-zero means the power button was held down to force the computer off.
SleepInProgressWhether the computer was entering or leaving sleep or hibernation when it stopped.
BootAppStatusStatus from the boot application, present in some cases.

Microsoft groups the causes into three cases. A non-zero BugcheckCode means a stop error. A zero BugcheckCode with a non-zero PowerButtonTimestamp means someone held the power button. Both zero means the computer simply stopped: power loss, a hardware fault, a hypervisor resetting a virtual machine, or a failure too severe to record. In that last case Microsoft also suggests checking for volmgr event 46 ("Crash dump initialization failed!"), which means no crash dump could be written.

Common bugcheck codes in event 41

DecimalHexStop errorUsual cause
300x1EKMODE_EXCEPTION_NOT_HANDLEDA driver or kernel component faulted
590x3BSYSTEM_SERVICE_EXCEPTIONA fault in a system call, often a driver
800x50PAGE_FAULT_IN_NONPAGED_AREABad memory or a faulty driver
1260x7ESYSTEM_THREAD_EXCEPTION_NOT_HANDLEDA driver thread faulted
1590x9FDRIVER_POWER_STATE_FAILUREA driver mishandled sleep or power transitions
2090xD1DRIVER_IRQL_NOT_LESS_OR_EQUALA driver accessed memory it should not
2390xEFCRITICAL_PROCESS_DIEDA critical system process stopped
2920x124WHEA_UNCORRECTABLE_ERRORA hardware error reported by the processor or platform
3070x133DPC_WATCHDOG_VIOLATIONA driver held the processor too long, often storage drivers

Convert the decimal value in the event to hexadecimal before looking it up; Microsoft's bug check reference lists codes in hexadecimal. Windows Calculator in Programmer mode, or [convert]::ToString(159, 16) in PowerShell, does the conversion.

Troubleshooting repeated event 41s

  • Check for a crash dump. Stop errors normally leave C:\Windows\MEMORY.DMP or small dumps in C:\Windows\Minidump. Opening them in WinDbg with !analyze -v usually names the faulting driver.
  • Look just before the crash. Read the System log in the minutes before the time in event 6008: driver errors, disk warnings, WHEA-Logger hardware errors and overheating events often come first.
  • Use Reliability Monitor. perfmon /rel shows crashes, application failures and updates on one timeline, which often makes a pattern obvious, such as crashes starting after a driver update.
  • Rule out power and hardware. Zero bugcheck codes with no dump point to power supply, overheating, loose power cables or, for laptops, battery and docking issues.
  • Update drivers and firmware. Graphics, storage, network and chipset drivers, and the BIOS or UEFI, are the usual suspects for codes such as 0x9F, 0xD1 and 0x133.

Events to read alongside 41 and 6008

EventSourceWhat it adds
1001BugCheck"The computer has rebooted from a bugcheck", with the stop code in hexadecimal and the path of the dump file; written at the next start after a stop error
17, 18, 19, 47WHEA-LoggerHardware errors reported by the processor, memory or PCI Express devices; corrected errors before a crash point to failing hardware
46volmgr"Crash dump initialization failed!": no dump could be written, so there is nothing to analyse
7, 51, 153DiskBad blocks, paging errors and retried I/O; a failing disk can crash Windows
6008EventLogThe time the previous session ended unexpectedly
1074, 6006User32, EventLogA requested, clean shutdown, which rules out a crash

Reading the System log for the few minutes before the time in 6008 is usually the fastest way to see whether a crash had a warning: a driver error, disk retries, a thermal event or repeated WHEA corrected errors.

Sleep, fast startup and virtual machines

  • Sleep and hibernation. SleepInProgress shows whether the stop happened during a transition. Code 0x9F (159), DRIVER_POWER_STATE_FAILURE, is the classic sleep crash: a driver that does not handle the power change. Windows' fast startup is a form of hibernation, so problems with it appear the same way.
  • Laptops and docks. Batteries that report charge wrongly, docks that disconnect mid-transition, and lids closed during updates all produce event 41 without a bugcheck.
  • Virtual machines. Resetting a virtual machine from the hypervisor, or restoring it to an earlier snapshot, looks to Windows like sudden power loss: event 41 with zero bugcheck code and no power button. On a virtual server, check the hypervisor's own logs for a reset or restore at the time in 6008 before chasing a Windows cause.

Reading a crash dump

When event 41 has a non-zero bugcheck code, Windows usually wrote a dump: a small dump in C:\Windows\Minidump, or a kernel or complete dump in C:\Windows\MEMORY.DMP, depending on the system's crash dump settings. To read it:

  • Install WinDbg from Microsoft and open the dump file.
  • Run !analyze -v. It reports the stop code, its parameters and, in most cases, the module (driver) it blames.
  • Run lmvm <module> on the blamed driver to see its file name, version, vendor and timestamp.
  • Check whether that driver belongs to installed hardware or software. An unfamiliar or recently added driver, especially one loaded from an unusual path, deserves investigation, not just an update.

For an investigation, collect the dump files with the rest of the evidence before anyone clears them: they are a snapshot of kernel memory at the moment of the crash, including loaded drivers and, in larger dumps, processes.

Before you fix it: what to record

Repeated event 41s are often treated as a pure IT problem: update drivers, replace the power supply, move on. On a computer that may be involved in a security incident, record a few things first, because the fixes destroy them:

  • The times of every 41 and 6008 in the System log, converted to UTC, and the events in the minutes before each.
  • The BugcheckCode and parameters of each, and the matching BugCheck 1001 events.
  • Copies of C:\Windows\MEMORY.DMP and the files in C:\Windows\Minidump, with their hashes.
  • Any drivers installed or updated shortly before the crashes started: new kernel driver services (7045 or 4697), and driver files in the USN Journal.
  • Who was using the computer and whether anyone held the power button, which the PowerButtonTimestamp field can confirm.

With that recorded, troubleshooting can go ahead without losing what an investigation might later need. If the crashes started at the same time as other signs of compromise, such as new accounts, unfamiliar services or logons from unusual addresses, treat the computer as evidence first: collect it with a triage tool before reinstalling drivers or Windows.

Events 41 and 6008 in an investigation

In incident response, an unexpected shutdown matters for three reasons.

  • It explains gaps. Logs, running processes and network connections all stop at the crash. A 41 during an incident window explains why the timeline has a hole, and the time in 6008 shows when it started.
  • It can be the attack. Some attackers load a vulnerable driver to switch off security tools, and a bad attempt crashes the computer with a stop error naming that driver. A crash dump from such a host is evidence in its own right.
  • It can destroy evidence. Pulling the plug, holding the power button or resetting a virtual machine wipes memory and running state. A PowerButtonTimestamp, or zeros on a virtual machine during a response, should be explained: was it the attacker, the user, or the response team acting before collection?

Compare with a deliberate shutdown: a planned restart, an attacker's shutdown /r, or ransomware rebooting a host into safe mode is recorded as 1074 with the program and account, followed by a clean 6006. Event 41 and 6008 mean nobody shut the computer down properly.

When you read the time in 6008, note that it is written as text in the message, in the computer's local time zone and date format, unlike the UTC timestamps of the events themselves. Convert it before placing it on a timeline.

Event 41 fields

The fields an investigator reads first, what they mean, and where Arcsentry stores them.

FieldMeaningArcsentry field
BugcheckCodeStop error code in decimal; 0 when there was no stop error.$bugcheckcode
BugcheckParameter1 to BugcheckParameter4Parameters of the stop error.event data
PowerButtonTimestampNon-zero when the power button was held to force the shutdown.$powerbuttontimestamp
SleepInProgressWhether a sleep or hibernate transition was in progress.event data

Event 6008 carries no fields of its own beyond the time and date of the previous shutdown, written as text in its message.

What event 41 proves, and what it does not

It shows

  • That the computer's previous session ended without a clean shutdown, and, with 6008, roughly when.
  • With a non-zero BugcheckCode, that it crashed with a stop error; with a PowerButtonTimestamp, that the power button was held.

It does not show

  • What caused a crash. The crash dump, drivers and earlier events tell you that.
  • Who held the power button or pulled the plug.
  • Anything about the exact moment of failure: the event is written at the next start.

Attacker activity it reveals

Crashes from vulnerable drivers

Loading a vulnerable signed driver to kill security tools sometimes crashes the computer. Look for a new kernel driver service (7045 or 4697) shortly before a 41 with a non-zero bugcheck code. MITRE ATT&CK T1068

Destroying volatile evidence

Forcing a power-off erases memory, running processes and network connections. A 41 with a PowerButtonTimestamp during an incident should be accounted for. MITRE ATT&CK T1529

Disruption

Repeated crashes of servers can be the goal itself, or a side effect of an exploit attempt against a kernel component.

Finding event 41 in Arcsentry

Arcsentry parses every channel in Windows\System32\winevt\Logs, whether it comes from an Arcsentry Collector archive, a KAPE or Velociraptor collection, or a disk image. System log records are the event type evtx_system. In Hunt, with that event type selected:

filter event_code in ("41", "6008", "6006", "1074")
select {timestamp, event_code, event_description}
sort {timestamp}

Unexpected shutdowns alongside clean shutdowns (6006) and requested ones (1074), in order. A 41 or 6008 with no 1074 before it means nobody shut the computer down properly.

Or ask in plain English, for example "show event 41 on every host, oldest first", and Arcsentry shows the AQL it wrote before it runs. The AQL reference lists the operators used here, and the AI investigator reads the same events, citing each one by its event ID when it reports a finding.

Related event IDs

All events by investigation question: Windows security event IDs for incident response. Logon types in full: Windows logon types. The log files themselves: Windows event logs.

Frequently asked

What does event ID 41 mean?

Kernel-Power event 41 means Windows restarted without shutting down cleanly first: it crashed, lost power, was forced off with the power button, or was reset. It is written at the next start.

What causes Kernel-Power 41 errors?

Stop errors (blue screens) from drivers or hardware, holding the power button, power loss, overheating and power supply faults, and hypervisors resetting virtual machines. The BugcheckCode and PowerButtonTimestamp fields show which.

What is event ID 6008?

An event log service event meaning the previous system shutdown was unexpected. Its message includes the time and date the previous session ended, in the computer's local time.

What is the event ID for unexpected shutdown?

Kernel-Power event 41 and event 6008, both in the System log. A clean shutdown is recorded as 6006, and a shutdown requested by a user or program as 1074.

What causes kernel failures?

Most kernel crashes come from faulty or incompatible drivers, failing memory or storage, overheating, and power problems. Event 41's bugcheck code, the crash dump and hardware error events (WHEA-Logger) usually identify which.

How do I stop the critical error message for event 41?

Event 41 is a symptom, so the fix depends on its cause: update or remove the driver named in the crash dump, update firmware, check power and cooling, and test memory. If the restarts were deliberate, such as holding the power button, no fix is needed.

How do I find what caused an event ID 41 crash?

Convert the BugcheckCode to hexadecimal and look it up, open the crash dump in C:\Windows\Minidump or MEMORY.DMP with WinDbg, and read the System log just before the time in event 6008.

Sources

  • Microsoft Learn: Advanced troubleshooting for Event ID 41: "The system has rebooted without cleanly shutting down first"
  • Microsoft Learn: Bug check code reference
  • MITRE ATT&CK: T1529 System Shutdown/Reboot; T1068 Exploitation for Privilege Escalation

Checked 2 December 2026 by Venema Labs against Microsoft's audit documentation and, where an example is shown, the named lab case. Field availability varies by Windows version.

Find event 41 across every host in minutes.

Load your collections, ask what happened, and check every finding against the event behind it. Free for 7 days.

Request a trial