How to Fix Blue Screen

How to Fix Blue Screen: A Complete Technical Guide to Diagnosing and Resolving BSOD Errors Blue Screen of Death (BSOD) errors are among the most disruptive issues a Windows user can encounter. These critical system failures halt all operations, displaying a blue screen with an error code and message, often leaving users frustrated and uncertain about how to proceed. While the visual is alarming, B

Oct 30, 2025 - 11:50
Oct 30, 2025 - 11:50
 0

How to Fix Blue Screen: A Complete Technical Guide to Diagnosing and Resolving BSOD Errors

Blue Screen of Death (BSOD) errors are among the most disruptive issues a Windows user can encounter. These critical system failures halt all operations, displaying a blue screen with an error code and message, often leaving users frustrated and uncertain about how to proceed. While the visual is alarming, BSODs are not random occurrences—they are diagnostic tools built into Windows to prevent further damage by stopping the system when a fatal error is detected. Understanding how to fix blue screen errors is essential for maintaining system stability, protecting data, and ensuring optimal performance. This guide provides a comprehensive, step-by-step approach to diagnosing, troubleshooting, and resolving the most common causes of BSODs, whether you're a home user, IT professional, or system administrator.

Step-by-Step Guide

Step 1: Identify the Error Code and Message

When a blue screen appears, the first and most critical action is to note the error code and message displayed. Common codes include:

  • IRQL_NOT_LESS_OR_EQUAL – Often caused by faulty drivers or hardware conflicts
  • SYSTEM_THREAD_EXCEPTION_NOT_HANDLED – Typically linked to driver incompatibility
  • PAGE_FAULT_IN_NONPAGED_AREA – Usually indicates memory corruption or failing RAM
  • DATA_BUS_ERROR – Points to hardware issues, often with RAM or motherboard
  • NTFS_FILE_SYSTEM – Suggests disk corruption or bad sectors
  • WDF_VIOLATION – Related to Windows Driver Framework issues

Take a photo of the screen or write down the exact text. If the system reboots too quickly, disable automatic restart to view the error:

  1. Press Windows + R to open the Run dialog.
  2. Type sysdm.cpl and press Enter.
  3. Go to the Advanced tab.
  4. Under Startup and Recovery, click Settings.
  5. Uncheck Automatically restart.
  6. Click OK to save changes.

After disabling automatic restart, the next BSOD will remain visible, allowing you to capture the error details.

Step 2: Check for Recent Changes

BSODs often occur after a system change. Ask yourself:

  • Did you install new hardware (RAM, GPU, SSD, peripheral)?
  • Did you update Windows, drivers, or firmware recently?
  • Did you install third-party software, especially antivirus, overclocking tools, or utilities?

If a change preceded the BSOD, revert it. For example:

  • Uninstall recently added software using Control Panel > Programs > Uninstall a Program.
  • Roll back a driver: Open Device Manager (press Windows + X), right-click the device, select Properties > Driver > Roll Back Driver.
  • If you added RAM, remove it and test the system with the original configuration.

System Restore can also be used to revert to a stable state before the issue occurred. Type create a restore point in the Windows search bar, open the System Properties window, click System Restore, and follow the wizard to select a restore point from before the BSOD began.

Step 3: Run Windows Memory Diagnostic

Memory corruption is one of the leading causes of BSODs. Windows includes a built-in memory diagnostic tool to test RAM.

  1. Press Windows + R, type mdsched.exe, and press Enter.
  2. Select Restart now and check for problems.
  3. The system will reboot and run the test automatically.
  4. After completion, the system will reboot back into Windows.
  5. Press Windows + R, type eventvwr.msc, and press Enter.
  6. Navigate to Windows Logs > System.
  7. Look for an entry with the source MemoryDiagnostics-Results.
  8. If errors are found, replace the faulty RAM module.

For more detailed analysis, use third-party tools like MemTest86, which boots independently of Windows and runs multiple passes for higher accuracy.

Step 4: Scan for Disk Errors

Hard drive or SSD corruption can trigger BSODs, especially those related to the NTFS file system.

  1. Open Command Prompt as Administrator: Press Windows + X, then select Command Prompt (Admin) or Windows Terminal (Admin).
  2. Type chkdsk C: /f /r and press Enter.
  3. When prompted to schedule the scan on next restart, type Y and press Enter.
  4. Restart the computer.

