← Windows boot error index

Fix SYSTEM_THREAD_EXCEPTION_NOT_HANDLED on Windows 10/11

The fast answer. SYSTEM_THREAD_EXCEPTION_NOT_HANDLED (stop code 0x0000007E) means a Windows system thread raised an exception that nothing caught. In practice it is almost always a driver — graphics drivers are the most reported, followed by network, Wi-Fi, and storage drivers. Look under the stop code for a What failed: line naming a .sys file; Microsoft's advice is to disable or remove that driver, or get an update from its maker. If Windows won't stay up long enough, start Safe Mode from Windows Recovery, then open Device Manager and roll back, update, or uninstall that driver:
devmgmt.msc
No driver named? Read the crash dump (Step 5) and test the RAM (Step 6).

Why this happens

Step-by-step fix

Step 1 — Read the driver name on the blue screen

Write down the .sys file on the What failed: line. A third-party name (a graphics, Wi-Fi, network, or antivirus driver) is your lead. If it names a core Windows file such as ntoskrnl.exe or FLTMGR.SYS, the real culprit is often a third-party driver that called into it — use the crash dump in Step 5 to find it.

Step 2 — Get into Safe Mode if Windows keeps crashing

If the PC crashes before or soon after the desktop, interrupt the boot twice (hold the power button as the Windows logo appears) and Windows opens Windows Recovery (WinRE) on the next start. Or boot a Windows 10/11 install USB and choose Repair your computer. Go to Troubleshoot → Advanced options → Startup Settings → Restart, then press 4 for Safe Mode or 5 for Safe Mode with Networking. BitLocker-encrypted drives will ask for the recovery key. If Windows is stable in Safe Mode but crashes in a normal boot, that strongly points at a driver.

Step 3 — Undo whatever changed last

Remove any hardware added just before the crashes began and unplug USB devices except keyboard and mouse. Uninstall recently added programs from Settings → Apps, especially third-party antivirus, VPN, and tuning tools. If the crashes started right after a Windows Update, use Settings → Windows Update → Update history → Uninstall updates, or from WinRE choose Troubleshoot → Advanced options → Uninstall Updates. System Restore in the same WinRE menu rolls back system files and drivers to an earlier restore point without touching personal files.

Step 4 — Roll back, update, or uninstall the driver

devmgmt.msc

Find the device that owns the driver from Step 1 (for graphics, expand Display adapters). 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 uninstall the device, tick the option to remove its driver, and reboot so Windows loads a basic one. Also check for devices with a yellow warning icon.

Step 5 — Read the exception code from the crash dump

Microsoft's first suggestion is to check the System log in Event Viewer for errors that identify the device or driver. Open Event Viewer → Windows Logs → System and find the BugCheck entry (Event ID 1001). For 0x7E, 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. To get 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 6 — Test RAM, update firmware, repair system files

mdsched.exe

Choose Restart now and check for problems, then read the MemoryDiagnostics-Results entry in the System log. Run the PC maker's hardware diagnostics too, and replace any RAM that fails. Remove CPU, GPU, or memory overclocks. Install the latest BIOS/UEFI and firmware from the PC or motherboard maker; Microsoft also suggests turning off BIOS memory caching/shadowing if your firmware offers it. Then, from an admin Command Prompt:

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

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

If RAM passes 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 clear it:

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 dump points at disk or file-system drivers, image the drive to a known-good external disk first.
GRAM tip: SYSTEM_THREAD_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 spot recently installed drivers and software. Then let its built-in AI repair agent, powered by Claude, help you decide whether a driver, RAM, or firmware 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 next start, or boot from any Windows install USB — and from there you can start Safe Mode, uninstall the latest update, or run System Restore. You'd only need another PC to make an install 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.)

The blue screen names nvlddmkm.sys. What does that mean?

That's NVIDIA's graphics driver. Roll it back if the crashes began after a driver update, or remove it and install the current version from NVIDIA or the PC maker. If crashes continue after a clean reinstall, check GPU temperatures and remove any GPU overclock before blaming the card.

What's the difference between 0x7E and KMODE_EXCEPTION_NOT_HANDLED (0x1E)?

Both mean kernel code raised an exception no handler caught, and their first two parameters match: the exception code, then the address that points to the responsible driver. 0x7E is specifically raised for a system thread. The troubleshooting is the same: find the driver, then rule out RAM and firmware.

Does SYSTEM_THREAD_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 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: KMODE_EXCEPTION_NOT_HANDLED (0x1E) · IRQL_NOT_LESS_OR_EQUAL (0xA / 0xD1) · All Windows boot error codes