Error Medic

HP Laptop Blue Screen (BSOD) Fix: Stop Codes, Causes & Step-by-Step Solutions

Fix HP laptop blue screen errors (BSOD) including INACCESSIBLE_BOOT_DEVICE, KERNEL_SECURITY_CHECK_FAILURE & more. Step-by-step commands inside.

Last updated:
Last verified:
2,292 words
Key Takeaways
  • Most HP laptop BSODs are caused by corrupt or incompatible drivers (especially Bluetooth: bthport.sys, network: rtump64x64.sys / rtux64w10.sys), faulty RAM, or a damaged Windows system file.
  • Stop codes like INACCESSIBLE_BOOT_DEVICE (0xC000034), UNMOUNTABLE_BOOT_VOLUME, KERNEL_SECURITY_CHECK_FAILURE, WDF_VIOLATION, and 0xC00021A each point to a specific root cause and require a targeted fix.
  • Quick fix order: boot into Safe Mode → run SFC and DISM → update or roll back drivers → run CHKDSK → if unbootable, use HP Automatic Repair or Windows Recovery Environment (WinRE) to restore the boot record or perform a factory reset.
Fix Approaches Compared
MethodWhen to UseTimeRisk
Safe Mode + Driver RollbackBSOD triggered after a Windows Update or driver install (rtux64w10.sys, bthport.sys)10–20 minLow
SFC /scannow + DISMCorrupt system files causing KERNEL_SECURITY_CHECK_FAILURE or SYSTEM_SERVICE_EXCEPTION15–30 minLow
CHKDSK /f /rUNMOUNTABLE_BOOT_VOLUME or INACCESSIBLE_BOOT_DEVICE on a spinning HDD or SSD20–90 minLow
Windows Automatic Repair (WinRE)HP laptop loops on blue screen at startup and cannot boot normally15–30 minLow-Medium
Bootrec / BCD RebuildHP stop code INACCESSIBLE_BOOT_DEVICE after dual-boot or drive swap10–20 minMedium
RAM Diagnostic (MemTest86)Random BSODs with varying stop codes across multiple HP models60–480 minLow
HP Factory Reset / RecoveryAll software fixes exhausted; stop code 0xC00021A persists; data backed up60–120 minHigh (data loss)

Understanding HP Laptop Blue Screen Errors

A Blue Screen of Death (BSOD) on an HP laptop is Windows' last-resort error handler — it halts the OS to prevent data corruption or hardware damage. Every BSOD displays a stop code (e.g., INACCESSIBLE_BOOT_DEVICE, KERNEL_SECURITY_CHECK_FAILURE, WDF_VIOLATION) that identifies the specific failure. HP laptops — including the Pavilion, Envy, EliteBook, ProBook, Omen, Victus, ZBook, Stream, and Notebook lines — are subject to a common set of BSOD triggers detailed below.

Common HP BSOD Stop Codes and Their Causes

Stop Code Hex Typical Cause
INACCESSIBLE_BOOT_DEVICE 0x0000007B Corrupt boot sector, wrong SATA mode, missing storage driver
UNMOUNTABLE_BOOT_VOLUME 0xC0000034 File system corruption on C: drive
KERNEL_SECURITY_CHECK_FAILURE 0x00000139 Corrupt driver, malware, bad RAM
SYSTEM_SERVICE_EXCEPTION 0x0000003B Faulty sys file (bthport.sys, ntfs.sys)
WDF_VIOLATION 0x0000010D Windows Driver Framework conflict
0xC00021A N/A Critical Windows process (winlogon, csrss) failed
bthport.sys BSOD N/A Bluetooth driver conflict (Intel/Broadcom)
rtump64x64.sys / rtux64w10.sys N/A Realtek wireless LAN driver crash

Step 1: Identify the Exact Stop Code

When the blue screen appears, note the stop code at the bottom of the screen. If the laptop reboots too fast:

  1. Open Settings → System → About → Advanced system settings.
  2. Under Startup and Recovery, uncheck Automatically restart.
  3. After the next BSOD, read the stop code before pressing any key.

Alternatively, check the minidump log after booting:

  • Path: C:\Windows\Minidump\*.dmp
  • Use WhoCrashed or WinDbg to parse the dump file.

