← Windows boot error index

Fix KMODE_EXCEPTION_NOT_HANDLED on Windows 10/11 (Exact Steps)

The fast answer. KMODE_EXCEPTION_NOT_HANDLED (stop code 0x0000001E) means a kernel-mode program raised an exception that no error handler caught. Microsoft's reference lists a faulty device driver or system service as a cause, along with hardware problems such as BIOS incompatibilities and memory conflicts; in practice drivers are the usual culprit. Start with the blue screen: if it names a .sys file, that driver is your lead. Boot to Safe Mode if Windows won't stay up, open Device Manager, and roll back, update, or disable that driver:
devmgmt.msc
If no driver is named, test the RAM with the built-in Windows Memory Diagnostic (press Win+R):
mdsched.exe
Then read the exception code and faulting module from the crash dump (Step 4).

Why this happens

Step-by-step fix

Step 1 — Read the driver name on the blue screen

Look for a What failed: line with a .sys file name under the stop code. Microsoft's advice for 0x1E is direct: if a driver is listed by name, disable or remove it, or get an update from its manufacturer. A name like ntfs.sys points at disk access, netio.sys/ndis.sys/tcpip.sys at networking, and iaStorA.sys at Intel storage. No name? Go to Step 4 for the dump.

Step 2 — Undo whatever changed last

Remove hardware added just before the crashes started, and unplug every USB device except keyboard and mouse. Uninstall recently added programs from Settings → Apps, especially third-party antivirus, VPN, or tuning tools. If you overclocked or changed BIOS settings, load the BIOS defaults. If the crashes began right after a Windows Update, use Settings → Windows Update → Update history → Uninstall updates, or from WinRE choose Troubleshoot → Advanced options → Uninstall Updates.

Step 3 — Roll back, update, or disable the driver (Safe Mode if needed)

Open Device Manager:

devmgmt.msc

Find the device that owns the driver from Step 1. If the crashes started after a driver update, choose Properties → Driver → Roll Back Driver. Otherwise install the current driver from the PC or component maker's site, or Disable device to confirm the culprit. For network-driver crashes, uninstalling the network adapter and rebooting lets Windows reinstall a working driver. Devices with no driver show as Unknown device; use Details → Hardware Ids to find the right one.

If Windows crashes before the desktop, interrupt the boot twice (hold the power button as the Windows logo appears) and Windows opens WinRE on the third start. Or boot a Windows install USB and choose Repair your computer. Then go to Troubleshoot → Advanced options → Startup Settings → Restart and press 4 for Safe Mode or 5 for Safe Mode with Networking. BitLocker-encrypted drives will ask for the recovery key.

Step 4 — Read the exception code from the crash dump

Open Event Viewer → Windows Logs → System and find the BugCheck entry (Event ID 1001). For 0x1E, parameter 1 is the exception code and parameter 2 is the address where it happened, which identifies the driver. Common codes: 0xC0000005 is a memory access violation, 0x80000003 is a breakpoint hit with no debugger attached, and 0x80000002 is a misaligned data reference. For the module name, open the newest .dmp from C:\Windows\Minidump in Microsoft's free WinDbg and run:

!analyze -v

A third-party .sys on the MODULE_NAME or IMAGE_NAME line is the driver to update or remove.

Step 5 — Test the RAM

mdsched.exe

Choose Restart now and check for problems, then read the MemoryDiagnostics-Results entry in the Event Viewer System log. Microsoft also recommends the PC maker's hardware diagnostics, "especially the memory scanner." For a deeper test, run MemTest86 from USB for several passes, one stick at a time. Replace any module that fails.

Step 6 — Update the BIOS, repair system files, try Fast Startup off

Install the latest BIOS from the PC or motherboard maker, plus all pending Windows updates. Then, from an admin Command Prompt:

DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

Many repair guides also report that turning off Fast Startup stops recurring 0x1E crashes; Microsoft's reference doesn't list it, but it's harmless to try: Control Panel → Power Options → Choose what the power buttons do → Change settings that are currently unavailable, uncheck Turn on fast startup, and save.

Step 7 — Use Driver Verifier to catch the driver (advanced)

If RAM tests clean and nothing is named, create a restore point and back up, then verify suspect third-party drivers from an admin Command Prompt:

verifier /standard /driver NAME.sys

Reboot and use the PC until it crashes; the next dump should name the driver. Verify as few drivers as possible, never all of them. When finished, or if the PC won't reach the desktop, start Safe Mode and turn it off:

verifier /reset
Data safety: This is usually a driver fault, but bad RAM can cause the same crash and corrupts files as they're written. Back up your important files now, while Windows still boots, before rolling back drivers, flashing the BIOS, or running Verifier. Driver Verifier deliberately forces extra crashes and a failed BIOS flash can leave the board unbootable, so never do either on a machine holding the only copy of irreplaceable data. If the crash names ntfs.sys or you suspect the disk, image it to a known-good external drive first.
GRAM tip: KMODE_EXCEPTION_NOT_HANDLED usually leaves Windows bootable between crashes, so GRAM applies directly. Plug in GRAM — a free portable repair toolkit that runs from a USB inside Windows — to pull the BugCheck history and faulting driver names from crash dumps and event logs, check SMART disk health, and sweep for antivirus or tuning software you forgot was installed. Then let its built-in AI repair agent, powered by Claude, help you decide whether a driver, RAM, or the BIOS is to blame.
Download GRAM free See AI pricing →

FAQ

Can I fix this without a second working computer?

Yes. Most steps run inside Windows, which usually still boots between crashes. If it crashes before the desktop, Windows Recovery (WinRE) lives on the broken PC itself — interrupt the boot twice and it opens on the third start, or boot from any Windows install USB — and from there you can start Safe Mode to roll back the driver, uninstall the latest update, or turn off Driver Verifier. You'd only need another PC to make an install or MemTest86 USB, or to download a driver when the crashing one is your network adapter. (GRAM runs inside Windows rather than from boot media — use it once the machine boots to check disk health and confirm the root cause.)

What does the exception code in the crash mean?

Parameter 1 of the bug check is the exception that went unhandled. 0xC0000005 (access violation) means code touched memory it shouldn't — usually a buggy driver, sometimes bad RAM. 0x80000003 (breakpoint) means a driver hit a hard-coded breakpoint or assertion with no debugger attached; Microsoft says this should be rare. Parameter 2 is the address where it happened, which points to the responsible driver.

It happens during a Windows install or upgrade. What now?

Microsoft notes the error can occur after the first restart during Setup or after Setup finishes, and lists a system BIOS incompatibility as a possible cause. Update the BIOS from the PC maker's site, disconnect non-essential hardware and USB devices, and try again. If it follows an upgrade, an old driver may not be compatible with the new build — update it from the vendor.

Does KMODE_EXCEPTION_NOT_HANDLED mean my hardware is failing?

Usually not. Drivers are the most common cause, and a PC that's stable in Safe Mode but crashes in a normal boot points at a driver. Test the RAM anyway because it's quick, and run the PC maker's diagnostics, but don't replace parts that pass.

Related: IRQL_NOT_LESS_OR_EQUAL (0xA / 0xD1) · PAGE_FAULT_IN_NONPAGED_AREA (0x50) · All Windows boot error codes