Fix KMODE Exception Not Handled on Windows 11
In this article
To fix the KMODE_EXCEPTION_NOT_HANDLED stop code on Windows 11, start by disconnecting any recently added hardware and booting into Safe Mode, then update or roll back the driver named on the blue screen. In most cases the error comes from a faulty or incompatible driver, a corrupted system file, or a RAM problem, and the steps below walk through each cause in order from safest to most invasive.
What You'll Need
- Your Windows 11 PC and its administrator password.
- Any external drives, printers, or USB devices you can unplug during testing.
- A working internet connection for downloading updates and drivers.
- A blank USB drive (8 GB or larger) if you need to create Windows 11 installation media for repair options.
- Optional: a second computer to look up driver downloads if your PC will not stay booted.
Step-by-Step
- Note the stop code details. When the blue screen appears, look for a file name or driver name listed under the stop code (for example, a .sys file). Write it down or photograph the screen. If the screen flashes too fast, disable automatic restart: open Settings > System > About > Advanced system settings, click Startup and Recovery > Settings, and clear Automatically restart. Labels can differ slightly by Windows version, so look for the closest match.
- Disconnect recent hardware. Unplug any USB drives, printers, game controllers, docking stations, or external monitors added recently. If the error stops, reconnect one device at a time to find the culprit.
- Boot into Safe Mode. Open Settings > System > Recovery, click Restart now next to Advanced startup, then choose Troubleshoot > Advanced options > Startup Settings > Restart. After the restart, press 4 or F4 for Safe Mode. If you cannot reach Settings, hold the power button to force a shutdown three times during boot to trigger the recovery menu.
- Update or roll back the named driver. In Safe Mode, right-click Start and open Device Manager. Find the category for the device named on the blue screen (Display adapters, Network adapters, etc.), right-click it, and choose Update driver > Search automatically for drivers. If the error started after an update, choose Properties > Driver > Roll Back Driver instead.
- Run Windows Update. Go to Settings > Windows Update and install all available updates, including optional driver updates. Restart when prompted.
- Check for corrupted system files. Open Start, type cmd, right-click Command Prompt, and choose Run as administrator. Type
sfc /scannowand press Enter. When it finishes, typeDISM /Online /Cleanup-Image /RestoreHealthand press Enter. Restart afterward. - Test your RAM. Open Start, type Windows Memory Diagnostic, and run the tool. Choose Restart now and check for problems. If it reports errors, reseat or replace the memory modules.
- Run a disk check. In an administrator Command Prompt, type
chkdsk C: /f /rand press Enter. Type Y to schedule the check at the next restart, then reboot. This can take a while. - Uninstall recent software or updates. If the error began after installing an app, antivirus, or update, go to Settings > Apps > Installed apps and remove the suspect program. For updates, open Settings > Windows Update > Update history > Uninstall updates.
- Use System Restore. Search for Create a restore point, click System Restore, and choose a restore point from before the error started. This reverts system files and settings but keeps your personal files.
- Reset Windows as a last resort. Go to Settings > System > Recovery > Reset this PC. Choose Keep my files to reinstall Windows while preserving documents. Apps and settings will be removed, so back up important data first.
Common Mistakes
- Ignoring the driver name on the blue screen. That name is the fastest clue and skipping it leads to guesswork.
- Updating every driver at once. Change one driver at a time so you can tell what fixed or caused the problem.
- Running system file checks without administrator rights. The commands will fail or do nothing useful.
- Resetting Windows before trying Safe Mode, driver rollback, and System Restore. A reset removes apps and can be avoided.
- Forgetting to back up files before a reset or disk repair. Always copy important data to an external drive first.
Tips
- Create a restore point before making major driver or system changes so you can undo them.
- Download drivers from your PC or motherboard manufacturer's official support page rather than third-party driver sites.
- Keep Windows and drivers current to reduce the chance of compatibility errors.
- If the error appears only under heavy load, check cooling and power supply health, especially on desktops.
- Use Safe Mode to confirm whether the problem is driver-related; if the error disappears there, a third-party driver or app is likely responsible.
Troubleshooting
If the PC will not boot at all, use Windows 11 installation media to reach repair options. On another PC, download the Media Creation Tool from Microsoft's official site, create a USB drive, boot from it, and choose Repair your computer. From there you can access Safe Mode, System Restore, and Startup Repair.
If Safe Mode also crashes, the problem may be hardware. Reseat the RAM and check the drive connections. On a laptop, avoid opening the case if it is under warranty; contact the manufacturer instead. If memory diagnostics report errors, replace the faulty module.
If the error names a specific file and updating the driver does not help, search the exact file name on the manufacturer's support site for a known fix or updated driver package. Avoid downloading files from unfamiliar sources.
If nothing works and the reset fails, a clean installation of Windows 11 from official media is the final option. Back up your data first, as a clean install erases the drive.
Frequently Asked Questions
What does KMODE_EXCEPTION_NOT_HANDLED mean?
It is a Windows stop code indicating that a kernel-mode program or driver generated an exception that the system could not handle, usually due to a faulty driver or hardware issue.
Can I fix it without Safe Mode?
Sometimes. If Windows still boots to the desktop, you can update drivers, run system file checks, and use System Restore directly. Safe Mode is the safer route when the error repeats.
Will resetting Windows delete my files?
Choosing Keep my files preserves personal documents but removes installed apps and settings. A clean install removes everything, so back up first.
Is this error caused by hardware?
It can be. Faulty RAM, an unstable overclock, or a failing drive are common hardware causes. Run memory and disk checks to rule them out.
How do I know which driver to fix?
The blue screen often lists a file name. Match that file to a device in Device Manager, or check the manufacturer's support site for the driver package.
Should I reinstall Windows immediately?
No. Try disconnecting hardware, Safe Mode, driver updates, and System Restore first. Reinstalling is the last resort after simpler fixes fail.