Step 2: Boot into Safe Mode or WinRE

If HP laptop boots to Windows:

  1. Hold Shift and click Restart in the Start menu.
  2. Select Troubleshoot → Advanced Options → Startup Settings → Restart.
  3. Press 4 for Safe Mode or 5 for Safe Mode with Networking.

If HP laptop shows blue screen at startup (cannot boot):

  1. Force power off 3 times in a row during the Windows logo — WinRE launches automatically.
  2. Or, boot from a Windows 10/11 USB and choose Repair your computer.
  3. Select Troubleshoot → Advanced Options → Command Prompt.

Step 3: Fix Corrupt System Files (SFC + DISM)

Run these commands in an elevated Command Prompt (Admin):

DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

If Windows is unbootable, mount the OS from WinRE:

DISM /Image:C:\ /Cleanup-Image /RestoreHealth

Reboot after completion and check if the BSOD is resolved.


Step 4: Fix Driver-Related BSODs

bthport.sys (Bluetooth Driver)

This crash typically follows a Windows Update that pushed an incompatible Intel or Broadcom Bluetooth driver.

  1. In Safe Mode, open Device Manager.
  2. Expand Bluetooth, right-click the adapter, and select Update driver → Browse my computer → Let me pick.
  3. Roll back to a previous version or download the HP-certified driver from HP Support.
  4. Alternatively, disable Bluetooth temporarily until HP releases a fix.

rtux64w10.sys / rtump64x64.sys (Realtek Wi-Fi)

This affects HP Pavilion, Envy, and Omen laptops with Realtek 802.11ac/ax adapters.

  1. In Safe Mode, open Device Manager → Network Adapters.
  2. Right-click the Realtek adapter → Properties → Driver → Roll Back Driver.
  3. If rollback is unavailable, uninstall the driver and reboot — Windows will load a generic driver.
  4. Download the latest certified driver from HP Drivers matching your exact model.

WDF_VIOLATION

Caused by a Windows Driver Framework conflict, often after an HP printer driver, USB driver, or third-party software installation.

  1. Boot to Safe Mode and open Event Viewer → Windows Logs → System.
  2. Look for critical errors just before the BSOD timestamp.
  3. Uninstall the flagged driver via Device Manager or Programs and Features.

Step 5: Fix Storage-Related BSODs (INACCESSIBLE_BOOT_DEVICE / UNMOUNTABLE_BOOT_VOLUME)

Check BIOS SATA Mode

  1. Restart and press F10 (HP BIOS key) to enter BIOS Setup.
  2. Navigate to System Configuration → SATA Device Mode.
  3. Ensure it is set to AHCI (not RAID or IDE) — Windows expects AHCI for NVMe/SSD drives.

Run CHKDSK from WinRE

From the WinRE Command Prompt:

chkdsk C: /f /r /x

This scans for and repairs bad sectors. Allow it to complete fully (can take 1–2 hours on HDDs).

Rebuild the Boot Configuration Data (BCD)

bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd

If bootrec /fixboot returns "Access Denied":

bcdboot C:\Windows /s C: /f ALL

Step 6: Fix 0xC00021A (Critical Process Died)

This stop code means a critical Windows subsystem (winlogon.exe or csrss.exe) crashed. Common on HP laptops after a failed Windows Update.

  1. Boot to WinRE → Startup Repair — let Windows attempt automatic repair first.
  2. If that fails, from Command Prompt:
dism /image:c:\ /cleanup-image /revertpendingactions
  1. Then run SFC offline:
sfc /scannow /offbootdir=c:\ /offwindir=c:\windows
  1. If the issue persists, use System Restore from WinRE → Advanced Options → System Restore to revert to a known-good state.

Step 7: Run HP Hardware Diagnostics

HP laptops include a built-in diagnostic tool:

  1. Restart and press F2 during POST (HP logo screen).
  2. Select System Tests → Quick Test or Extensive Test.
  3. Run the Hard Drive Test and Memory Test.
  4. If failures are reported, the hardware (RAM or SSD/HDD) needs replacement.

Alternatively, download HP PC Hardware Diagnostics UEFI from HP's official site for a bootable USB version.


Step 8: Factory Reset as Last Resort

