Skip to content

How-ToMotherboard

How to Fix SYSTEM_THREAD_EXCEPTION_NOT_HANDLED in Windows 11

SYSTEM_THREAD_EXCEPTION_NOT_HANDLED (stop code 0x7E) means a Windows system thread hit an exception nothing caught. Here's how to find the driver behind it and fix the crash, from safe mode and driver rollbacks to BIOS updates, memory tests and DISM and SFC.

By , Systems & Technical Editor

7 min read

How to Fix SYSTEM_THREAD_EXCEPTION_NOT_HANDLED in Windows 11

SYSTEM_THREAD_EXCEPTION_NOT_HANDLED is a Windows stop code that often appears with a file name such as a graphics, network or storage driver beside it. The good news is that the error message usually points you at the cause, and most fixes don't need anything more advanced than Device Manager, safe mode and a driver reinstall. The steps are based on Microsoft Learn's bug check 0x7E reference, Microsoft Support's blue screen, Windows Recovery Environment, startup settings and System File Checker pages, all checked on 27 November 2026, plus our own general troubleshooting advice, which is labelled as such.

If you're seeing a different stop code, start with our general guide on how to fix a blue screen in Windows 11.

What SYSTEM_THREAD_EXCEPTION_NOT_HANDLED means

Microsoft gives this bug check the value 0x0000007E and says it indicates that a system thread generated an exception that the error handler didn't catch. In plain English: a piece of code running inside Windows itself, rather than in an ordinary app, did something it shouldn't have, and nothing stepped in to recover, so Windows stopped to protect your data.

Microsoft's reference lists three common exception codes that appear as the first parameter of the crash:

Exception code

Name

What Microsoft says it means

0x80000002

STATUS_DATATYPE_MISALIGNMENT

An unaligned data reference was encountered

0x80000003

STATUS_BREAKPOINT

A breakpoint or ASSERT was hit with no kernel debugger attached

0xC0000005

STATUS_ACCESS_VIOLATION

A memory access violation occurred

The second parameter is the address where the exception happened, which Microsoft says should identify the driver or function responsible. You don't need to decode that by hand: the crash screen or a crash dump analysis normally names the file for you.

Step 1: Note the file name on the crash screen

Look closely at the blue (or, on Windows 11 version 24H2 and later, black) stop screen. Microsoft notes that alongside the stop code, Windows shows the module name of the code that was running at the time if it's available. If you see a file ending in .sys, that's almost always a driver, and it's your best lead.