The /f flag fixes errors, and /r locates bad sectors and recovers readable information. This process may take several hours depending on drive size.

After the scan, check the results by opening Event Viewer again and looking under Windows Logs > Application for entries from Wininit or Chkdsk.

Step 5: Update or Roll Back Drivers

Outdated, corrupted, or incompatible drivers are responsible for over 70% of BSODs. Focus on these critical drivers:

  • Graphics (NVIDIA, AMD, Intel)
  • Chipset (Intel, AMD)
  • Network adapters
  • Storage controllers (SATA, NVMe)

To update drivers:

  1. Open Device Manager.
  2. Expand the relevant category (e.g., Display adapters).
  3. Right-click the device and select Update driver.
  4. Select Search automatically for updated driver software.

Alternatively, visit the manufacturer’s website (e.g., Dell, HP, ASUS, NVIDIA) and download drivers manually. Avoid third-party driver updater tools—they often install bloatware or incorrect drivers.

If updating caused the issue, roll back the driver as described in Step 2. For advanced users, use pnputil in Command Prompt to list and remove problematic drivers:

  • Type pnputil /enum-drivers to list all installed drivers.
  • Find the driver with the issue (look for the publisher and INF name).
  • Type pnputil /delete-driver oemXX.inf /force (replace XX with the number).

Step 6: Scan for Malware and Corrupted System Files

Malware can inject malicious code into system processes, triggering BSODs. Run a full scan using Windows Defender or a trusted third-party antivirus.

Additionally, repair corrupted Windows system files:

  1. Open Command Prompt as Administrator.
  2. Type sfc /scannow and press Enter.
  3. Wait for the scan to complete. If it finds and fixes errors, restart the system.
  4. If SFC fails, run the DISM tool:
DISM /Online /Cleanup-Image /CheckHealth

DISM /Online /Cleanup-Image /ScanHealth

DISM /Online /Cleanup-Image /RestoreHealth

DISM repairs the Windows image using Windows Update. This step is critical if SFC cannot fix errors due to a damaged source.

Step 7: Check for Overheating and Hardware Issues

Overheating can cause instability and BSODs, especially under load. Use tools like HWMonitor or Core Temp to check CPU and GPU temperatures. Safe ranges:

  • CPU: Below 85°C under load
  • GPU: Below 88°C under load

If temperatures are high:

  • Clean dust from fans and heatsinks.
  • Ensure proper airflow in the case.
  • Replace thermal paste if the system is over two years old.
  • Consider upgrading cooling solutions.

For power-related issues, test with a different PSU if possible. A failing power supply can cause inconsistent voltage delivery, leading to random crashes.

Step 8: Analyze Minidump Files

Windows automatically creates minidump files (located in C:\Windows\Minidump) when a BSOD occurs. These files contain detailed information about the crash.

To analyze them:

  1. Download and install WinDbg Preview from the Microsoft Store.
  2. Open WinDbg and go to File > Open Crash Dump.
  3. Select a .dmp file from the Minidump folder.
  4. Wait for analysis to complete. Look for the line starting with BUGCHECK_STR and FAILURE_BUCKET_ID.
  5. Check the STACK_TEXT section for the driver or module involved.

For example, if nvlddmkm.sys appears in the stack, the issue is with your NVIDIA graphics driver. This level of analysis is essential for resolving complex or recurring BSODs.

Step 9: Perform a Clean Boot

Third-party services and startup programs can conflict with Windows processes. A clean boot starts Windows with only essential services and drivers.

  1. Press Windows + R, type msconfig, and press Enter.
  2. Go to the Services tab.
  3. Check Hide all Microsoft services.
  4. Click Disable all.
  5. Go to the Startup tab and click Open Task Manager.
  6. Disable all startup items.
  7. Restart the computer.

If the system remains stable, re-enable services and startup items one by one to identify the culprit. This method isolates software conflicts that are not immediately obvious.

Step 10: Reset or Reinstall Windows

If all else fails, a system reset may be necessary. Windows offers two options:

  • Keep my files – Removes apps and settings but retains personal data.
  • Remove everything – Fully reinstalls Windows, wiping all data.

