Blue Screen of Death (BSOD) in Windows 7: Complete Fix Guide for Stop Errors, Driver Crashes & Memory Dumps
Fix Windows 7 blue screen errors including 0x00000F4, 0x0000007B, atikmpag.sys, ntoskrnl.exe & more. Step-by-step commands and driver fixes inside.
- Most Windows 7 BSODs are caused by faulty or outdated drivers (especially GPU drivers like atikmpag.sys, atikmdag.sys, nvlddmkm.sys), corrupt system files, bad RAM, or failing hard drives.
- Stop codes like 0x00000F4 (critical process terminated), 0x0000007B (inaccessible boot device), 0x0000000A (IRQL_NOT_LESS_OR_EQUAL), and BAD_POOL_HEADER each point to specific subsystems — GPU, storage, network, or memory.
- Quick fix summary: Boot into Safe Mode, run 'sfc /scannow' and 'chkdsk /f /r', update or roll back suspect drivers, check RAM with Windows Memory Diagnostic, and analyze minidump files in WinDbg to identify the exact faulting module.
| Method | When to Use | Time | Risk |
|---|---|---|---|
| Safe Mode Boot + Driver Rollback | Recent driver update caused BSOD | 5-15 min | Low |
| sfc /scannow (System File Checker) | Corrupt system files suspected (ntoskrnl.exe, classpnp.sys) | 10-30 min | Low |
| chkdsk /f /r | 0x00000F4 or NTFS.sys BSOD, possible bad sectors | 30-120 min | Low |
| Windows Memory Diagnostic / MemTest86 | BAD_POOL_HEADER, PFN_LIST_CORRUPT, random BSODs | 1-8 hours | Low |
| Driver Verifier (verifier.exe) | Intermittent BSODs, unknown faulting driver | 15 min setup + 1 reboot | Medium |
| WinDbg Minidump Analysis | Need to identify exact faulting module from crash dump | 20-40 min | Low |
| Startup Repair via Recovery Console | Blue screen on startup, can't boot normally | 10-20 min | Low |
| DDU + Clean GPU Driver Reinstall | atikmpag.sys, atikmdag.sys, nvlddmkm.sys, dxgkrnl.sys BSOD | 20-30 min | Low-Medium |
| In-place Upgrade / Repair Install | Multiple corrupt system files, Startup Repair fails | 60-90 min | Medium |
| Full Windows Reinstall | All other methods failed, drive is healthy | 2-3 hours | High (data loss) |
Understanding Windows 7 Blue Screen Errors
A Blue Screen of Death (BSOD) in Windows 7 occurs when the kernel encounters a fatal error from which it cannot recover. The screen displays a stop code (e.g., STOP: 0x0000000A), the name of a faulting driver or module (e.g., atikmpag.sys), and a memory dump is written to C:\Windows\Minidump. Understanding which stop code and module appear is the foundation of any effective fix.
Common Stop Codes and Their Root Causes
0x0000000A – IRQL_NOT_LESS_OR_EQUAL A kernel-mode driver attempted to access pageable memory at a process IRQL that was too high. Common culprits: network drivers (ndis.sys, netio.sys), USB drivers (iusb3xhc.sys).
0x00000F4 / STOP 0x000000F4 – CRITICAL_OBJECT_TERMINATION A critical system process (such as csrss.exe, winlogon.exe, or a storage process) terminated unexpectedly. Commonly caused by a failing hard drive, corrupt system partition, or iaStorA/iastor.sys driver issues.
0x0000007B – INACCESSIBLE_BOOT_DEVICE Windows cannot access the system partition at boot. Triggered by SATA controller mode changes (IDE vs AHCI), corrupt NTFS volume (766f6c756d652e63 3f1 relates to a volume bitmap corruption), or missing storage drivers.
BAD_POOL_HEADER / BAD_POOL_CALLER Memory pool corruption — often caused by faulty RAM, a buggy driver writing outside its allocated pool, or malware.
PFN_LIST_CORRUPT Page Frame Number list corruption — almost always faulty RAM or a driver corrupting memory structures.
APC_INDEX_MISMATCH A thread's APC disable count is wrong, usually caused by a file system filter driver (fltmgr.sys) or antivirus kernel component.
GPU-Related BSODs (atikmpag.sys, atikmdag.sys, ati2dvag.dll, nvlddmkm.sys, dxgkrnl.sys, dxgmms1.sys, igdkmd32.sys) The GPU driver or DirectX kernel subsystem crashed, either due to a driver bug, overheating GPU, corrupt driver installation, or hardware failure.
BUGCODE_USB_DRIVER A USB driver (often iusb3xhc.sys for USB 3.0) caused a violation. Update the Intel USB 3.0 xHCI driver or roll back to an older version.
SYSTEM_SERVICE_EXCEPTION A system service violated memory access rules. Can be caused by ntoskrnl.exe, ntkrnlpa.exe (PAE kernel), ntkrnlmp.exe (multiprocessor kernel), or third-party drivers.
CRITICAL_PROCESS_DIED A critical system process has died. While more common in Windows 10, this can appear in Windows 7 when core OS processes fail.
Step 1: Capture the Crash Information
Before fixing anything, record the exact stop code and module name from the blue screen. If the system reboots too fast:
- Right-click Computer > Properties > Advanced system settings.
- Under Startup and Recovery, click Settings.
- Uncheck Automatically restart so the BSOD stays on screen.
- Change Write debugging information to Small memory dump (256 KB).
- Note the dump location:
%SystemRoot%\Minidump.
Step 2: Boot Into Safe Mode
If you cannot boot normally (blue screen on startup):
- Press F8 repeatedly during POST until the Advanced Boot Options menu appears.
- Select Safe Mode with Networking (needed for driver downloads).
- If F8 does not work, boot from the Windows 7 installation DVD and select Repair your computer > Startup Repair.
For 0x0000007B (INACCESSIBLE_BOOT_DEVICE) specifically: Enter BIOS/UEFI and check if the SATA mode changed from AHCI to IDE (or vice versa). Changing it back often resolves this immediately.
Step 3: Run System File Checker and CHKDSK
Open an elevated Command Prompt (Run as Administrator) and run:
sfc /scannow
This repairs corrupt Windows system files including ntoskrnl.exe, ntkrnlpa.exe, classpnp.sys, fltmgr.sys, and ntfs.sys. If SFC reports it cannot fix files, run DISM (if available on Windows 7 with SP1):
Dism /Online /Cleanup-Image /RestoreHealth
For disk errors causing 0x00000F4, NTFS.sys BSODs, or stop 0x000000F4:
chkdsk C: /f /r
Type Y to schedule on next reboot, then restart. This scan checks for bad sectors and file system corruption. Allow 30-120 minutes.
Step 4: Fix GPU Driver BSODs (atikmpag.sys / atikmdag.sys / nvlddmkm.sys)
This is the most common category of Windows 7 BSODs, especially on AMD and NVIDIA systems.
For AMD (atikmpag.sys, atikmdag.sys, ati2dvag.dll, blue screen atikmpag sys windows 7 64 bit fix):
- Boot into Safe Mode.
- Download Display Driver Uninstaller (DDU) from Wagnardsoft.
- Run DDU in Safe Mode, select Clean and restart.
- Download the latest stable Catalyst driver (or the version prior to when BSODs started) from AMD's support site.
- Install with a clean installation option.
Alternatively, manually replace atikmpag.sys:
- Rename
C:\Windows\System32\drivers\atikmpag.systoatikmpag.sys.bak. - Copy a known-good version from your driver installation folder.
For NVIDIA (nvlddmkm.sys, dxgkrnl.sys, dxgmms1.sys):
- Boot into Safe Mode.
- Run DDU to fully remove NVIDIA drivers.
- Install a clean driver from NVIDIA's official site.
- If the error persists, check GPU temperature with GPU-Z or HWMonitor — throttle or replace if overheating.
For Intel integrated graphics (igdkmd32.sys):
- Download the latest Intel HD Graphics driver from Intel's download center.
- Ensure Windows Update has not installed a generic driver over the OEM driver.
Step 5: Fix Memory-Related BSODs (BAD_POOL_HEADER, PFN_LIST_CORRUPT, 0x0000000A)
- Run Windows Memory Diagnostic: Start > Search > "Windows Memory Diagnostic" > Restart now and check for problems.
- For thorough testing, boot from MemTest86 USB/CD and run at least 2 full passes (8+ hours recommended).
- If errors are found, reseat RAM sticks, try each stick individually, and replace faulty modules.
- Check for overclocking: reset RAM to XMP profile or stock speeds in BIOS.
Step 6: Analyze Minidump Files with WinDbg
If the BSOD is intermittent and you cannot identify the cause:
- Install Windows SDK and open WinDbg.
- Set symbol path:
.sympath srv*C:\symbols*https://msdl.microsoft.com/download/symbols - Open the minidump: File > Open Crash Dump > browse to
C:\Windows\Minidump\*.dmp. - Run:
!analyze -v - Look for the Probably caused by line — this names the faulting module (e.g., atikmpag.sys, iastor.sys, nvlddmkm.sys).
Step 7: Fix Specific Stop Codes
BUGCODE_USB_DRIVER / iusb3xhc.sys: Update Intel USB 3.0 eXtensible Host Controller driver from Intel's download center, or disable USB 3.0 in BIOS temporarily.
ndis.sys / netio.sys (network BSODs): Update your NIC driver. If using a VPN or packet filter software, uninstall it temporarily to isolate.
iastor.sys / iaStor.sys: Update Intel Rapid Storage Technology (RST) driver from Intel. If on a laptop, check the OEM support page for a compatible version.
classpnp.sys (blue screen on startup): This often means a failing storage device. Run chkdsk, check SMART data with CrystalDiskInfo, and check BIOS to ensure the drive is recognized.
fltmgr.sys / APC_INDEX_MISMATCH: Disable or uninstall third-party antivirus or file system filter drivers. Boot into Safe Mode and use Autoruns to identify kernel-mode filter drivers.
crash dump windows 7 blue screen fix (memory dump): Ensure the page file is on the system drive. Go to System Properties > Advanced > Performance Settings > Advanced > Virtual Memory. Set it to system managed.
Step 8: Last Resort — Startup Repair and Repair Install
If BSODs persist after all the above:
- Boot from Windows 7 installation media.
- Select Repair your computer > Startup Repair — this automatically fixes boot sector, BCD, and some system file issues.
- If that fails, use Command Prompt from recovery and run:
bootrec /fixmbr bootrec /fixboot bootrec /rebuildbcd - As a final step before reinstalling, perform an in-place upgrade (repair install) by booting from the Windows 7 DVD, clicking Install Now, and selecting Upgrade — this replaces system files without deleting personal data.
Step 9: Hardware Checks
- Check GPU temperature: Use HWMonitor during load. AMD cards above 95°C and NVIDIA above 90°C are dangerously hot.
- Check hard drive SMART: Use CrystalDiskInfo. Any "Caution" or "Bad" status on reallocated sectors or pending sectors indicates a failing drive.
- Reseat hardware: Power off, remove and firmly reseat RAM, GPU, and storage cables.
- Test with minimal hardware: Remove non-essential PCIe cards, extra RAM sticks, and external USB devices to isolate the failing component.
Frequently Asked Questions
:: ============================================================
:: Windows 7 BSOD Diagnostic & Fix Commands
:: Run all commands from an elevated Command Prompt (Run as Admin)
:: ============================================================
:: --- 1. Disable automatic restart on BSOD (run before rebooting) ---
wmic recoveros set AutoReboot=False
:: --- 2. System File Checker - repair corrupt system files ---
:: (fixes ntoskrnl.exe, classpnp.sys, ntfs.sys, fltmgr.sys, etc.)
sfc /scannow
:: --- 3. DISM health restore (Windows 7 SP1 + Windows Update) ---
Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /RestoreHealth
:: --- 4. Check disk for bad sectors and file system errors ---
:: (fixes 0x00000F4, NTFS.sys BSODs, and volume corruption) ---
:: Schedule for next reboot:
chkdsk C: /f /r
:: Type Y when prompted, then reboot
:: --- 5. Fix boot records (use from Recovery Console / WinPE) ---
bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd
:: --- 6. Check SMART status of hard drive (requires WMIC) ---
wmic diskdrive get status, model, size
:: Install CrystalDiskInfo for detailed SMART attribute inspection
:: --- 7. Enable Driver Verifier to catch buggy drivers ---
:: WARNING: This will cause BSODs on the offending driver - use in test environment
verifier /standard /all
:: After capturing the crash, disable with:
verifier /reset
:: --- 8. List installed drivers and check for suspect unsigned drivers ---
driverquery /fo list /v | findstr /i "driver name status"
DriverQuery /si 2>nul
:: Look for unsigned third-party drivers that match crash timestamps
:: --- 9. Windows Memory Diagnostic (schedule for next reboot) ---
mdsched.exe
:: Choose "Restart now and check for problems"
:: --- 10. Analyze recent BSOD stop codes from event log ---
wevtutil qe System /q:"*[System[Provider[@Name='Microsoft-Windows-WER-SystemErrorReporting']]]" /f:text /c:10
:: --- 11. List minidump files for WinDbg analysis ---
dir C:\Windows\Minidump /od
:: --- 12. WinDbg commands (run inside WinDbg after opening .dmp file) ---
:: .sympath srv*C:\Symbols*https://msdl.microsoft.com/download/symbols
:: .reload
:: !analyze -v
:: lmvm atikmpag <- replace with your suspect driver name
:: !thread <- shows which thread caused the crash
:: !process 0 0 <- lists all processes at crash time
:: --- 13. Safely remove AMD GPU driver from command line (Safe Mode) ---
:: pnputil -e | findstr /i "amd ati display"
:: pnputil -d oem<N>.inf <- replace N with driver package number
:: --- 14. Force Windows to rebuild the BCD store from scratch ---
bcdedit /export C:\BCD_Backup
C:
cd boot
attrib bcd -s -h -r
ren bcd bcd.old
bootrec /RebuildBcd
:: --- 15. Check for file system corruption on alternate drives ---
chkdsk D: /f /r
chkdsk E: /f /r
:: --- 16. Reset TCP/IP stack (for ndis.sys / netio.sys BSODs) ---
netsh int ip reset resetlog.txt
netsh winsock reset catalog
ipconfig /flushdns
:: Reboot after running these commands
:: ============================================================
:: PowerShell: Export last 20 system crash events to CSV
:: ============================================================
:: powershell -Command "Get-EventLog -LogName System -EntryType Error -Newest 20 | Where-Object {$_.EventID -eq 41 -or $_.EventID -eq 1001 -or $_.EventID -eq 6008} | Export-Csv C:\crash_events.csv -NoTypeInformation"
Error Medic Editorial
The Error Medic Editorial team consists of senior DevOps engineers, SREs, and Windows system administrators with 10+ years of experience diagnosing OS-level failures, kernel panics, and driver crashes across enterprise and consumer environments. We specialize in translating cryptic stop codes and memory dumps into actionable, plain-language fixes.
Sources
- https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-code-reference2
- https://support.microsoft.com/en-us/windows/using-system-file-checker-in-windows-365e0031-36b1-6031-f804-8fd86e0ef4ca
- https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/driver-verifier
- https://learn.microsoft.com/en-us/windows/win32/debug/minidump-files
- https://superuser.com/questions/411830/windows-7-bsod-atikmpag-sys-how-to-fix
- https://answers.microsoft.com/en-us/windows/forum/all/stop-0x00000f4-blue-screen-error/
- https://www.intel.com/content/www/us/en/support/articles/000005837/boards-and-kits.html