Blue screen · Windows 11
Fix a blue screen with stop code INACCESSIBLE_BOOT_DEVICE
This blue screen means Windows started to load and then lost the drive it was loading from. The most common trigger is a storage setting changed in the BIOS — Windows was installed expecting one controller mode and now finds another — followed by a storage driver problem, a bad update, or a drive that is starting to fail. Check the simple setting first, then use the recovery environment to confirm the drive is really there before changing anything else.
What you need
- Knowledge of what changed, if anything. A BIOS update, a setting changed in the BIOS, a new drive or cable, or a Windows update right before the first crash. This fault is very often the direct result of one change, and naming it points straight at the fix.
- Access to the BIOS setup. Usually a key such as Delete or F2 pressed as the PC starts — the startup screen names it. You need it to check that the drive is detected and to see the storage mode.
- Patience with the recovery loop. After repeated failed starts, Windows opens its recovery environment on its own. The checks below run from there, so let that loop happen rather than forcing the PC off mid-start more than you have to.
Read the stop code before you touch it
- Understand what the code is telling you. INACCESSIBLE_BOOT_DEVICE is bug check 0x7B. Microsoft’s reference, Bug Check 0x7B INACCESSIBLE_BOOT_DEVICE, describes it as Windows losing access to the system partition during startup. The drive worked long enough to start loading Windows, then the path to it broke — which is why a controller mode or driver mismatch fits this code so well.
- Separate a settings crash from a dying drive. A PC that worked until a BIOS or hardware change and now crashes every start is usually a settings problem, and settings problems reverse cleanly. A PC that grew unreliable over weeks — slow starts, occasional crashes, files going missing — before this code appeared may have a failing drive, and no setting will fix that.
The simple fixes, in order
- Undo a BIOS storage mode change — carefully. If the storage mode was changed recently — SATA mode switched between AHCI and RAID, or a similar storage setting — enter the BIOS and put it back to what it was. Windows installs its storage driver for the mode in use at install time, and it cannot reach the drive when the mode no longer matches. Do not flip this setting blindly to try the other option: match the mode Windows was installed with. If you know a change was made, reversing that exact change is the fix. If no change was made, leave the mode alone and move on.
- Confirm the drive is detected in the BIOS. In the BIOS, find the storage or boot information and check that your Windows drive appears by name or size. If it is listed, the hardware path works at the basic level and the fault is in settings, drivers, or files. If it is not listed at all, Windows cannot fix what the PC itself cannot see — reseat the drive’s data and power cables on a desktop, or reseat the drive itself if you are comfortable opening the machine, then check again.
- Remove anything new between the PC and the drive. A new dock, adapter, or drive added just before the crashes can confuse the boot order. Disconnect extra drives and USB storage, leaving only the Windows drive, and try to start. If it starts cleanly, reconnect the extras afterward and check the boot order in the BIOS puts the Windows drive first.
- Run Startup Repair from the recovery environment. Let the failed starts bring up the recovery environment, or hold Shift while choosing Restart if you can reach the sign-in screen. Go to Troubleshoot > Advanced options > Startup Repair and let it run. It checks the boot files and the startup configuration and fixes the straightforward damage on its own. If it reports it could not repair the PC, continue to the Command Prompt checks below.
The advanced route: recovery Command Prompt checks
- Open the Command Prompt in the recovery environment. From the recovery menu, go to Troubleshoot > Advanced options > Command Prompt. Drive letters in recovery can differ from normal Windows — the Windows drive is not always C: here — so the first check confirms which letter is which before anything writes to a drive.
- Confirm the Windows volume with DiskPart. At the prompt, start DiskPart, then type
list volumeand press Enter. The list shows every volume with its letter, size, and label. Find the large volume that matches your Windows drive and note its letter — use that letter in the next step in place of C: if it differs. A Windows volume that does not appear at all points back to detection or hardware, not to files. - Check the Windows drive for file system errors. Type
chkdsk C: /fand press Enter, using the letter you confirmed above. The /f switch fixes errors it finds, as described in the Microsoft Learn page chkdsk reference. Because this fixes errors on the system drive, restart the PC when it finishes and let Windows try to start normally — the restart is part of the step, since the repaired file system only proves itself on a fresh start. - Inspect the boot entries. Type
BCDEdit /enumand press Enter. This lists the boot configuration entries Windows will use, as covered in the Microsoft Learn page BCDEdit reference. Look for the Windows Boot Loader entry and check that its device and path point at the volume you confirmed earlier. An entry pointing at a missing or wrong volume explains the crash without anything being wrong with the drive itself. - Uninstall a recent update from recovery, as a later branch. If the crashes began right after a Windows update and the checks above are clean, go back to Troubleshoot > Advanced options > Uninstall Updates and remove the latest quality update. A storage driver delivered by an update can break the boot path the same way a mode change does, and removing the update restores the driver that worked.
End state
- Windows starts to the sign-in screen and the desktop across two or three ordinary restarts, with no blue screen.
- The BIOS storage mode matches the mode Windows was installed with, and the drive is detected in the BIOS.
- The boot entries point at the real Windows volume, and the drive check reports a clean or repaired file system.
When it goes wrong
- The PC drops into the BIOS instead of attempting Windows at all. That is a different fault — the PC is not even handing over to Windows. The PC boots into BIOS instead of Windows guide covers that case, starting with boot order and drive detection.
- The drive is not detected in the BIOS. Stop working on Windows settings. A drive the BIOS cannot see is a cable, connection, or drive failure until proven otherwise. Try a different cable and port on a desktop; if it stays invisible, the drive itself is the problem and data recovery comes before repair.
- The drive check finds new errors every time it runs. A file system that keeps corrupting is a drive wearing out, not a Windows setting. Back up your files while the drive still answers, then plan on replacing it — repairs will not hold on failing hardware.
- You do not know which storage mode Windows was installed with. Do not guess by flipping the setting back and forth. Note the current mode, and treat the other branches first — Startup Repair, the volume and boot entry checks, and the update removal. The mode only changes when you have evidence a change was made.
Related fixes
-
Fix a blue screen with stop code DPC_WATCHDOG_VIOLATION
DPC_WATCHDOG_VIOLATION means a deferred procedure call ran far too long and Windows stopped the system rather than wait forever. In practice the culprit is usually a storage or chipset driver, or an SSD struggling with a power state. Update those drivers first, then check the drive and its settings.
-
Fix a blue screen with stop code BAD_SYSTEM_CONFIG_INFO
This is the blue screen that often appears right after a registry cleanup, a restore gone wrong, or a memory change — Windows is saying the system hive it needs to start is damaged or does not match the hardware. Start with System Restore from recovery, because rolling back to before the change is exactly what this error calls for.
-
Fix a blue screen with stop code CRITICAL_PROCESS_DIED
CRITICAL_PROCESS_DIED means a process Windows cannot run without has ended. Undo the recent change, test in Safe Mode, then repair system files and scan the drive in order.
-
Fix a blue screen with stop code SYSTEM_SERVICE_EXCEPTION
A SYSTEM_SERVICE_EXCEPTION blue screen means a system service handed bad work to a driver or to Windows itself — most often a recently changed driver. Work back through recent drivers first, in the order they changed.
Sources
- Microsoft Learn, Bug Check 0x7B INACCESSIBLE_BOOT_DEVICE — what the stop code means.
- Microsoft Learn, chkdsk — chkdsk switches, including fixing file system errors.
- Microsoft Learn, BCDEdit — viewing and working with boot configuration entries.