KMODE_EXCEPTION_NOT_HANDLED: Stop Code 0x1E
What stop code 0x1E reports, how to read the failing module from the screen or the dump, and the least-destructive repairs in the order they should be tried.
A blue screen carrying KMODE_EXCEPTION_NOT_HANDLED means the processor was executing kernel-mode code and that code raised an exception the kernel’s error handler had no entry for. The stop code is 0x0000001E. The machine had already stopped doing useful work at the moment of the fault: the exception was raised, nothing in the chain of handlers claimed it, and the kernel called a bug check rather than continue with an unknown state.
The distinction that matters is between a fault the kernel can attribute and one it cannot. Many bug checks name the component that failed. 0x1E names the exception and, in most cases, the address or module where it was raised. That address is the whole investigation. A driver that dereferenced a bad pointer, an instruction the CPU rejected, or a divide by zero inside a kernel-mode component all surface here, and the named module is what separates them.
What the stop screen and the dump actually record
On the blue screen, below the stop code, there are four parameters. The first is the exception code the kernel received. The second is the address at which the exception occurred. The third and fourth are exception-specific and are frequently zero.
When the first parameter is 0x80000003, the exception is a breakpoint and the second parameter points at the instruction that raised it. When it is 0xC0000005, the exception is an access violation and the second parameter is the address that could not be read or written. Other values follow the same pattern: the exception code first, the faulting address second.
The screen may also print a file name, usually with a .sys extension, when the kernel can attribute the fault to a loaded module. That name is more useful than the parameters for a first pass, because it points at a component that can be identified, updated, rolled back or removed. If no name appears, the dump holds the same information in a form that can be examined properly.
Reading the failing module before changing anything
Windows writes a crash dump on each bug check. The location depends on the dump type configured under System Properties, Advanced, Startup and Recovery. A small memory dump goes to %SystemRoot%\Minidump. A kernel or complete dump goes to %SystemRoot%\MEMORY.DMP.
The dump can be opened with WinDbg, which is installed as part of the Windows SDK debugging tools. Load the dump file, then run the analysis command:
!analyze -v
The output includes a line labelled MODULE_NAME and, below it, IMAGE_NAME. Those name the module the debugger associates with the fault. The stack trace beneath shows the call chain that led to the exception, which is often more informative than the module name alone: a fault inside a storage driver called from the file system is a different problem from the same driver faulting during power transition.
lmvm <module name>
That command prints the loaded module’s details, including its file path and version. The path tells you whether the module belongs to Windows, to a hardware vendor’s driver package, or to a third-party filter driver installed by security or virtualisation software.
Causes in the order they usually appear
A driver fault is the most common explanation. Kernel-mode drivers run with full privilege and no memory protection between them and the rest of the kernel, so a driver that mishandles a pointer takes the machine down rather than returning an error. The module named on the screen or in the dump is the starting point, and the question to answer is whether that module changed recently.
A hardware fault in memory is the second explanation, and it is over-diagnosed. Memory errors do produce 0x1E, but they usually produce a variety of stop codes over time rather than the same one repeatedly, and the faulting address tends to move. A single module named consistently across crashes points away from memory.
A misconfigured setting is the third explanation and is more common than a failing disk. Overclocked memory running at a profile the modules do not support, a CPU multiplier set above the rated value, or a virtualisation feature enabled in firmware that the guest operating system does not expect all produce kernel exceptions with no hardware fault at all. The machine is healthy; the configuration is not.
A corrupted system file or an incomplete update is the fourth. A driver binary replaced mid-update, or a system file whose contents no longer match what the kernel expects, can raise an exception at a fixed address every boot.
| Symptom | Points toward | Less likely when |
|---|---|---|
| Same module named on every crash | That driver or its update | The module name changes between crashes |
| Different stop codes over weeks | Memory or power delivery | The same code and address recur exactly |
| Crashes began after a BIOS change | Firmware settings, memory profile | The machine crashed identically before the change |
| Crash at the same boot stage every time | System file or driver load order | The machine sometimes starts normally |
| Crashes under load only | Thermal or power | Crashes occur at idle as well |
Starting in Safe Mode to isolate the driver
Safe Mode loads a minimal set of drivers and no third-party services. If the machine starts in Safe Mode without a bug check, the fault lies in something that Safe Mode does not load, which narrows the field to add-on drivers rather than core Windows components.
From Settings, System, Recovery, choose Restart now under Advanced startup, then Troubleshoot, Advanced options, Startup Settings, Restart. After the restart, select Safe Mode or Safe Mode with Networking. If the machine will not reach the recovery environment, interrupt the boot three times in succession at the Windows logo; the fourth attempt enters automatic repair, which offers the same Troubleshoot path.
Once in Safe Mode, Device Manager shows which devices have drivers loaded. The view menu has an option to show hidden devices, which reveals drivers for hardware that is not currently attached. A device whose driver was updated shortly before the crashes began is the first candidate.
Rolling back or removing the named driver
In Device Manager, open the device, select the Driver tab, and use Roll Back Driver where it is available. That restores the previous driver package. If rollback is greyed out, the driver can be uninstalled from the same tab; on the next normal boot Windows will either reinstall the inbox driver or leave the device without one, which is enough to confirm whether that driver was the cause.
For a driver that is not attached to a visible device, such as a filter driver from security software, the correct action is to uninstall the software through Settings, Apps, Installed apps. Removing a filter driver by deleting its file leaves the service registration in place and the machine will still attempt to load it.
If the machine cannot start even in Safe Mode, the recovery environment’s command prompt can be used to disable a specific service without removing it:
sc delete <service name>
That command removes the service registration permanently. It destroys the record of the service, not its files, and the software that installed it will need reinstalling to restore function. Confirm the service name first with sc query <service name> so that a Windows service is not removed by mistake.
Checking memory and firmware settings
The built-in memory diagnostic runs outside Windows and reports whether the physical modules return correct data. From the recovery environment, or from Start by typing Windows Memory Diagnostic, choose the restart-and-check option. The extended test takes longer and finds errors the basic test misses.
Before replacing memory, check the firmware settings. A memory profile above the modules’ rated speed, an enabled overclock, or a virtualisation option that the installed hypervisor does not support can all produce this bug check on hardware that passes every test. Set the memory to its default speed and disable any overclock, then observe whether the crashes stop. This costs nothing and rules out the configuration cause before hardware is purchased.
Repairing system files when the driver is a Windows component
If the named module is a Windows driver, the file may be damaged. The system file checker verifies protected files against their stored copies:
sfc /scannow
The output reports whether it found corruption and whether it repaired it. If it reports corruption it could not fix, the component store itself needs repair, which is done with the deployment imaging tool:
dism /online /cleanup-image /restorehealth
That command reaches Windows Update for replacement files and requires a working network connection. Run it before sfc if sfc has already reported unfixable corruption; running sfc again afterwards confirms the repair.
When the crash happens before Windows loads
A bug check that appears during the boot sequence, before the logon screen, is usually a boot-start driver. The recovery environment’s command prompt can disable it, and the boot configuration can be set to allow a debugging boot or a safe boot for one session:
bcdedit /set {default} safeboot minimal
That setting makes the next boot enter Safe Mode. It does not delete anything, but it persists until removed, so the machine will keep starting in Safe Mode until the setting is cleared:
bcdedit /deletevalue {default} safeboot
If the boot files themselves are damaged, the bootrec tool repairs them from the recovery environment. bootrec /fixmbr and bootrec /fixboot write boot records; they do not touch user data, but they rewrite the disk’s boot structures, so they belong to a confirmed boot-file diagnosis, not to a driver fault.
What a reinstall does and does not fix
A clean installation of Windows destroys the contents of the system partition and, depending on the options chosen, may destroy other partitions as well. It removes every installed driver and every third-party service, which is why it appears to fix a driver fault. It does not fix a hardware fault, a firmware setting, or a failing disk, and the same crash will return once the same driver is reinstalled.
Before reinstalling, the recoverable options are: roll back or remove the named driver, run the memory diagnostic, reset firmware settings to defaults, run sfc and dism, and check the disk with chkdsk C: /scan from an elevated prompt. That last command reads the volume and reports problems without taking it offline; chkdsk C: /f schedules a repair at the next restart and can lose data if the volume has structural damage, so run the scan first and read what it reports.
Common questions
What does KMODE_EXCEPTION_NOT_HANDLED mean in plain terms?
A piece of kernel-mode code raised an exception and no handler in the kernel claimed it. The kernel stopped the machine with bug check 0x1E rather than continue in an unknown state. The stop screen usually names the module where the exception was raised.
How do I find which driver caused the blue screen?
Look at the file name printed below the stop code, or open the dump in WinDbg and run !analyze -v. The MODULE_NAME and IMAGE_NAME lines name the component, and lmvm shows its file path and version so you can tell whether it belongs to Windows or to a third-party package.
Can bad RAM cause stop code 0x1E?
It can, but it is less common than a driver fault. Memory errors usually produce different stop codes and different faulting addresses across crashes. If the same module is named every time, the driver is the better explanation; run Windows Memory Diagnostic to rule memory out.
Why does the machine only crash sometimes and not every boot?
A driver fault that depends on a particular code path, such as a specific device operation or a power transition, only fires when that path is exercised. A fault that appears at the same point every boot points instead at a boot-start driver or a damaged system file.
Does reinstalling Windows fix this stop code?
It removes every third-party driver and service, so it hides a driver fault without identifying it. It does not fix failing memory, a firmware setting, or a damaged disk, and the crash returns once the same driver is installed again. Work through driver rollback, memory testing and system file repair first.
Read next
- SYSTEM_THREAD_EXCEPTION_NOT_HANDLED: Stop Code 0x0000007E Stop code 0x0000007E means a system thread raised an exception with no handler. The named driver file is the lead. Safe mode, rollback, and boot repair steps.
- SYSTEM_SERVICE_EXCEPTION (0x0000003B) Stop Code What stop code 0x0000003B means: an exception during the user-to-kernel transition. Driver, system file and memory causes, with repairs in order.
- How to Read a Blue Screen: Stop Codes, Parameters, and Dumps Learn to decode a BSOD: what stop codes mean, how to interpret parameters, which file matters, and how to find and read the crash dump.
- System Restore: What It Does and What It Does Not System Restore reverts system files, drivers and the registry. It does not touch your documents, and it will not recover them. It is not a backup.
- Error 0x80070035: The Network Path Was Not Found 0x80070035 means Windows could not reach an SMB share at the given path. Learn to separate name resolution, port 445 reachability, and protocol refusal.