Search for the file name to work out what it belongs to. As a rule of thumb (our guidance, not Microsoft's), names beginning with nvlddmkm belong to NVIDIA's graphics driver, atikmdag or amdkmdag to AMD's, and igdkmd to Intel graphics; network adapter, audio, storage and anti-cheat drivers are also frequent appearances.

If the screen disappears too quickly, Windows records each crash. Our guides to Reliability Monitor and analysing a BSOD minidump with WinDbg show how to find the stop code and faulting driver after the event. Microsoft itself recommends WinDbg's !analyze command for identifying the root cause.

Step 2: Get into Windows (use safe mode if you're stuck in a loop)

If the PC crashes before or just after you reach the desktop, start it in safe mode, which Microsoft describes as starting Windows in a basic state with a limited set of files and drivers. First get into the Windows Recovery Environment: hold Shift while you select Power > Restart, or, if Windows won't start, Microsoft says it enters the recovery environment automatically after failing to start correctly several times. From there, choose Troubleshoot > Advanced options > Startup Settings > Restart, then press 4 (or F4) for safe mode or 5 (or F5) for safe mode with networking. If you use BitLocker, have your recovery key to hand.

Microsoft's blue screen guide suggests carrying out the rest of your troubleshooting from safe mode if normal startup is unreliable. If the crash doesn't happen in safe mode, that's a strong hint that a third-party driver or startup program is to blame. Our safe mode vs clean boot comparison explains how to narrow it down further.

Step 3: Update, roll back or remove the named driver

Microsoft's advice for 0x7E is direct: if a driver is identified in the bug check message, disable the driver or check with the manufacturer for driver updates. In practice:

  • If the crashes started after a driver update, roll it back. In Device Manager, right-click the device, choose Properties > Driver > Roll Back Driver. For graphics cards, see how to roll back a graphics driver.

  • If the driver is old, install the latest version from the hardware maker's own site rather than relying on a generic driver. Our guide on updating graphics drivers covers NVIDIA, AMD and Intel.

  • If a graphics driver keeps appearing even after updating, do a clean reinstall with Display Driver Uninstaller from safe mode, as described in how to clean install graphics drivers with DDU.

  • If it's a driver for software you don't need (an old VPN, RGB utility, virtual audio device or overclocking tool, for example), uninstall the program completely.

While you're in Device Manager, Microsoft also recommends checking for any device marked with a yellow exclamation point and updating or disabling it.

Step 4: Update Windows, chipset drivers and BIOS

Microsoft's blue screen guide lists installing the latest Windows updates as a standard step, and its 0x7E reference specifically suggests checking with your hardware vendor for ACPI or other firmware updates. For a self-built PC, that means:

  1. Windows Update: go to Settings > Windows Update > Check for updates, and install optional driver updates only if they're for the device that's crashing.

  2. Chipset drivers: install the current package from AMD or Intel, or from your motherboard maker's support page. See how to install chipset drivers.

  3. BIOS/UEFI: check whether your motherboard maker has a newer BIOS, particularly if its notes mention stability or memory compatibility. Follow how to update your BIOS safely, and don't flash firmware on a system that's crashing mid-way through Windows unless you can do it from the BIOS itself.

Step 5: Check your memory and overclocks

One of the three common exception codes is a memory access violation, and Microsoft's 0x7E page says hardware issues, such as memory conflicts and system incompatibilities, can also cause this error. In our view, unstable memory settings are worth ruling out on any enthusiast build:

  • If you've enabled XMP or EXPO, or overclocked the CPU, GPU or memory, return everything to stock (or load optimised defaults in the BIOS) and see if the crashes stop. Our XMP and EXPO guide explains what those profiles change.

  • Run a memory test. Windows Memory Diagnostic is built in; for a longer, more thorough test, see how to test RAM with MemTest86.

Microsoft's page also mentions disabling BIOS memory caching or shadowing. That option comes from older systems and you're unlikely to find it in a modern UEFI, so don't worry if it isn't there.

Step 6: Repair Windows system files

If no third-party driver is named, or the module is a core Windows file such as ntoskrnl.exe, check Windows itself for corruption. Microsoft's System File Checker page recommends running these two commands in an elevated Command Prompt, in this order:

DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow

DISM repairs the component store that SFC relies on, and SFC then replaces damaged system files. Our full guide to repairing Windows 11 with DISM and SFC explains what the results mean.

Step 7: Remove new hardware, then restore or reset

Microsoft's basic troubleshooting list starts with removing any hardware you added before the crashes began, and its 0x7E page also says to confirm that new hardware is compatible with your version of Windows. If you've just fitted a new card, adapter or USB device, take it out and test again.

If nothing else works, Microsoft suggests restoring Windows with a restore point or another recovery option. Try System Restore first, back to a date before the crashes started; a full reset is the last resort, and our System Restore vs Reset this PC comparison explains what each keeps.

When it's probably hardware

If the crash continues after a clean Windows install with stock settings, or the named module changes every time, suspect hardware rather than drivers. In our experience, memory errors, an unstable power supply and a failing storage drive can all produce varied stop codes, and Driver Verifier can help catch a misbehaving driver that doesn't show up by name. See how to use Driver Verifier in Windows 11, but read the warnings first, because it is designed to provoke crashes.

Our verdict

SYSTEM_THREAD_EXCEPTION_NOT_HANDLED is usually a driver problem, and the file name on the crash screen or in the crash dump is your shortcut to fixing it: roll back, update or cleanly reinstall that driver, from safe mode if necessary. If no driver is named, update Windows, chipset drivers and BIOS, return memory and overclocks to stock, test your RAM and run DISM and SFC. Only when all of that fails, and the crash survives a clean install, should you start swapping hardware.

The bottom line

SYSTEM_THREAD_EXCEPTION_NOT_HANDLED is usually a driver problem, and the file name on the crash screen or in the crash dump is your shortcut to fixing it: roll back, update or cleanly reinstall that driver, from safe mode if necessary. If no driver is named, update Windows, chipset drivers and BIOS, return memory and overclocks to stock, test your RAM and run DISM and SFC. Only when all of that fails, and the crash survives a clean install, should you start swapping hardware.

Sources

  1. 01Microsoft Learn: Bug Check 0x7E SYSTEM_THREAD_EXCEPTION_NOT_HANDLED
  2. 02Microsoft Support: Troubleshoot blue screen errors
  3. 03Microsoft Support: Windows Recovery Environment
  4. 04Microsoft Support: Windows startup settings
  5. 05Microsoft Support: Use the System File Checker tool to repair missing or corrupted system files

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

How to Read a Graphics Card Spec Sheet: Memory, Clocks, Size and Power Explained

How-To

How to Read a Graphics Card Spec Sheet: Memory, Clocks, Size and Power Explained

Not sure what a graphics card's spec sheet means? We work through a real ASUS spec page line by line, covering the GPU chip, memory size, speed and bus width, boost clocks, PCIe version, display outputs, length and slot thickness, power connectors and recommended PSU, so you can check a card will fit and run in your PC.

Marcus Thorne5 min

Best ASUS Graphics Card 2026: Dual, Prime or TUF Gaming?

Best Picks

Best ASUS Graphics Card 2026: Dual, Prime or TUF Gaming?

Which ASUS graphics card should you buy? We compare six cards from the Dual, Prime and TUF Gaming ranges, from the RTX 5060 and RX 9060 XT to the RTX 5070 Ti, on ASUS UK's official specifications: memory, size, slot thickness, power connectors, display outputs and ASUS's recommended PSU.

Hannah Vance5 min

How to Check if Your CPU Is Throttling in Windows 11 (and Fix It)

How-To

How to Check if Your CPU Is Throttling in Windows 11 (and Fix It)

Is your CPU throttling? Here's how to check in Windows 11 with Task Manager, HWiNFO, Ryzen Master or ThrottleStop, how to tell thermal throttling from power limits, and what to fix first, from dust and thermal paste to power mode and BIOS settings.

Marcus Thorne5 min