Blue screen · Windows 11
Fix a blue screen with stop code SYSTEM_THREAD_EXCEPTION_NOT_HANDLED
This blue screen means a system thread hit an error it could not handle, and the screen often names the driver file responsible right under the stop code. Read that filename first, remove or roll back that driver in Safe Mode, and only chase wider repairs if no file is named.
What you need
- A photo of the blue screen. The line under the stop code often names a .sys file — that filename is the whole diagnosis, so capture it before the PC restarts.
- A note of what changed recently. A new driver, a Windows update, or new hardware in the days before the first crash points at the same suspect.
- Your sign-in password, not just a PIN. Safe Mode and the recovery environment can ask for the full account password.
Read the problem before you touch it
- Read the filename under the stop code. This stop code is 0x7E, and Microsoft's Bug Check 0x7E reference describes it as an exception a system thread generated that the error handler did not catch. When the screen adds a line such as "What failed:" followed by a .sys filename, that driver is the first suspect — graphics, network, storage, and antivirus drivers are the usual names.
- Match the timing to a change. Crashes that started right after a driver or Windows update are almost always that update. Crashes with no recent change and no filename lean more toward a failing system file or hardware, which the later steps separate.
- Note whether Windows still starts. If the PC reaches the desktop between crashes, you can work normally. If it crashes before sign-in every time, skip straight to the Safe Mode route — Microsoft's steps for starting your PC in Safe Mode cover both the Settings route and the sign-in screen route.
The simple fixes, in order
- Unplug new USB hardware and restart. A new dock, capture device, or adapter brings its own driver with it. Remove everything non-essential, restart, and see whether the crash follows the hardware or stays with the PC.
- Roll back the named driver in Device Manager. If the screen named a file and you know which device it belongs to, open Device Manager, open that device's Properties, and use Roll Back Driver on the Driver tab if it is available. If rollback is grayed out, uninstall the device instead and restart — Windows reinstalls a clean driver on the way back up.
- Undo a recent Windows update if the timing matches. Go to Settings > Windows Update > Update history > Uninstall updates and remove the most recent update from just before the crashes began. Restart and give the PC a full session before reinstalling anything.
- Update the named driver from the maker instead. If the crash names a graphics or network driver and rollback is not offered, install the current driver from the device maker's own support page rather than a driver-updater tool. A clean, current driver replaces the file that is faulting.
The advanced route
- Remove the driver in Safe Mode when Windows will not stay up. Boot into Safe Mode using the route in Microsoft's Safe Mode guide, then uninstall the suspect device in Device Manager and restart normally. Safe Mode loads only basic drivers, so the faulting one never gets the chance to crash the session while you remove it.
- Repair system files when no driver is named. Open Windows Terminal as administrator and run
DISM /Online /Cleanup-Image /RestoreHealth, then runsfc /scannow. Microsoft documents both in Using System File Checker in Windows. This covers the cases where the exception comes from a damaged Windows component rather than a third-party driver. - Check Event Viewer for the pattern. Open Event Viewer, look under Windows Logs > System for critical errors at the crash times, and note whether the same driver or service is named each time. A single repeating name confirms the branch; a different name every crash points away from drivers and toward memory or storage faults.
End state
- The PC boots to the desktop and stays up through a full work session with no blue screen.
- The device whose driver was named on screen works normally on its replacement driver.
- Event Viewer shows no new critical bug-check errors after the fix.
When it goes wrong
- The crash names a different file every time. That pattern argues against one bad driver. Run the DISM and SFC repair, then test the memory with the built-in Windows Memory Diagnostic from the Start menu search.
- Safe Mode crashes too. Safe Mode uses only basic drivers, so a crash there points at core system files or hardware. Use the recovery environment's Startup Repair, and treat repeating crashes after that as a hardware problem.
- Uninstalling the device brings the crash back after restart. Windows is reinstalling the same faulty driver automatically. Pause driver delivery by disconnecting from the internet for the restart, then install the maker's current driver before reconnecting.
Related fixes
-
Fix a blue screen with stop code KMODE_EXCEPTION_NOT_HANDLED
KMODE_EXCEPTION_NOT_HANDLED means a kernel-mode program, usually a driver, hit an error it did not know how to handle. The blue screen often names the driver file responsible, which makes this one of the more direct blue screens to fix: deal with the named driver first, then recent installs, then the system files.
-
Fix a blue screen with stop code SYSTEM_SERVICE_EXCEPTION
A SYSTEM_SERVICE_EXCEPTION blue screen means a system service handed bad work to a driver or to Windows itself — most often a recently changed driver. Work back through recent drivers first, in the order they changed.
-
Fix a blue screen with stop code BAD_SYSTEM_CONFIG_INFO
This is the blue screen that often appears right after a registry cleanup, a restore gone wrong, or a memory change — Windows is saying the system hive it needs to start is damaged or does not match the hardware. Start with System Restore from recovery, because rolling back to before the change is exactly what this error calls for.
-
Fix a blue screen with stop code UNEXPECTED_STORE_EXCEPTION
This stop code points at the storage stack — the drive, its driver, or the file system Windows keeps its memory store on. The good news is that the fix order is short: check the drive's health, repair the file system and system files, and update the storage driver before you consider anything drastic.
Sources
- Microsoft Learn, Bug Check 0x7E: SYSTEM_THREAD_EXCEPTION_NOT_HANDLED — what the stop code means and its parameters.
- Microsoft Support, Start your PC in Safe Mode in Windows — the Settings and sign-in screen routes into Safe Mode.
- Microsoft Support, Using System File Checker in Windows — running SFC and DISM to repair missing or corrupted system files.