In this guide
  1. Before you start: save your files
  2. How to open the Windows recovery screen and Command Prompt
  3. Step 1: Undo the storage setting in the BIOS
  4. Step 2: Check the boot drive and disconnect extras
  5. Step 3: Run Startup Repair
  6. Step 4: Remove the update that caused it
  7. Step 5: Check the disk and repair system files
  8. Step 6: Rebuild the boot files
  9. Step 7: Switch to AHCI (or VMD) without the error
  10. Step 8: Inaccessible boot device after cloning
  11. If it still doesn’t work
  12. FAQ
    1. What causes the inaccessible boot device error?
    2. Can I fix inaccessible boot device without losing data?
    3. Does inaccessible boot device mean my SSD is dead?
    4. Why did inaccessible boot device appear after a BIOS update?
    5. What is stop code 0x0000007B?

Inaccessible boot device (stop code INACCESSIBLE_BOOT_DEVICE, bug check 0x7B) means Windows started loading but lost access to the drive it was starting from. The usual causes are a changed storage setting in the BIOS (AHCI, RAID or Intel VMD), a Windows update that didn’t finish, a cloned drive, or disk corruption. The fix is to undo the recent change first, then use the recovery screen to remove the update, repair the disk and rebuild the boot files.

Microsoft lists the same causes for stop error 7B: storage controller mode changes in the BIOS, a different storage controller than the one Windows was installed with, missing or damaged storage drivers, file system corruption, and updates that didn’t finish installing. Work through the steps below in order, and think about what changed just before the error first appeared. That’s usually the answer.

Before you start: save your files

Most of these fixes don’t touch your files, but a failing drive can get worse with every attempt. If your documents aren’t backed up, copy them off first:

  • From the recovery screen: open Command Prompt (see the next section), type notepad and press Enter. In Notepad, use File → Open, set Files of type to All Files, and you can browse your drives and copy folders to a USB stick by right-clicking and choosing Copy, then Paste on the USB drive.
  • Or take the drive out and read it from another PC with a USB adapter or enclosure.

BitLocker: if your drive is encrypted, the recovery tools will ask for the 48-digit BitLocker recovery key. If you sign in with a Microsoft account, you can usually find it at aka.ms/myrecoverykey on another device. Don’t skip this; you can’t reach the drive without it.

How to open the Windows recovery screen and Command Prompt

Path through the Windows recovery screen: Troubleshoot, Advanced options, then Command Prompt or Startup Repair

Many fixes below start from the blue Choose an option screen (Windows Recovery Environment, or WinRE):

  1. After two or three failed starts, Windows usually shows Preparing Automatic Repair, then the recovery screen on its own. If not, turn the PC on and hold the power button to switch it off as soon as the Windows logo appears; repeat twice.
  2. Or start from a Windows installation USB stick: choose your language, select Next, then Repair your computer at the bottom left. Our guide to making a bootable USB explains how to create one on another PC.
  3. Select Troubleshoot → Advanced options. From here you’ll find Startup Repair, Uninstall Updates, Startup Settings and Command Prompt.

If your PC is stuck on the automatic repair screen instead, see our guide to Preparing Automatic Repair loops.

Step 1: Undo the storage setting in the BIOS

This is the most common cause, and the easiest to fix. Windows only loads the storage driver it expects. If the BIOS presents the drive in a different mode, Windows can’t see it and stops with 0x7B.

Table of BIOS storage modes AHCI, RAID or Intel RST, and Intel VMD, with when each causes the 0x7B error

The setting can change when you:

  • Reset the BIOS to defaults or update the BIOS (some updates reset everything).
  • Change SATA mode between AHCI, RAID (Intel RST) or IDE.
  • Turn Intel VMD (Volume Management Device) on or off. Many recent Intel laptops ship with Windows installed in VMD/RST mode.

To put it back:

  1. Restart and open the BIOS or UEFI setup. The key differs by maker: usually Del or F2 on desktops, and F2, F10, F1 or Esc on laptops (on many Lenovo models, there’s also a small Novo button).
  2. Look for SATA Mode, SATA Operation, Storage Configuration or VMD Controller, usually under Advanced, Main or System Configuration. Names differ by maker.
  3. Change it back to what it was before. If you don’t know, try the other option: if it says AHCI, try RAID/RST (or enable VMD); if it says RAID or VMD is on, try AHCI (or disable VMD).
  4. Save and exit (usually F10). If Windows starts, leave it on that setting.

If you want to switch to AHCI permanently, use the safe method in Step 7 instead of just changing the setting.

Step 2: Check the boot drive and disconnect extras

  1. Unplug all USB drives, memory cards and external disks, then restart.
  2. In the BIOS, check the boot order: Windows Boot Manager on the correct drive should be first. If you have more than one drive, make sure you’re starting from the one with Windows.
  3. On a desktop, reseat the drive’s SATA data and power cables, or reseat the M.2 drive. Try a different SATA cable and port if you have them.

If the BIOS doesn’t list the drive at all, the problem is the drive, the cable or the slot, not Windows. Our guides to no bootable device and reboot and select proper boot device cover that case.

Step 3: Run Startup Repair

In the recovery screen, select Troubleshoot → Advanced options → Startup Repair and choose your Windows installation. It checks the boot files and the disk and fixes what it can. It’s safe and doesn’t touch your files. If it says it couldn’t repair your PC, carry on.

Step 4: Remove the update that caused it

