Windows & BSOD · critical

How to fix KMODE_EXCEPTION_NOT_HANDLED (0x1E)

Windows & BSOD troubleshooting guide

What this error means

Windows stopped because a program running in kernel mode, almost always a driver or system service, caused an error that nothing caught. Microsoft lists three main sources: a faulty device driver or system service, hardware that is not compatible with the installed Windows version, and BIOS incompatibility. The BIOS case is typical when the crash appears during or right after a Windows installation or upgrade. The blue screen sometimes names the driver file, which is the best clue.

Updated

Applies to
Windows 11 and Windows 10
Difficulty
Beginner to intermediate
Before changes
Low; BIOS updates need care

Reviewed by Matyáš Rada · Documentation checked: 2026-10-31 · Checked against Microsoft's bug check documentation; not tested on every configuration.

Before you begin

Photograph the blue screen and note any file name. If Windows crashes during startup, use Safe Mode (recovery menu > Troubleshoot > Advanced options > Startup Settings > Restart > 4) for the steps below. If Windows cannot start, see the startup guide.

Work through these checks

0 of 7 complete
01Note the driver and when the crash happens

The named driver and the situation tell you which of the causes applies.

  1. Check the blue screen photo for a .sys file name and search it to find its device or program.
  2. Open Event Viewer (Win + R, eventvwr.msc) > Windows Logs > System and look at errors just before the BugCheck event (ID 1001).
  3. Note whether it happens during a Windows installation or upgrade, at startup, or during normal use.
What to expect

You know the likely driver, or at least the situation.

If it does not help

During installation or an upgrade, start with step 4 (BIOS). Otherwise continue with step 2.

Browse related errors
02Remove recently added drivers and services

Microsoft recommends disabling or removing drivers and services that were added recently.

  1. Uninstall programs you installed shortly before the crashes started, especially antivirus, VPN, virtual drive, RGB and monitoring tools, in Settings > Apps > Installed apps.
  2. Roll back a recently updated driver in Device Manager > device Properties > Driver > Roll Back Driver.
  3. If the crash happens at startup, do this in Safe Mode, where you can also disable the device in Device Manager.

Keep Microsoft Defender on when you remove another antivirus program.

What to expect

Windows runs without the crash.

If it does not help

Reinstall needed programs one at a time, using their latest versions, and test after each.

Browse related errors
03Update or replace the named driver

When the blue screen names a driver, Microsoft's advice is to remove it or get an update from the maker.

  1. Download the latest driver for that device from its maker or your PC maker's support page, and install it.
  2. For graphics drivers, use the installer's clean installation option if it has one.
  3. If no newer driver exists and the device is not essential, disable it in Device Manager to confirm it is the cause.

Avoid third-party driver updater programs.

What to expect

The PC runs normally with the updated driver.

If it does not help

If the problem continues, update the BIOS in step 4.

Browse related errors
04Update the BIOS

Microsoft says BIOS problems behind this stop code are resolved by upgrading the system BIOS version.

  1. Find your exact PC or motherboard model on the maker's support page.
  2. Install the latest BIOS/UEFI version using the maker's instructions.
  3. If the crash happened during a Windows upgrade, update the BIOS first and then run the upgrade again.

Do not switch off the PC during a BIOS update.

What to expect

The PC runs or upgrades without the stop code.

If it does not help

After the update, check the BIOS settings, as some may be reset to defaults.

Browse related errors
05Check hardware compatibility

Microsoft lists hardware that is incompatible with the installed Windows version as a cause.

  1. If you added hardware recently, remove it and test.
  2. Check the maker's website that each recently added device supports your Windows version, and install its latest driver.
  3. For older devices without Windows 11 drivers, consider replacing them.

Switch off and unplug the PC before removing internal parts.

What to expect

You know whether a specific device is responsible.

If it does not help

If the crash stops without the device, contact its maker about compatibility.

Browse related errors
06Run the memory test and hardware diagnostics

Microsoft recommends the manufacturer's hardware diagnostics, especially the memory scanner.

  1. Turn off XMP, EXPO and any overclock in the BIOS for testing.
  2. Run Windows Memory Diagnostic (Win + R, mdsched.exe) > Restart now and check for problems.
  3. Run the hardware diagnostics from your PC or laptop maker, if available.
What to expect

Memory and hardware tests pass.

If it does not help

If the memory test reports errors, follow the memory test errors guide on this site.

Browse related errors
07Repair system files

Damaged system files can cause kernel-mode components to fail.

  1. Open Terminal (Admin).
  2. Run DISM /Online /Cleanup-Image /RestoreHealth.
  3. Run sfc /scannow and restart.
What to expect

SFC reports no integrity violations, or that it repaired them.

If it does not help

If crashes continue, see the blue screen errors overview on this site for related stop codes, or use System Restore to return to a point before the problem.

Browse related errors

Possible causes

  • A faulty device driver or system service
  • A driver or service added shortly before the crashes started
  • BIOS incompatibility, especially during or after a Windows upgrade
  • Hardware that does not support the installed Windows version
  • Faulty RAM

Useful Windows tools

These commands open Windows tools. Review changes before applying them.

eventvwr.msc
devmgmt.msc
mdsched.exe

Sources & further reading