To reset:

  1. Go to Settings > System > Recovery.
  2. Under Reset this PC, click Reset PC.
  3. Select your preferred option.
  4. Follow the prompts.

For maximum reliability, create a bootable USB with the Windows Media Creation Tool and perform a clean install. This ensures no residual corrupted files remain.

Best Practices

Maintain Regular System Updates

Always install Windows updates promptly. Microsoft releases patches for known driver and kernel vulnerabilities that can cause BSODs. Enable automatic updates and check for optional driver updates in Windows Update settings.

Use Reputable Hardware

Low-quality RAM, power supplies, and storage devices are common sources of instability. Stick to well-known brands like Crucial, Kingston, Samsung, Corsair, and Seasonic. Avoid no-name components, especially in critical systems.

Monitor System Health Proactively

Use tools like CrystalDiskInfo to monitor SSD/HDD health via S.M.A.R.T. data. Set alerts for reallocated sectors, pending bad blocks, or temperature spikes. Early detection prevents catastrophic failure.

Keep a Driver Backup

Before major updates, use a tool like DriverMax or manually export drivers using pnputil /export-driver. This allows quick restoration if a new driver causes instability.

Avoid Overclocking Unless Experienced

Overclocking CPU, GPU, or RAM can lead to instability and BSODs. If you overclock, ensure adequate cooling, test stability with tools like Prime95 or AIDA64, and avoid pushing voltages beyond manufacturer recommendations.

Document Changes and Symptoms

Keep a log of when BSODs occur, what applications were running, and what error codes appeared. Patterns help identify root causes. For example, if crashes happen only during gaming, the issue is likely GPU-related.

Use Standard Power Settings

High-performance or custom power plans can cause timing issues with hardware. Use the default Balanced plan unless you have a specific need for performance. Disable aggressive power-saving features for critical hardware like NVMe drives.

Limit Third-Party Utilities

Many “system optimizer” tools, registry cleaners, and driver updaters are unreliable and can cause more harm than good. Rely on Windows-native tools and manufacturer-provided software instead.

Tools and Resources

Essential Diagnostic Tools

  • WinDbg Preview – Microsoft’s official debugger for analyzing minidump files.
  • MemTest86 – Bootable RAM testing tool with higher accuracy than Windows Memory Diagnostic.
  • CrystalDiskInfo – Monitors SSD/HDD health and S.M.A.R.T. attributes.
  • HWMonitor – Tracks temperatures, voltages, and fan speeds.
  • Speccy – Provides detailed system overview including hardware specs and temperatures.
  • BlueScreenView – NirSoft utility that displays all BSODs in a readable table format with driver details.

Official Microsoft Resources

Driver and Firmware Sources

  • Device manufacturer websites (Dell, HP, Lenovo, ASUS, MSI, etc.)
  • Intel Driver & Support Assistant
  • NVIDIA GeForce Experience
  • AMD Adrenalin Software

Always download drivers from official sources. Third-party sites may bundle adware or outdated versions.

Community and Forums

  • Microsoft Community – Official user forums with Microsoft engineers participating.
  • Reddit r/techsupport – Active community with experienced users.
  • TechPowerUp Forums – In-depth discussions on hardware and driver issues.

When posting for help, include: error code, minidump analysis, recent changes, and system specs (CPU, RAM, GPU, OS version).

Real Examples

Example 1: BSOD After GPU Driver Update

User reports frequent BSODs with error code IRQL_NOT_LESS_OR_EQUAL after updating their NVIDIA GeForce RTX 3060 driver. They noticed crashes occurred during gaming.

Diagnosis:

  • Checked minidump files using WinDbg: nvlddmkm.sys was listed as the culprit.
  • Verified the driver was installed via Windows Update, not NVIDIA’s official site.
  • Rolling back to the previous driver version resolved the issue.

Resolution: Downloaded and installed the latest stable driver directly from NVIDIA’s website. Disabled automatic driver updates in Windows Update settings to prevent recurrence.

Example 2: Random BSODs on a 5-Year-Old PC

System crashes multiple times per day with PAGE_FAULT_IN_NONPAGED_AREA. No recent software changes.