If the error appeared right after Windows installed updates and restarted:

  1. In the recovery screen, select Troubleshoot → Advanced options → Uninstall Updates.
  2. Choose Uninstall latest quality update first. Restart and test.
  3. If it still fails, go back and choose Uninstall latest feature update.

Your files stay in place. If the uninstall option fails, an update may be stuck half-installed. Microsoft’s fix for this is to revert the pending actions from Command Prompt.

First, find the letter of your Windows drive. In the recovery screen it’s often not C::

diskpart
list vol
exit

Look for the large NTFS volume (your Windows drive). Check it really is the right one with dir D:\Windows (replace D with the letter you found). Then run:

dism /image:D:\ /cleanup-image /revertpendingactions

Replace D: with your Windows drive letter. Restart when it finishes. The first start may take a while as Windows rolls back.

Command Prompt in recovery running diskpart list vol to find the Windows drive, then DISM revertpendingactions

Step 5: Check the disk and repair system files

Disk errors are the next most common cause. From the recovery Command Prompt, using your Windows drive letter:

chkdsk D: /f

This fixes file system errors. If it finds problems, or you suspect bad sectors on an older hard drive, you can run chkdsk D: /r, which also scans the whole surface. On a failing drive, /r can take hours and puts extra strain on it, so save your files first (see above).

Then repair Windows system files offline:

sfc /scannow /offbootdir=D:\ /offwindir=D:\Windows

For the difference between SFC and DISM, and when to use each, see our guide to SFC vs DISM.

Step 6: Rebuild the boot files

If Windows still can’t reach its drive, the boot configuration may point to the wrong place, which often happens after cloning or changing drives. On most PCs made in the last decade (UEFI with a GPT disk), the fix is bcdboot. Our guide to bootrec /fixboot “Access is denied” walks through it step by step, including how to find the hidden EFI partition. For older BIOS/MBR systems, the same guide covers the bootrec commands.

Step 7: Switch to AHCI (or VMD) without the error

If you need to change the storage mode for good, for example to use a new drive or install another OS, tell Windows first so it loads the right driver:

Four steps to switch to AHCI safely using bcdedit safeboot, the BIOS setting, Safe Mode and deletevalue

  1. In Windows, right-click Start and open Terminal (Admin) or Command Prompt (Admin).
  2. Run:
bcdedit /set {current} safeboot minimal
  1. Restart and enter the BIOS. Change the storage mode (for example, RAID → AHCI, or disable VMD). Save and exit.
  2. Windows starts in Safe Mode and installs the driver for the new mode. Open Command Prompt (Admin) again and run:
bcdedit /deletevalue {current} safeboot
  1. Restart. Windows now starts normally in the new mode.

Step 8: Inaccessible boot device after cloning

When you clone Windows to a new SSD, these are the usual problems:

  • The PC still boots the old drive’s boot files. Remove the old drive (or set the new one first in the boot order) and try again.
  • The partition style doesn’t match the firmware. A GPT disk needs UEFI mode; an MBR disk needs Legacy/CSM mode. If you cloned an MBR disk and the PC is set to UEFI only, or the other way round, it won’t start.
  • The new drive is NVMe and the old one was SATA (or the reverse) on a different controller. Windows usually copes, but if not, run Startup Repair, then rebuild the boot files as in Step 6.
  • The clone was incomplete. Cloning tools sometimes skip the small hidden EFI or recovery partitions. Re-clone with the “clone entire disk” or “sector by sector” option.

If it still doesn’t work

  • The drive is failing. Clicking noises, a drive that appears and disappears in the BIOS, or chkdsk reporting many bad sectors all mean the drive needs replacing. Save your files first.
  • Try Safe Mode: Troubleshoot → Advanced options → Startup Settings → Restart, then press 4. If Safe Mode works, a recently installed driver (storage, antivirus, encryption) is likely to blame; uninstall it.
  • System Restore: Troubleshoot → Advanced options → System Restore takes Windows back to a restore point from before the problem, without touching your files.
  • Reset or reinstall: Troubleshoot → Reset this PC → Keep my files reinstalls Windows. A clean install from USB is the last resort, and it erases the drive, so only do it once your files are safe.

If you’re seeing other stop codes too, our guide to finding what caused a blue screen shows how to read the crash files, and unmountable boot volume covers a closely related error. For a full overview of start-up problems, see PC won’t boot.

FAQ

What causes the inaccessible boot device error?

Most often a change to the storage mode in the BIOS (AHCI, RAID, Intel VMD), a Windows update that didn’t finish, cloning to a new drive, a disconnected or failing drive, or file system corruption.

Can I fix inaccessible boot device without losing data?

Usually, yes. Changing the BIOS setting back, uninstalling updates, Startup Repair, chkdsk and rebuilding boot files don’t erase your files. Only a clean install erases the drive. Copy your files off first anyway if the drive might be failing.

Does inaccessible boot device mean my SSD is dead?

Not necessarily. Most cases are settings or software. If the SSD doesn’t show up in the BIOS at all, or appears and disappears, then the drive or its connection is the likely cause.

Why did inaccessible boot device appear after a BIOS update?

BIOS updates often reset settings to defaults, which can change the storage mode Windows was installed with. Change it back (AHCI, RAID/RST or VMD) and Windows usually starts again.

What is stop code 0x0000007B?

It’s the bug check code for INACCESSIBLE_BOOT_DEVICE. You’ll see 0x7B in Event Viewer or a crash dump instead of the name.

Technology Sage

The Technology Sage desk: guides, explainers and contributed articles since 2014.