Blue screens · Windows 11
Fix a blue screen with stop code KMODE_EXCEPTION_NOT_HANDLED
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
- The exact file name from the blue screen, if shown. It is the most valuable clue in this guide.
- Your files backed up. Any repeated blue screen earns a backup before repair work.
- An administrator account. Driver removal and the repair commands need it.
Read the problem before you touch it
- 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.
- 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.
- 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
- 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.
- 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.
- 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.
- 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
- Repair the system files. From an administrator terminal, run
DISM /Online /Cleanup-Image /RestoreHealth, thensfc /scannow. If SFC reports it fixed files, restart and test before reinstalling anything you removed. - 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.
- 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
- Normal mode runs for several days, including restarts, with no blue screen.
- The product or driver you identified is either removed, rolled back, or updated, and the crash went with the change.
- Reliability history shows no new stop code entries since the fix.
When it goes wrong
- The same file is named every time. Do not reinstall the same version. Remove the product, run a week without it, then install the current version fresh if you still need it.
- Safe Mode crashes too. That moves suspicion to core files or hardware. Run the file repair from the recovery environment and the memory diagnostic next.
- No file is named and nothing changed recently. Work the advanced steps in order; the memory test matters more in this pattern than in any other in this guide.
- The crash follows a Windows feature update. Use the recovery option to uninstall the latest feature update, then pause updates while you install current drivers from the makers.
Related fixes
-
Fix a blue screen with stop code SYSTEM_THREAD_EXCEPTION_NOT_HANDLED
This blue screen means a system thread hit an error it could not handle, and the screen often names the driver file responsible right under the stop code. Read that filename first, remove or roll back that driver in Safe Mode, and only chase wider repairs if no file is named.
-
Fix a blue screen with stop code SYSTEM_SERVICE_EXCEPTION
A SYSTEM_SERVICE_EXCEPTION blue screen means a system service handed bad work to a driver or to Windows itself — most often a recently changed driver. Work back through recent drivers first, in the order they changed.
-
Fix a blue screen with stop code UNEXPECTED_STORE_EXCEPTION
This stop code points at the storage stack — the drive, its driver, or the file system Windows keeps its memory store on. The good news is that the fix order is short: check the drive's health, repair the file system and system files, and update the storage driver before you consider anything drastic.
-
Fix a blue screen with stop code CRITICAL_PROCESS_DIED
CRITICAL_PROCESS_DIED means a process Windows cannot run without has ended. Undo the recent change, test in Safe Mode, then repair system files and scan the drive in order.
Sources
- Microsoft Learn, Bug Check 0x1E: KMODE_EXCEPTION_NOT_HANDLED — the kernel-mode exception this stop code records and the driver it can name.
- Microsoft Support, Update drivers manually in Windows — updating, reinstalling, and rolling back a driver in Device Manager.
- Microsoft Support, Windows startup settings — reaching Safe Mode and the other startup settings from the recovery environment.
- Microsoft Support, Troubleshooting Windows unexpected restarts and stop code errors — the general route for stop code errors: recent changes, updates, and driver checks.