If all software remediation fails and data is backed up:

  1. Boot to WinRE → Troubleshoot → Reset this PC.
  2. Choose Remove everything for the cleanest reset.
  3. HP recovery partition (F11 at boot) can also restore the laptop to factory state.

Important: Back up all data to an external drive or cloud before performing a reset.


HP Printer Blue Screen (Separate Issue)

Some HP all-in-one printers (Envy 4520, Envy Photo 7155, Envy Photo 7855, OfficeJet 4650, OfficeJet Pro 7740, OfficeJet Pro 9015) display a solid blue or flashing blue screen on their LCD panels. This is NOT a Windows BSOD — it indicates a firmware error or connectivity issue:

  1. Power cycle: Unplug the printer for 60 seconds and reconnect.
  2. Firmware update: Use the HP Smart app or HP Printer Assistant to push the latest firmware.
  3. Factory reset: Hold the Wireless and Cancel buttons simultaneously for 3 seconds (model-specific — check your manual).
  4. If the blue screen persists, contact HP Support for a hardware replacement under warranty.

Frequently Asked Questions

bash
# ============================================================
# HP LAPTOP BSOD DIAGNOSTIC & REPAIR COMMANDS
# Run all commands in an elevated (Admin) Command Prompt
# or from WinRE Command Prompt if Windows cannot boot
# ============================================================

# --- 1. Read the last BSOD stop code from Windows Event Log ---
wevtutil qe System /q:"*[System[Provider[@Name='Microsoft-Windows-WER-SystemErrorReporting']]]" /f:text /c:5

# --- 2. Check and repair Windows system files ---
# Run DISM first to restore the repair source, then SFC
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

# --- 3. Fix disk errors (UNMOUNTABLE_BOOT_VOLUME / INACCESSIBLE_BOOT_DEVICE) ---
# Replace C: with the actual Windows drive letter if different in WinRE
chkdsk C: /f /r /x

# --- 4. Rebuild Boot Configuration Data (BCD) from WinRE Command Prompt ---
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
# If fixboot returns Access Denied:
bcdboot C:\Windows /s C: /f ALL

# --- 5. Revert pending Windows Update actions (fixes 0xC00021A loop) ---
dism /image:C:\ /cleanup-image /revertpendingactions

# --- 6. Run SFC in offline mode from WinRE ---
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows

# --- 7. Identify the crashing driver from minidump (PowerShell) ---
# Install WinDbg from the Microsoft Store first, then:
# Open PowerShell as Admin and run:
Get-ChildItem C:\Windows\Minidump | Sort-Object LastWriteTime -Descending | Select-Object -First 5 | Format-List Name, LastWriteTime, Length

# --- 8. Remove a specific problematic driver (e.g., Realtek Wi-Fi) ---
# Find the driver's INF name first:
pnputil /enum-drivers | findstr /i "realtek"
# Then remove it:
pnputil /delete-driver oem12.inf /uninstall /force

# --- 9. Roll back a Windows Update that caused BSOD (Safe Mode) ---
# List recent updates:
wmic qfe list brief /format:table
# Uninstall a specific update by KB number:
wusa /uninstall /kb:5034441 /quiet /norestart

# --- 10. Disable automatic restart on BSOD (so you can read stop code) ---
reg add "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v AutoReboot /t REG_DWORD /d 0 /f

# --- 11. Enable crash dump for full minidump analysis ---
reg add "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v CrashDumpEnabled /t REG_DWORD /d 3 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v MinidumpDir /t REG_EXPAND_SZ /d "%SystemRoot%\Minidump" /f

# --- 12. HP Hardware Diagnostics — launch from command line ---
# Check if HP diagnostics UEFI is available:
bcdedit /enum firmware | findstr /i "hp"
# Or boot and press F2 at the HP logo to enter HP PC Hardware Diagnostics UEFI directly
E

Error Medic Editorial

The Error Medic Editorial team is composed of senior DevOps engineers, SREs, and Microsoft-certified system administrators with 10+ years of experience diagnosing Windows kernel failures, driver conflicts, and hardware-level faults across enterprise and consumer platforms. Our guides are verified against live test environments and updated whenever Microsoft or HP releases relevant patches or firmware changes.

Sources

Related Articles in Hp

Explore More windows Guides