Skip to content
PCFixWorkbench

Blue screens · Windows 11

Fix a blue screen with stop code KMODE_EXCEPTION_NOT_HANDLED

Written November 27, 2026

KMODE_EXCEPTION_NOT_HANDLED means a kernel-mode program, usually a driver, hit an error it did not know how to handle. The blue screen often names the driver file responsible, which makes this one of the more direct blue screens to fix: deal with the named driver first, then recent installs, then the system files.

What you need

Read the problem before you touch it

  1. Know what the code means. Microsoft documents this stop code, 0x1E, in Bug Check 0x1E: KMODE_EXCEPTION_NOT_HANDLED. Kernel mode is where drivers run, so the fault is almost always a driver or a service with a driver component, such as security software.
  2. Use the named file. If the screen names a file ending in .sys, search your memory of installs for its owner: graphics, network, storage, and antivirus drivers are the usual owners. You do not need to identify it perfectly; the device or product you installed or updated most recently, in that category, is the one to handle first.
  3. Check the timing. A code that starts the day a driver or security product changed is accusing that change. A code that appears on a PC unchanged for months points more at a damaged file or failing hardware underneath the driver.

The simple fixes, in order

  1. Start in Safe Mode if the crash is frequent. Use the startup settings route Microsoft describes in Windows startup settings to enter Safe Mode. Safe Mode loads few drivers, so a PC that is stable there and crashes in normal mode is telling you a third-party driver is the fault.
  2. Uninstall or roll back the suspect driver. In Device Manager, roll back the driver for the device the named file belongs to, or uninstall the device and let Windows reinstall it. For a security product, uninstall the product fully from Settings and restart. Microsoft covers rollback in Update drivers manually in Windows.
  3. Install Windows updates. Go to Settings > Windows Update and install everything offered, then check optional updates for drivers. Microsoft lists updates among the first responses to stop code errors in Troubleshooting Windows unexpected restarts and stop code errors.
  4. Test in a clean boot. If no single suspect stands out, start with third-party services off using the clean boot method and turn groups back on until the crash returns. The group that brings it back holds the driver or service responsible.

The advanced route

  1. Repair the system files. From an administrator terminal, run DISM /Online /Cleanup-Image /RestoreHealth, then sfc /scannow. If SFC reports it fixed files, restart and test before reinstalling anything you removed.
  2. Run the memory diagnostic if no driver is ever named. Search Start for Windows Memory Diagnostic and run the restart check. Bad memory can make a healthy driver appear to fault, and this code is one of the forms that takes.
  3. Use System Restore to step back over the change. If the crashes began on a known date, open Recovery and restore to a point before that date. Restore removes drivers and programs installed after the point and leaves personal files alone.

End state

When it goes wrong

Related fixes

Sources