Windows 10/11 BSOD: INACCESSIBLE_BOOT_DEVICE (Stop Code 0x0000007B) During Boot
Windows 10/11 fails to boot and presents a blue/black screen with stop code INACCESSIBLE_BOOT_DEVICE (0x0000007B), indicating the OS cannot locate or access the boot drive. The error is most commonly triggered by an incorrect BIOS SATA mode setting (e.g., IDE or RAID instead of AHCI), corrupted Boot Configuration Data, a recently installed incompatible storage driver, or — after a disk clone or migration — stale BCD partition GUIDs, storage controller driver StartType misconfiguration in the cloned registry, or a missing/misconfigured EFI System Partition. Resolution involves correcting BIOS settings, running Startup Repair from WinRE, rebuilding the BCD with bootrec, repairing the EFI bootloader with bcdboot, fixing driver Start values in the offline registry, and — if Safe Mode is accessible — rolling back offending drivers or running System Restore.
Indicators
- Black or blue screen during boot displaying 'Your device ran into a problem and needs to restart'
- Stop code INACCESSIBLE_BOOT_DEVICE (0x0000007B) shown on the crash screen
- System enters a continuous restart loop without reaching the Windows 10/11 login screen
- Error occurs during the early boot phase, before any user interaction is possible
- Failure occurs immediately after a BIOS setting change, driver update, or failed Windows Update
- INACCESSIBLE_BOOT_DEVICE BSOD occurs immediately after a disk clone or drive migration operation
- No boot occurs even after selecting the cloned drive as the primary boot device in BIOS/UEFI
- WinRE launches automatically after repeated failed boots on the cloned disk
Likely causes
- BIOS/UEFI SATA operation mode changed from AHCI to IDE or RAID after Windows was installed
- Corrupted or missing Boot Configuration Data (BCD)
- Recently installed or updated storage controller or chipset driver incompatible with Windows 10/11
- Corrupted storage driver files (e.g., storahci.sys) due to a failed Windows Update
- Boot sector corruption or damaged Master Boot Record (MBR) or GUID Partition Table (GPT)
- Hardware failure or loose physical connection on the boot drive
- System file corruption affecting storage subsystem initialisation
- Storage controller driver mismatch after cloning: source used AHCI/IDE, target hardware requires NVMe or a different controller not pre-loaded in the cloned registry
- BCD contains stale partition GUIDs or disk signatures that no longer match the cloned disk's identifiers
- storahci, stornvme, or iaStorA/iaStorV driver Start value set to 3 (demand) or 4 (disabled) in the cloned registry hive instead of 0 (boot-start)
- Cloning tool failed to correctly clone the EFI System Partition (ESP), or MBR/GPT scheme mismatch between source and destination
- Secure Boot state or UEFI vs Legacy BIOS firmware mode changed between source and destination machine
Diagnostic steps
-
Restart the PC and enter BIOS/UEFI setup (typically F2, Del, or Esc during POST). Navigate to 'Advanced' or 'Storage' settings and confirm the SATA operation mode is set to AHCI. If it shows IDE or RAID, change it back to AHCI, save, and attempt a normal boot.Rules out BIOS SATA mode misconfiguration, the most common and quickest-to-fix cause of INACCESSIBLE_BOOT_DEVICE.
-
If the SATA mode is already correct, boot from a Windows 10/11 installation USB. At the setup screen select 'Repair your computer' > 'Troubleshoot' > 'Advanced options' > 'Startup Repair' and allow the automated tool to detect and resolve boot issues.Automated Startup Repair resolves common BCD and bootloader issues without manual command-line intervention.
-
If Startup Repair does not resolve the issue, open 'Command Prompt' from Advanced options and run the following commands in sequence to rebuild the BCD: 'bootrec /fixmbr', 'bootrec /fixboot', 'bootrec /scanos', 'bootrec /rebuildbcd'. Reboot after completion.Manually repairs MBR, boot sector, and rebuilds BCD when Startup Repair is insufficient.
-
If the system still fails to boot normally, return to WinRE and navigate to Troubleshoot > Advanced options > Startup Settings > Restart. After the restart press the appropriate key to enter Safe Mode or Safe Mode with Networking to isolate driver or software conflicts.Safe Mode loads minimal drivers, allowing identification of driver-related causes without full system initialisation.
-
If Safe Mode boots successfully, open Device Manager and Event Viewer. Identify any storage controller, NVMe, or chipset drivers installed or updated shortly before the error. Right-click the suspect device in Device Manager and choose 'Roll Back Driver' or 'Uninstall device', then reboot normally.Removes or reverts the specific driver responsible for the BSOD when a recent driver change is the cause.
-
From Command Prompt in WinRE (or Safe Mode), run 'sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows' to scan and repair corrupted system files on the offline Windows 10/11 installation. Substitute the correct drive letter if Windows is not on C:.Repairs corrupted system files including storage subsystem components that may cause INACCESSIBLE_BOOT_DEVICE.
-
If all preceding steps fail, use WinRE System Restore: Troubleshoot > Advanced options > System Restore. Select a restore point dated before the error first appeared and allow the rollback to complete, then reboot.Reverts the system to a known-good state when driver or update changes cannot be individually identified and reversed.
-
From WinRE Command Prompt, run 'diskpart', then 'list disk' and 'list volume' to confirm the cloned disk is detected, identify its partition scheme (MBR/GPT), and verify the System Reserved or EFI System Partition is present and can be assigned a drive letter.Reveals firmware-level detection of the cloned disk and exposes partition layout issues (missing ESP, wrong scheme) that cause INACCESSIBLE_BOOT_DEVICE after cloning.
-
Run 'bcdedit /enum all' from WinRE Command Prompt and inspect the 'device' and 'osdevice' entries to confirm they reference valid partition GUIDs on the cloned disk rather than stale identifiers from the source disk.Identifies stale BCD partition references — a primary cause of INACCESSIBLE_BOOT_DEVICE after disk cloning — that bootrec /rebuildbcd alone may not correct.
-
Load the offline SYSTEM registry hive: 'reg load HKLM\OfflineSYSTEM D:\Windows\System32\config\SYSTEM' (adjust drive letter as needed). Check 'HKLM\OfflineSYSTEM\ControlSet001\Services\storahci' and '...\stornvme' Start values. A value of 3 or 4 means the driver will not load at boot. Set to 0 if incorrect: 'reg add HKLM\OfflineSYSTEM\ControlSet001\Services\storahci /v Start /t REG_DWORD /d 0 /f'. Repeat for stornvme if the target uses NVMe. Unload with 'reg unload HKLM\OfflineSYSTEM'.Corrects driver StartType misconfiguration in the cloned registry — the root cause when Windows cannot initialise the storage controller on dissimilar target hardware.
-
For UEFI/GPT systems: in diskpart assign a letter to the EFI partition (e.g., 'assign letter=Z'), then run 'bcdboot C:\Windows /s Z: /f UEFI' to recreate the EFI bootloader. For MBR/Legacy systems: in diskpart, select the System Reserved partition and run 'active' to ensure it is flagged as the active boot partition.Repairs a missing or misconfigured bootloader on the cloned disk when the ESP was not cloned correctly or the active partition flag was lost.
Resolution path
- Enter BIOS/UEFI and verify SATA mode is AHCI; correct if set to IDE or RAID and reboot
- If still failing, boot from Windows 10/11 USB and run Startup Repair from WinRE
- If Startup Repair fails, open WinRE Command Prompt and run all four bootrec commands to rebuild BCD
- If BCD rebuild does not resolve the issue, attempt boot into Safe Mode via Startup Settings
- In Safe Mode, use Device Manager to roll back or uninstall recently changed storage or chipset drivers
- Run sfc /scannow in offline mode against the Windows installation to repair corrupted system files
- If no other step succeeds, perform System Restore from WinRE to a pre-failure restore point
- If cloning is the suspected cause: inspect BCD with 'bcdedit /enum all' and verify device/osdevice GUIDs match the cloned disk; rebuild BCD with bootrec if stale
- Load the offline SYSTEM registry hive with reg.exe and set storahci and stornvme driver Start values to 0 (boot-start) if they are set to 3 or 4
- For UEFI/GPT systems: assign a letter to the ESP in diskpart and run 'bcdboot C:\Windows /s Z: /f UEFI' to recreate the EFI bootloader
- For MBR/Legacy systems: use diskpart to mark the System Reserved partition as active
Prevention
- Never change BIOS SATA mode after Windows installation without first enabling AHCI compatibility in the OS registry
- Create a System Restore point before installing new drivers, chipset updates, or major Windows Updates
- Maintain a bootable Windows 10/11 USB recovery drive at all times for rapid WinRE access
- Monitor boot drive health regularly using S.M.A.R.T. diagnostics tools (e.g., CrystalDiskInfo) to detect hardware degradation early
- Test Windows Updates and driver changes in a non-production environment before applying to business-critical machines
- Ensure all storage drive cables and connectors are firmly seated, particularly after hardware maintenance
- Before cloning to dissimilar hardware, set storahci, stornvme, and iaStorV driver Start values to 0 (boot-start) in HKLM\SYSTEM\CurrentControlSet\Services\<driver> on the live source OS so the cloned image can initialise any supported controller on first boot
- Use cloning software that performs driver injection or hardware abstraction (e.g., Macrium Reflect with Rapid Delta Restore, Acronis True Image with Universal Restore, or DISM WIM captures) rather than raw sector-for-sector clones when migrating to dissimilar hardware
- Verify source and destination firmware modes match (UEFI+GPT or Legacy BIOS+MBR) and that BIOS storage mode is identical before cloning; mismatches require bootloader recreation post-clone
- Test-boot the cloned disk in a VM using the raw disk before deploying to physical hardware to identify driver and BCD issues in a low-risk environment
- Document the source disk's partition layout (MBR/GPT), EFI partition size and location, and active partition before cloning to streamline recovery if the clone fails to boot
Tools
- Windows 10/11 bootable installation USB (creation tool: Microsoft Media Creation Tool)
- Windows Recovery Environment (WinRE)
- Startup Repair (built-in WinRE tool)
- bootrec.exe (bootrec /fixmbr, /fixboot, /scanos, /rebuildbcd)
- sfc /scannow (System File Checker — offline mode)
- Device Manager
- Event Viewer
- System Restore
- diskpart.exe — disk and partition management from recovery environment (list disk, list volume, assign letter, active)
- bcdedit.exe — inspect and modify Boot Configuration Database entries (/enum all)
- bcdboot.exe — recreate EFI or MBR bootloader files on the target partition
- reg.exe — load and edit offline registry hives from recovery environment (reg load, reg add, reg unload)
References
- Windows 11 stop code: INACCESSIBLE_BOOT_DEVICE (0x7B) — Microsoft Q&A
- Microsoft Docs — Use bootrec.exe in Windows RE to troubleshoot startup issues
- Microsoft Docs — INACCESSIBLE_BOOT_DEVICE stop code (Bug Check 0x7B)
- Microsoft Docs — BCDEdit command-line options
- Microsoft Docs — bcdboot: Initialize system partition