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:
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.
Chipset drivers: install the current package from AMD or Intel, or from your motherboard maker's support page. See how to install chipset drivers.
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.