SYSTEM_THREAD_EXCEPTION_NOT_HANDLED: Stop Code 0x0000007E
Stop code 0x0000007E means a system thread raised an exception with no handler. The named driver file is the lead. Safe mode, rollback, and boot repair steps.
The machine was running normally, or had just resumed from sleep or started a game, when the screen turned blue and the line SYSTEM_THREAD_EXCEPTION_NOT_HANDLED appeared with stop code 0x0000007E. The code is reporting that a kernel-mode thread raised an exception (an access violation, an invalid instruction, a divide by zero) and no exception handler was registered to catch it. The fault is not in the thread itself; it is in the code that thread was executing, which is almost always a third-party driver. Windows names the failing image on the blue screen, usually as a .sys file, and that name is the most useful piece of evidence the crash produces.
The stop code is a symptom, not a diagnosis. The same 0x0000007E can come from a graphics driver that mishandles a power transition, a storage driver that returns a bad status, a filter driver from antivirus software, or a memory module that corrupts an instruction in transit. The repair path is therefore ordered by what can be confirmed cheaply, not by what is most dramatic. A driver rollback is reversible; a memory test costs an hour; a reinstall costs the day.
Reading the driver name on the blue screen
The line below the stop code, often labelled “What failed”, names the image Windows believes was executing when the exception was raised. That name is a lead, not a verdict: a driver can be named because it was the last thing on the stack, while the corruption came from elsewhere. Treat it as the first place to look.
Common named images and what they belong to:
| Named file | Belongs to | When this lead does not apply |
|---|---|---|
| nvlddmkm.sys, atikmdag.sys, igdkmd64.sys | GPU vendor display driver | The crash happens only under heavy load and the GPU is overclocked or overheating |
| storahci.sys, stornvme.sys, iaStorAC.sys | Storage controller or NVMe driver | The disk is failing its own SMART checks, so the driver is reporting a hardware fault |
| ntoskrnl.exe, ntkrnlmp.exe | The Windows kernel itself | Almost always a symptom of bad memory or a lower driver, not a kernel bug |
| A third-party .sys with a vendor name | Antivirus, VPN, disk encryption, backup filter | The file was installed by software that has since been removed but left a filter registered |
| win32k.sys, dxgkrnl.sys | Graphics subsystem | The crash follows a Windows update that changed the display stack |
If the name is ntoskrnl.exe, the page is pointing at the kernel because the actual culprit is below it. Memory diagnostics and driver verifier are the next steps, not a kernel repair.
Getting the machine to a usable state
If Windows still starts, the repair can be done from the desktop. If it blue-screens during boot, before the sign-in screen, the recovery environment is the only route. Hold the Shift key while choosing Restart from the power menu, or start from installation media and choose Repair your computer. From there, Startup Settings offers Safe Mode, which loads a minimal driver set and often lets the machine reach a desktop where the offending driver can be removed or rolled back.
Safe Mode with Networking is the variant to choose when the repair needs a download. Safe Mode alone is enough for Device Manager work.
Rolling back the driver that the stop code names
A rollback restores the previous version of a driver without touching user data. It applies when the crash began after a driver update, a Windows update that shipped a new driver, or a GPU vendor update. Confirm the timing first: if the blue screens started the same day as the update, rollback is the right repair. If they started weeks later with no update in between, the driver is less likely to be the cause and the memory and storage checks below come first.
Open Device Manager, expand the category for the named device (Display adapters for a GPU driver, Storage controllers for a storage driver), right-click the device, choose Properties, open the Driver tab, and select Roll Back Driver. The button is greyed out when no previous driver is stored, which happens after a clean install or when the update was the first driver installed.
If rollback is unavailable, uninstall the device and tick Delete the driver software for this device, then restart. Windows will install a generic driver, and the vendor driver can be reinstalled from the vendor’s own download page rather than from a driver-updater utility.
When the failure happens during boot
A 0x0000007E that repeats before the sign-in screen usually means a boot-critical driver (storage, filter, or disk encryption) is failing. Safe Mode may not load it either, because the storage stack is needed to reach Safe Mode. In that case the recovery environment is the working surface.
From the recovery command prompt, the offline driver store can be inspected. The exact syntax for enumerating and removing a driver package offline is documented by Microsoft; the operation is to list the third-party driver packages in the offline image and remove the one matching the named file. Do not delete files from System32\drivers by hand: the driver package registration remains and Windows will try to load a file that no longer exists.
If the machine cannot start because the boot configuration was damaged by the same event, the boot files can be rebuilt. Inside diskpart, list the volumes, select the EFI system partition, and assign it a letter:
diskpart list volume select volume S assign letter=S exit
Replace S with a letter not in use. Then rebuild the boot files, taking the Windows drive letter from the same list volume output:
bcdboot D:\Windows /s S: /f UEFI
The command copies the boot manager and BCD store to the EFI partition. It does not touch user data. It does not repair a driver fault; it only restores the ability to start, after which the driver repair above can proceed.
Checking the memory before blaming the driver
A driver that crashes with an access violation can be innocent: the instruction it executed was corrupted in RAM before it ran. Memory faults produce 0x0000007E with a rotating cast of named files, which is the tell. If the named file changes between crashes, or the same file is named alongside different stop codes, suspect memory.
Windows includes a memory diagnostic that runs outside the operating system. Run it from the recovery environment or from the desktop; it restarts the machine and reports results on the next boot. A clean pass does not prove the memory is good, but a failing pass is conclusive and points to reseating or replacing the module before any further driver work.
If the machine has more than one module, testing them one at a time isolates the faulty stick. This is a hardware step; it destroys nothing.
Storage and file-system checks that belong to this stop code
A storage driver that returns a bad status to a system thread produces the same stop code as a graphics driver fault. Run the file-system check first, because it is read-mostly and repairs metadata:
chkdsk C: /scan
The scan reports problems without taking the volume offline. If it finds them, schedule a repair at the next restart with chkdsk C: /f, which requires a reboot and briefly dismounts the volume. It does not delete user files; it repairs file-system structures.
Then check the system files themselves:
sfc /scannow
A corrupted system file that a driver depends on can raise an exception the driver cannot handle. The scan replaces damaged protected files from the local component store. If the store itself is damaged, the deployment image servicing command repairs it from Windows Update; the exact syntax is documented by Microsoft and should be looked up rather than guessed, because the source and limit switches matter.
Driver signature enforcement and unsigned drivers
Windows refuses to load a kernel driver whose signature cannot be verified, and the refusal can surface as a stop code rather than a clean error. If the named file is from a vendor that supplies unsigned or test-signed drivers, check whether the machine has been set to allow them. The setting is changed through the boot configuration, and the change is reversible; the exact command is documented by Microsoft. Disabling signature enforcement permanently is not a repair: it removes a security boundary and leaves the machine loading code that Windows would otherwise reject. The correct fix is a signed driver from the vendor.
Using a memory dump to confirm the diagnosis
A single blue screen names one file; a memory dump names the stack. Windows writes a dump according to the setting under System Properties, Advanced, Startup and Recovery. The small memory dump (minidump) is enough to identify the faulting module and is written by default to the Windows minidump folder. A kernel dump is larger and captures more context.
Analysis requires a debugger and the Microsoft symbol server; the procedure is documented by Microsoft and is not a command to paste blind. The output to look for is the module name in the stack and the exception code. If the stack shows the named driver calling into the kernel with a bad pointer, the driver is the cause. If the stack shows the kernel itself with no third-party frame, memory or storage is the more likely cause.
What to do when the driver cannot be identified
When the named file is ntoskrnl.exe on every crash and memory and storage both pass, the remaining tool is Driver Verifier, which puts selected drivers under stricter checks and forces a bugcheck at the point of the violation rather than later. It is configured from the command line and applies to drivers chosen by the reader; enabling it for all drivers at once can make a working machine unbootable, so it is applied to a short list and removed after the test. The procedure is documented by Microsoft.
A machine that blue-screens during the Windows setup or recovery environment itself, before any third-party driver is loaded, is pointing at hardware. At that stage the recoverable options are exhausted and the hardware diagnosis (memory, storage, thermals) is the remaining path.
Common questions
What does SYSTEM_THREAD_EXCEPTION_NOT_HANDLED mean?
A kernel-mode thread raised an exception such as an access violation, and no handler was registered to catch it. Windows stops the machine to prevent the corrupted thread from continuing. The stop code is 0x0000007E, and the named driver file is the lead.
How do I fix stop code 0x0000007E?
Start with the driver named on the blue screen: roll it back in Device Manager if the crashes began after an update. If the machine will not boot, use Safe Mode or the recovery environment. If the named file changes between crashes, test the memory before doing more driver work.
Can a bad RAM stick cause 0x0000007E?
Yes. Corrupted memory can make a driver execute a bad instruction, and the crash is attributed to the driver. The tell is that the named file changes between crashes. Run the Windows memory diagnostic before replacing drivers.
Why does the blue screen name ntoskrnl.exe?
ntoskrnl.exe is the Windows kernel. When it is named, the actual cause is usually below it: bad memory, a storage fault, or a lower driver. Treat it as a pointer to further diagnosis, not as a kernel bug to repair.
Does SYSTEM_THREAD_EXCEPTION_NOT_HANDLED mean I need to reinstall Windows?
Usually not. Driver rollback, Safe Mode, memory testing, and file-system checks resolve most cases. A reinstall is the last option, after the recoverable repairs have been tried and the hardware has been checked.
Read next
- KMODE_EXCEPTION_NOT_HANDLED: Stop Code 0x1E What stop code 0x1E reports, how to read the failing module from the screen or the dump, and the least-destructive repairs in the order they should be tried.
- SYSTEM_SERVICE_EXCEPTION (0x0000003B) Stop Code What stop code 0x0000003B means: an exception during the user-to-kernel transition. Driver, system file and memory causes, with repairs in order.
- MEMORY_MANAGEMENT Blue Screen (0x0000001A) What stop code 0x0000001A reports, how to tell bad RAM from an overclock profile or a failing driver, and the repairs in least-destructive order.
- System Restore: What It Does and What It Does Not System Restore reverts system files, drivers and the registry. It does not touch your documents, and it will not recover them. It is not a backup.
- Mapped Drive Not Connecting at Login: Fixes Mapped drives fail at login due to timing, permissions, or policy. Diagnose and fix with built-in tools. No third-party cleaners.