Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Fix Inaccessible Boot Device Error on Windows

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

The “Inaccessible Boot Device” error stops Windows from loading because the system cannot read the drive containing the operating system. This is usually caused by corrupted storage drivers, a failed Windows update, or a change in SATA controller settings in the BIOS. You can resolve this by booting into the Windows Recovery Environment (WinRE) and using command-line tools to repair the system files and drivers.

What You'll Need

  • A working Windows computer (to create installation media if your PC cannot boot to recovery).
  • A USB flash drive with at least 8GB of space (if you need to create installation media).
  • Access to your computer's BIOS/UEFI settings.

Step-by-Step

  1. Access the Windows Recovery Environment.

    If Windows fails to boot three times, it should automatically enter WinRE. If it does not, you must boot from a Windows installation USB drive. Insert the drive, restart the PC, and press the required key (often F12, F2, Del, or Esc) to open the boot menu and select the USB drive.

  2. Navigate to Command Prompt.

    On the “Choose an option” screen, select Troubleshoot > Advanced options > Command Prompt. This opens a terminal where you can enter repair commands.

  3. Check the drive letter assignment.

    The drive letter in WinRE may differ from the one in Windows. Type diskpart and press Enter. Type list volume and press Enter. Look for the volume labeled “Windows” or the largest partition size. Note its letter (e.g., C or D). Type exit to leave Diskpart. If your Windows drive is D, use D: in the following steps instead of C:.

  4. Remove pending updates.

    A pending update often causes this error. Type the command dism /image:C:\ /cleanup-image /revertpendingactions and press Enter. (Replace C: with your actual Windows drive letter if different). Wait for the process to finish. This rolls back pending update actions that may be causing the conflict.

  5. Repair system files and drivers.

    Type sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows and press Enter. This scans the offline Windows installation for corrupted files. If the scan finds errors, it will attempt to fix them. This process may take several minutes.

  6. Check for driver issues.

    If the error persists, the storage controller driver may be the issue. Navigate to the driver folder by typing cd C:\Windows\System32\drivers and pressing Enter. Type dir storahci.sys and press Enter. If the file is missing or 0 bytes, you can try to restore it from the Windows component store, but often running the DISM command in step 4 resolves this automatically.

  7. Run Check Disk.

    File system errors can cause the boot device to become inaccessible. Type chkdsk C: /f and press Enter. This checks the drive for file system errors and fixes them. If the drive is locked, you may be prompted to run it on the next restart, but since you are in recovery, it usually runs immediately.

  8. Restart the computer.

    Close the Command Prompt window. Remove any installation media (USB drive) and click Continue (Exit and continue to Windows) on the recovery screen. The computer will reboot. Check if Windows loads correctly.

Common Mistakes

  • Ignoring the drive letter in WinRE: Users often assume the Windows drive is always C. In the recovery environment, the drive letter often shifts to D or E. Running commands on the wrong drive will fail or cause further issues. Always use list volume in Diskpart to verify.
  • Interrupting the repair process: Commands like DISM and SFC can appear frozen. Do not force a shutdown. Let the process complete, even if it seems stalled for 10-15 minutes.
  • Skipping BIOS checks: Sometimes the boot order is changed accidentally. If you created a bootable USB but the PC boots to the error screen, you may not have pressed the boot menu key correctly or the USB is not set as the first boot device in BIOS.

Tips

  • Safe Mode: If you can access the recovery menu but command line fixes do not work, try booting into Safe Mode. Go to Troubleshoot > Advanced options > Startup Settings and click Restart. Press 4 or F4 for Safe Mode. If Windows loads in Safe Mode, the issue is likely a driver or startup program. You can uninstall recently installed drivers or software from there.
  • System Restore: If you have restore points enabled, use System Restore from the Advanced options menu. This reverts system files and registry settings to a time before the error occurred without affecting your personal files.
  • BIOS SATA Mode: Check your BIOS settings for the SATA Operation or Storage Configuration mode. If it was recently changed from RAID to AHCI (or vice versa), Windows may not boot. Change it back to the previous setting (often RAID for pre-built PCs like Dell or HP, or AHCI for custom builds) and try booting again.

Troubleshooting

If the computer still displays the error after following the steps:

  • Verify drive health: Use the command wmic diskdrive get status in Command Prompt. If the status is not “OK,” the hard drive or SSD may have failed physically, requiring hardware replacement.
  • Check for loose connections: Power off the computer and open the case. Check that the SATA data cable and power cable are firmly connected to the drive and motherboard. Try a different SATA port on the motherboard.
  • Reset Windows: As a last resort, use the Reset this PC option in the recovery menu. Choose Keep my files to preserve your personal data, but be aware this will remove installed applications and settings.

Frequently Asked Questions

Can I fix this without a USB drive?

Yes, if your computer can automatically enter the Windows Recovery Environment. Force-restart the PC three times while it is booting (turn it off as soon as the Windows logo appears). This triggers automatic repair and should take you to the recovery menu.

Will I lose my files if I fix the inaccessible boot device?

The repair commands (DISM, SFC, Chkdsk) do not delete personal files. However, if the drive is failing physically, data loss is possible. Always back up data if you can access the drive via another computer before attempting repairs.

Why does this error happen after a Windows update?

Updates can sometimes corrupt storage drivers or the registry keys that tell Windows where to find the boot drive. The DISM command to revert pending actions is specifically designed to undo these problematic update changes.

What if the drive is not showing in Diskpart at all?

If list volume shows no Windows partition, the drive may be disconnected, disabled in BIOS, or dead. Check BIOS to ensure the drive is detected there. If it is not detected in BIOS, the drive or the motherboard controller has a hardware fault.

Is the 'Inaccessible Boot Device' error the same as the Blue Screen of Death?

Yes, it is a specific type of Blue Screen of Death (BSOD) with the stop code 0x0000007B. It specifically indicates that the Windows kernel lost access to the system boot partition during the startup process.