Diagnosis:

  • Windows Memory Diagnostic found errors on one RAM stick.
  • Running MemTest86 confirmed 32 errors on DIMM slot 2.
  • Chkdsk showed no disk errors.
  • Temperatures were normal.

Resolution: Removed the faulty RAM stick and ran the system with the remaining module. System became stable. User replaced the defective RAM with a matched pair for dual-channel performance.

Example 3: BSOD After Installing Third-Party Antivirus

After installing a new antivirus suite, the system began crashing with SYSTEM_THREAD_EXCEPTION_NOT_HANDLED.

Diagnosis:

  • Performed a clean boot: system remained stable.
  • Re-enabled services one by one: crash occurred when the antivirus service was enabled.
  • Minidump analysis pointed to avgrkx64.sys – a kernel driver from the antivirus software.

Resolution: Uninstalled the antivirus suite and reverted to Windows Defender. System remained stable. User later chose a different antivirus known for better Windows compatibility.

Example 4: BSOD During File Transfers

System crashes only when copying large files to an external SSD. Error: DATA_BUS_ERROR.

Diagnosis:

  • Tested external SSD on another computer: stable.
  • Tested internal SSD: stable.
  • Checked SATA cables and ports: one cable was loose and corroded.

Resolution: Replaced the faulty SATA cable. System no longer crashed during transfers. Also updated chipset drivers to ensure optimal communication.

FAQs

What causes a blue screen on Windows?

Blue screens are triggered by critical system errors, typically caused by faulty hardware (RAM, hard drive, GPU), corrupted or incompatible drivers, system file corruption, malware, overheating, or power supply issues.

Can a virus cause a blue screen?

Yes. Malware that modifies system files, injects code into kernel processes, or disables security services can trigger BSODs. Always run a full scan with a trusted antivirus if you suspect infection.

Is it safe to ignore occasional blue screens?

No. Even a single BSOD indicates a serious underlying issue. Ignoring it risks data loss, hardware damage, or complete system failure. Investigate and resolve the root cause immediately.

How do I prevent blue screens in the future?

Keep Windows and drivers updated, use quality hardware, avoid overclocking unless experienced, monitor temperatures and disk health, disable unnecessary startup programs, and avoid third-party driver utilities.

Why does my computer blue screen only when gaming?

This usually points to GPU driver issues, overheating, or insufficient power delivery. Update your graphics drivers, clean your GPU fans, and ensure your power supply meets the system’s requirements under load.

Can a faulty power supply cause blue screens?

Yes. An underpowered or failing PSU can deliver unstable voltage, leading to random crashes. If you suspect the PSU, test with a known-good unit or use a PSU tester.

Do I need to replace my hard drive if I get NTFS errors?

Not necessarily. Run chkdsk /f /r first. If errors persist or S.M.A.R.T. data shows bad sectors, then replacement is recommended. Monitor disk health regularly.

What should I do if the blue screen happens during Windows installation?

This usually indicates incompatible or failing hardware. Test RAM and storage with external tools. Disable Secure Boot or change SATA mode from RAID to AHCI in BIOS if installing on a new drive.

Can I recover data after a blue screen?

Yes, if the system boots even partially. Use a live USB (like Hiren’s BootCD or Ubuntu Live) to access files. If the drive is physically damaged, consult a professional data recovery service.

How long does it take to fix a blue screen?

Simple fixes (driver rollback, malware scan) can take under 30 minutes. Complex issues (hardware replacement, clean install) may take several hours. Patience and systematic troubleshooting yield the best results.

Conclusion

Fixing a blue screen is not about luck—it’s about methodical diagnosis and understanding the underlying causes. From identifying error codes and analyzing minidump files to testing hardware and restoring system integrity, each step in this guide builds toward a stable, reliable system. The most common causes—faulty drivers, memory corruption, and disk errors—are often solvable with free tools and basic technical knowledge. By adopting best practices like regular updates, proactive monitoring, and avoiding unreliable third-party software, you can prevent most BSODs before they occur.

Remember: a blue screen is not the end—it’s a warning. Treat it as a signal to investigate, not a reason to panic. With the right tools, knowledge, and patience, you can restore your system to full functionality and ensure it remains stable for years to come. Whether you’re troubleshooting a personal laptop or managing enterprise workstations, mastering the art of resolving BSODs is an indispensable skill in modern computing.