HP Laptop Blue Screen (BSOD) Fix: Stop Codes, Causes & Step-by-Step Solutions
Fix HP laptop blue screen errors including INACCESSIBLE_BOOT_DEVICE, KERNEL_SECURITY_CHECK_FAILURE & more. Step-by-step troubleshooting guide with real commands
- Root Cause 1: Corrupt or incompatible drivers (especially bthport.sys, rtump64x64.sys, rtux64w10.sys) are the leading cause of BSODs on HP laptops and desktops, including Pavilion, Envy, EliteBook, ProBook, Omen, Victus, and ZBook models.
- Root Cause 2: Damaged system files, failing RAM, or a corrupt boot sector trigger stop codes like INACCESSIBLE_BOOT_DEVICE (0xC000034), UNMOUNTABLE_BOOT_VOLUME, KERNEL_SECURITY_CHECK_FAILURE, WDF_VIOLATION, and SYSTEM_SERVICE_EXCEPTION.
- Root Cause 3: Recent Windows updates or BIOS firmware mismatches can destabilize the OS, causing repeated automatic-repair loops or post-login BSODs on HP all-in-one and notebook systems.
- Quick Fix Summary: Boot into Safe Mode, update or roll back problematic drivers, run SFC and DISM scans, check RAM with MemTest86, and use HP PC Hardware Diagnostics to isolate hardware faults before attempting an OS repair or factory reset.
| Method | When to Use | Time | Risk |
|---|---|---|---|
| Update/Roll Back Drivers | BSOD caused by bthport.sys, rtump64x64.sys, rtux64w10.sys or recent driver install | 15–30 min | Low |
| SFC & DISM Scan | Corrupt Windows system files, SYSTEM_SERVICE_EXCEPTION, WDF_VIOLATION | 20–45 min | Low |
| Windows Startup Repair | HP blue screen at startup, INACCESSIBLE_BOOT_DEVICE, UNMOUNTABLE_BOOT_VOLUME | 10–30 min | Low |
| Uninstall Recent Windows Update | BSOD appeared after a Windows Update, stop code 0xc00021a | 10–20 min | Low |
| MemTest86 RAM Check | Random BSODs with no consistent stop code, hp laptop keeps crashing | 1–8 hours | None |
| HP PC Hardware Diagnostics UEFI | Suspected hardware failure on HP Pavilion, Envy, Omen, EliteBook | 30–60 min | None |
| Bootrec / Diskpart Repair | UNMOUNTABLE_BOOT_VOLUME, INACCESSIBLE_BOOT_DEVICE persists after startup repair | 20–40 min | Medium |
| Windows Reset / HP Recovery | All software fixes failed, OS is unrecoverable, hp laptop recovery blue screen loop | 1–3 hours | High (data loss) |
Understanding the HP Blue Screen of Death (BSOD)
A Blue Screen of Death (BSOD) — formally called a Windows Stop Error — appears when Windows encounters a fatal condition it cannot safely recover from. On HP laptops, desktops, and all-in-one computers, the most frequently reported stop codes include:
- INACCESSIBLE_BOOT_DEVICE (0x0000007B) — HP stop code inaccessible boot device
- UNMOUNTABLE_BOOT_VOLUME — HP unmountable boot volume
- KERNEL_SECURITY_CHECK_FAILURE — HP kernel security check failure
- SYSTEM_SERVICE_EXCEPTION — HP system service exception
- WDF_VIOLATION — wdf_violation HP
- 0xC0000021A (STATUS_SYSTEM_PROCESS_TERMINATED) — stop code 0xc00021a HP
- Critical_Process_Died — common after Windows updates
- Driver-specific faults: bthport.sys BSOD, rtump64x64.sys blue screen HP, rtux64w10.sys blue screen HP
Each stop code points to a different subsystem. The sections below walk you through diagnosing and fixing each scenario.
Step 1: Capture the Stop Code
Before fixing anything, record the exact stop code and any referenced .sys file displayed on the blue screen. If the machine reboots too fast:
- Go to Settings → System → About → Advanced system settings.
- Under Startup and Recovery, click Settings.
- Uncheck Automatically restart to keep the BSOD on screen long enough to read.
Alternatively, open Event Viewer after the crash: Windows Logs → System — look for events with Source BugCheck.
Step 2: Boot Into Safe Mode
Most HP blue screen fixes require running the system in Safe Mode so that problematic drivers are not loaded.
Method A — From a working Windows login:
- Hold Shift and click Restart.
- Navigate to Troubleshoot → Advanced options → Startup Settings → Restart.
- Press 4 or F4 for Safe Mode, or 5/F5 for Safe Mode with Networking.
Method B — HP laptop blue screen at startup (cannot reach login):
- Force-shutdown the laptop three times in a row (hold power button until off). Windows will auto-enter the Windows Recovery Environment (WinRE).
- Go to Troubleshoot → Advanced options → Startup Settings → Restart.
- Select Safe Mode.
Step 3: Fix Driver-Related BSODs (bthport.sys, rtump64x64.sys, rtux64w10.sys)
bthport.sys is the Windows Bluetooth port driver. A corrupt or outdated version causes Bluetooth-related BSODs on HP EliteBook, HP Pavilion, HP Envy x360, and HP ProBook.
rtump64x64.sys / rtux64w10.sys are Realtek Wi-Fi/network drivers. They are the most common cause of networking-related BSODs on HP Stream, HP Omen, HP Victus, and HP ZBook.
To fix driver BSODs:
- Boot into Safe Mode with Networking.
- Open Device Manager (right-click Start → Device Manager).
- Expand Bluetooth or Network Adapters.
- Right-click the flagged device → Update driver → Search automatically.
- If the BSOD started after a driver update, choose Properties → Driver tab → Roll Back Driver.
- To completely remove and reinstall: right-click → Uninstall device → check Delete the driver software → reboot.
- Download the latest driver directly from HP Support (support.hp.com) using your model's serial number.
Step 4: Repair System Files with SFC and DISM
Corrupt Windows system files cause SYSTEM_SERVICE_EXCEPTION, WDF_VIOLATION, and 0xC0000021A on HP laptops. Run these commands from an elevated Command Prompt or from WinRE:
sfc /scannow
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
After DISM completes, rerun sfc /scannow and then restart.
Step 5: Fix INACCESSIBLE_BOOT_DEVICE and UNMOUNTABLE_BOOT_VOLUME
These stop codes indicate Windows cannot read the boot drive. This is common on HP Pavilion and HP all-in-one systems after a failed Windows Update or a sudden power loss.
- Boot from a Windows 10/11 USB installation media or use WinRE.
- Select Repair your computer → Troubleshoot → Advanced options → Command Prompt.
- Run the boot repair sequence (see code block section below).
- If the drive shows errors in
chkdsk, the storage device may be physically failing — back up data immediately.
Step 6: Fix HP Blue Screen Automatic Repair Loop
If your HP laptop keeps restarting into "Automatic Repair" and then blue-screens again:
- From WinRE, go to Advanced options → System Restore and choose a restore point created before the BSOD started.
- If no restore point exists, go to Advanced options → Uninstall Updates and remove the latest Quality or Feature update.
- Use Startup Repair (Advanced options → Startup Repair) to let Windows attempt an automated fix.
Step 7: Test RAM with HP PC Hardware Diagnostics
Failing RAM causes random, inconsistent BSODs. HP devices have a built-in hardware diagnostic tool:
- Shut down completely.
- Power on and immediately press Esc, then F2 to enter HP PC Hardware Diagnostics UEFI.
- Run Component Tests → Memory → choose Extensive Test.
- If errors are found, reseat or replace the RAM sticks.
For a thorough external test, use MemTest86 (bootable USB), running at least 2 full passes.
Step 8: HP Printer Blue Screens (HP Envy 4520, HP Envy Photo 7155, HP Envy Photo 7855, HP OfficeJet 4650, HP OfficeJet Pro 7740, HP OfficeJet Pro 9015)
HP printers displaying a solid blue screen or flashing blue light are different from a Windows BSOD. These typically indicate:
- Firmware corruption: Perform a hard reset — unplug the power cord from the printer and wall, wait 60 seconds, reconnect.
- Control panel lockup: Hold the power button for 30 seconds, release, wait 5 seconds, then power back on.
- Firmware update needed: Connect via USB and use HP's firmware update utility from support.hp.com to push the latest firmware.
- Hardware fault: If the screen remains blue after a reset and firmware update, contact HP Support — the printer's control panel or formatter board may need replacement.
Step 9: Last Resort — HP Recovery / Windows Reset
If all steps above fail:
- In WinRE: Troubleshoot → Reset this PC → Keep my files (attempts to preserve data) or Remove everything.
- If WinRE is inaccessible, create an HP Recovery USB via HP Cloud Recovery Tool (see support.hp.com/us-en/document/ish_4705764-4705800-16) and boot from it.
- For corporate HP EliteBook, ProBook, or ZBook devices, use HP Image Assistant to deploy a clean, tested image.
Model-Specific Notes
| HP Model | Most Common BSOD | Priority Fix |
|---|---|---|
| HP Pavilion | INACCESSIBLE_BOOT_DEVICE | Startup Repair + chkdsk |
| HP Envy / Envy x360 | Kernel Security Check Failure | Driver rollback (Realtek/Intel) |
| HP EliteBook / ProBook | WDF_VIOLATION, bthport.sys | Bluetooth driver update |
| HP Omen / Victus | rtump64x64.sys, rtux64w10.sys | Realtek Wi-Fi driver update |
| HP Stream | Critical_Process_Died | Windows Reset (limited storage) |
| HP ZBook | System Service Exception | Intel/AMD GPU driver update |
| HP All-in-One | Unmountable Boot Volume | bootrec /fixmbr + chkdsk |
Frequently Asked Questions
# ============================================================
# HP LAPTOP BSOD DIAGNOSTIC & REPAIR COMMANDS
# Run elevated Command Prompt (Run as Administrator)
# or from WinRE > Troubleshoot > Advanced Options > Command Prompt
# ============================================================
# --- STEP 1: Check Windows System Files ---
sfc /scannow
# --- STEP 2: Repair Windows Image with DISM ---
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
# Re-run SFC after DISM to apply repaired files
sfc /scannow
# --- STEP 3: Check Disk for Errors (C: = typical Windows drive) ---
# /f = fix errors, /r = locate bad sectors, /x = force dismount
chkdsk C: /f /r /x
# If prompted to schedule on next reboot, press Y then restart
# --- STEP 4: Repair Boot Records (run from WinRE Command Prompt) ---
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
# If 'Access is denied' on bootrec /fixboot, run this first:
bcdboot C:\Windows /s C: /f UEFI
# --- STEP 5: Inspect BCD Store ---
bcdedit /enum all
# --- STEP 6: Force Rebuild BCD from Scratch (use if rebuildbcd finds 0 installs) ---
attrib C:\boot\BCD -h -r -s
ren C:\boot\BCD BCD.old
bootrec /rebuildbcd
# --- STEP 7: Find and Remove Problematic Drivers ---
# List all third-party drivers (non-Microsoft)
driverquery /SI | findstr /i "FALSE"
# Check driver verifier status
verifier /query
# Enable Driver Verifier for all non-MS drivers (causes BSOD if driver is corrupt)
# WARNING: Only use on a stable enough boot; disable after identifying bad driver
verifier /standard /all
# Disable Driver Verifier after identifying the culprit
verifier /reset
# --- STEP 8: Analyze Mini-Dump Files for BSOD Root Cause ---
# Mini-dumps are stored at C:\Windows\Minidump
# Use WinDbg (Windows Debugging Tools) or upload to https://www.osronline.com
dir C:\Windows\Minidump
# In WinDbg, run:
# .symfix
# .reload
# !analyze -v
# --- STEP 9: Roll Back a Windows Update (from elevated PowerShell) ---
# List installed updates sorted by date
Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 10
# Uninstall a specific update (replace KB number)
wusa /uninstall /kb:5034441 /quiet /norestart
# --- STEP 10: Reset Windows Network Stack (fixes rtux64w10.sys related issues) ---
netsh winsock reset
netsh int ip reset
ipconfig /flushdns
# --- STEP 11: Disable Bluetooth Driver Temporarily (fixes bthport.sys BSOD) ---
# In Safe Mode Command Prompt:
sc config bthport start= disabled
sc config bthserv start= disabled
# Re-enable after driver update:
# sc config bthport start= demand
# sc config bthserv start= demand
# --- STEP 12: HP Memory Test (from UEFI — for reference) ---
# Power off HP laptop
# Power on and press Esc, then F2 for HP PC Hardware Diagnostics UEFI
# Navigate: Component Tests > Memory > Extensive Test
# Command-line memory check (Windows):
mdsched.exe
# Select "Restart now and check for problems"
# ============================================================
# END OF HP BSOD DIAGNOSTIC SCRIPT
# ============================================================Error Medic Editorial
Error Medic Editorial is a team of senior DevOps engineers, SREs, and Windows systems administrators with 15+ years of combined experience diagnosing and resolving operating system failures, driver conflicts, and hardware faults across enterprise and consumer HP devices. Our guides are grounded in real-world incident response, Microsoft documentation, and community-validated fixes.
Sources
- https://support.hp.com/us-en/document/ish_4346542-4346583-16
- https://support.microsoft.com/en-us/windows/troubleshoot-blue-screen-errors-5c62a79a-4b95-4b4f-9d0e-a4a2f6b37aa8
- https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-code-reference2
- https://support.hp.com/us-en/document/c04758961
- https://answers.microsoft.com/en-us/windows/forum/all/bthportsys-blue-screen/e3a2a3c4-1c2e-4b5a-9f3e-2c8d7f1a6b2e
- https://stackoverflow.com/questions/tagged/bsod+windows-10