Windows BSOD Troubleshooting: A Complete Stop Code Guide
Diagnose blue screen errors, unexpected restarts, and Windows stop codes methodically—using the crash evidence, recent changes, supported recovery tools, and targeted hardware tests.
What a blue screen actually means
A blue screen of death—also called a bug check, stop error, kernel error, or BSOD—appears when Windows detects a condition from which it cannot safely continue. Windows records a stop code and restarts or shuts down to reduce the risk of further corruption or data loss. The root cause can be a defective or incompatible driver, failing hardware, firmware, security software, corrupted system files, unstable overclocking, or another low-level fault.
The stop code’s symbolic name, such as IRQL_NOT_LESS_OR_EQUAL, describes the type of failure Windows detected. It does not automatically identify the guilty component. A driver named on the screen or in a dump can be the cause, a victim of corrupted memory, or simply the component active when another failure surfaced.
What to do immediately after a BSOD
Photograph the screen
Capture the complete stop code, QR code, percentage, and any line beginning with “What failed.” Note the time and what the computer was doing—starting, waking, gaming, copying files, installing an update, or sitting idle.
Let Windows finish collecting information
If progress is moving, allow the device to restart normally. Do not repeatedly cut power unless the screen is genuinely frozen for an extended period or the hardware is overheating.
Disconnect only newly added nonessential hardware
After shutdown, remove a recently connected dock, USB device, expansion card, or peripheral if the crash began immediately after it was added. Keep the keyboard, mouse, display, and essential storage connected.
Decide whether it was isolated or recurring
One crash followed by normal operation should be documented and monitored. Repeated crashes, boot loops, changing stop codes, file corruption, or failures during light activity justify immediate diagnosis.
Build an evidence timeline
| Evidence | Where to find it | What it can reveal |
|---|---|---|
| Stop code and “What failed” | Photo of the blue screen | Failure class and a possible module for further investigation. |
| Reliability history | Run perfmon /rel | Crash dates, application failures, driver installs, and update timing. |
| BugCheck event | Event Viewer → Windows Logs → System | Bug-check value, parameters, and sometimes the dump path after restart. |
| Small memory dump | C:\Windows\Minidump | Technical snapshot of the crash, if dump creation completed. |
| Kernel or complete dump | C:\Windows\MEMORY.DMP | More extensive crash state for qualified analysis. |
| Recent changes | Windows Update history, Installed apps, Device Manager | A driver, Windows update, application, firmware, or hardware change that aligns with the first crash. |
Use the crash pattern to narrow the cause
| Pattern | Common area to investigate | Best first move |
|---|---|---|
| Crash began immediately after a driver update | Driver regression or incompatible package | Roll back that exact driver and retest. |
| Crash began after new RAM, GPU, storage, or USB hardware | Compatibility, seating, firmware, power, or defective hardware | Remove the new component if safe and restore the last known-good configuration. |
| Crashes occur during games or GPU workloads | Graphics driver, heat, power, unstable tuning, GPU, or game anti-cheat | Restore default clocks, check temperatures, and use the official graphics driver path. |
| Crashes occur during large copies or startup | Storage, controller driver, file system, or power | Back up data, check storage health, cables, firmware, and related event logs. |
| Stop codes vary from crash to crash | Memory corruption, unstable hardware, power, firmware, or low-level software | Return BIOS tuning to defaults and test memory and storage methodically. |
| Only Safe Mode is stable | Third-party driver, service, security filter, or startup software | Use a clean boot and reverse the most relevant recent change. |
WHEA_UNCORRECTABLE_ERROR | Hardware-reported error, firmware, heat, power, or low-level driver | Remove tuning, install official updates, inspect cooling, then run manufacturer diagnostics. |
Safe BSOD repair path
1. Return the system to known-stable settings
Undo the single most relevant recent change. Remove unsupported overclocking, undervolting, memory profiles, and experimental BIOS settings. If you changed several things, return to manufacturer defaults and reintroduce changes only after the system is stable.
2. Install supported Windows updates
Open Settings → Windows Update, install applicable quality updates, and restart. If the BSOD started immediately after a specific update, review Microsoft’s known issues and use the supported uninstall or recovery option rather than disabling updates indefinitely.
3. Update, roll back, or reinstall the relevant driver
Target the device connected to the evidence. Use Windows Update first, then the exact PC model’s official support page or the hardware maker’s official site. If a previously stable device began crashing after an update, Device Manager → device Properties → Driver → Roll Back Driver is often safer than layering more packages onto the system.
4. Repair Windows components and protected files
If multiple Windows components fail or system corruption is suspected, open Terminal as administrator and run DISM before SFC:
Restart when repairs are reported. These commands can restore Windows components; they do not diagnose defective RAM, an unstable CPU, failing storage, or a bad third-party driver.
5. Test memory without guessing
Search for Windows Memory Diagnostic, choose to restart and check, then review the result in Event Viewer under the System log for MemoryDiagnostics-Results. A reported error is significant. A passing short test does not rule out intermittent RAM, memory-controller, motherboard, heat, or timing problems.
If memory was recently installed, confirm the modules and configuration are supported by the system or motherboard. Power off and follow the manufacturer’s instructions before reseating hardware. Test at default settings before blaming Windows.
6. Check storage, free space, and physical connections
Maintain adequate free space for Windows, paging, updates, and crash dumps. Review the storage manufacturer’s health tool and firmware guidance. On serviceable desktops, power down before checking data and power cables. Do not rely on a single “healthy” summary if the system also logs disk, controller, NTFS, or reset errors.
The online scan checks the file system; it does not prove the physical drive is healthy. Back up before any repair that writes heavily to a suspected failing disk.
7. Use a clean boot to isolate third-party conflicts
A clean boot starts Windows with a reduced set of non-Microsoft services and startup programs. If stability returns, re-enable items in groups to identify the conflicting security product, filter driver, hardware utility, overlay, VPN, tuning tool, or updater. Restore normal startup when testing is complete.
When Windows will not start: use WinRE
Windows Recovery Environment can open automatically after repeated startup failures. You can also hold Shift while choosing Restart, use Settings → System → Recovery → Advanced startup, boot from a recovery drive, or select Repair my PC from official Windows installation media.
- Choose Troubleshoot → Advanced options.
- Use Startup Settings → Restart → Safe Mode when a recent driver or service is suspected.
- Use Uninstall Updates when the failure began with a recent Windows update.
- Use System Restore to roll system files and settings back without targeting personal documents.
- Use Startup Repair when Windows cannot complete the startup process.
- Consider Reset or reinstall only after backups and less destructive options are exhausted.
Common stop-code families
| Stop code | What it broadly indicates | Investigation direction |
|---|---|---|
IRQL_NOT_LESS_OR_EQUAL | Invalid memory access at an elevated interrupt level | Recent kernel driver, RAM instability, firmware, or corrupted memory. |
PAGE_FAULT_IN_NONPAGED_AREA | Invalid reference to memory expected to remain resident | Driver, RAM, security filter, storage/page-file path, or corrupted system data. |
MEMORY_MANAGEMENT | Memory-management inconsistency | RAM and stability testing, drivers, storage, and system files. |
DRIVER_POWER_STATE_FAILURE | A driver failed to complete a power transition | Sleep/wake timing, device driver, firmware, dock, USB, or power management. |
VIDEO_TDR_FAILURE | Graphics stack failed to recover in time | GPU driver, unstable tuning, heat, power, application workload, or GPU hardware. |
CRITICAL_PROCESS_DIED | A critical Windows process terminated | System files, storage, driver/filter interference, malware, or update failure. |
WHEA_UNCORRECTABLE_ERROR | Windows received an uncorrectable hardware-error report | Default settings, firmware, heat, power, CPU, RAM, motherboard, storage, or device diagnostics. |
Always compare the symbolic name and numeric bug-check code with Microsoft’s Bug Check Code Reference. The four parameters attached to a bug check can change its meaning and are primarily intended for technical analysis.
Crash-dump analysis with WinDbg
For recurring crashes, an IT professional or advanced user can open the dump in Microsoft WinDbg and run:
Read the bug-check code, parameters, stack, involved modules, and failure bucket together. Do not uninstall or replace a driver solely because its filename appears in one automated summary. Compare multiple dumps: repeated evidence pointing to the same third-party module is more persuasive than a different blamed module in every crash.
When to stop and seek hardware or professional help
- The device crashes during startup, Safe Mode, or official diagnostics.
- Memory diagnostics report errors or files repeatedly become corrupt.
- Storage health warnings, controller resets, unusual noises, or disappearing drives appear.
- Temperatures, fans, power delivery, liquid damage, or physical damage are involved.
- Different stop codes continue at manufacturer-default settings.
- The dump implicates storage, encryption, endpoint security, or another business-critical kernel component.
- You cannot access backups, the BitLocker recovery key, or a reliable recovery environment.
Reduce future BSOD risk
- Keep Windows, firmware, applications, and evidence-relevant drivers supported and current.
- Download drivers and firmware only from Windows Update or official manufacturers.
- Back up important data and keep recovery keys accessible.
- Create a restore point before high-risk driver or system changes.
- Change one low-level component at a time and record versions.
- Use stable manufacturer-supported BIOS and memory settings.
- Maintain cooling, free disk space, surge protection, and healthy storage.
- Preserve crash photos and dumps until the problem is resolved.
BSOD decision table
| Situation | Best next action | Avoid |
|---|---|---|
| One isolated crash | Record it, update normally, and monitor. | Replacing hardware or every driver immediately. |
| Crash after one driver update | Roll back that driver and reproduce the same test. | Installing several unrelated driver packages. |
| Boot loop after recent change | Use WinRE, Safe Mode, uninstall update, or System Restore. | Repeated forced restarts without a recovery plan. |
| Changing codes and random corruption | Back up, restore defaults, test RAM, storage, heat, and power. | Assuming each named module is a separate software problem. |
| Same code/module across multiple dumps | Investigate that driver or subsystem with official updates and vendor guidance. | Downloading replacement system files from unknown sites. |
| WHEA or diagnostic hardware error | Stop tuning, update firmware, inspect cooling/power, and run manufacturer diagnostics. | Masking the error with repeated reinstalls. |
Frequently asked questions
Does a BSOD always mean the hardware is failing?
No. Drivers, firmware, security software, corrupted system files, unstable settings, and hardware can all trigger bug checks. Use the timeline, stop code, repeated dump evidence, and targeted tests.
Why did Windows restart before I could read the code?
Automatic restart may be enabled. Use Reliability Monitor and Event Viewer after startup, and check the Minidump folder. Photograph the screen if it happens again.
Can reinstalling Windows fix every blue screen?
No. It can resolve software corruption, but defective RAM, storage, power, heat, firmware, and incompatible hardware can continue after reinstalling. Diagnose the evidence before using a destructive recovery option.
Is the driver named on the blue screen definitely responsible?
No. It is a useful lead, but it may be the victim of earlier corruption. Look for consistency across multiple crashes and connect the module to recent changes and the failing workload.
Should I delete crash dump files?
Keep them until the issue is resolved because they may be the best technical evidence available. Dumps can contain sensitive memory data, so share them only with a trusted technician through a secure method.
References and further reading
- Microsoft Support: Resolving Blue Screen errors in Windows
- Microsoft Support: Windows Recovery Environment
- Microsoft Support: Recovery options in Windows
- Microsoft Learn: Bug Check Code Reference
- Microsoft Learn: Analyze bug check stop-code data
- Microsoft Support: WHEA_UNCORRECTABLE_ERROR