INACCESSIBLE_BOOT_DEVICE is a critical Windows Blue Screen (BSOD) error that occurs when the operating system cannot access the system boot drive. This commonly happens after hardware changes, BIOS misconfiguration, or corrupted boot files.

✅ SEO Keywords: Windows BSOD, INACCESSIBLE_BOOT_DEVICE, boot drive error, AHCI mode, RAID controller, boot configuration data, fix boot error, Windows 10 boot issue, storage drivers
This repository provides a complete guide to diagnose and fix the INACCESSIBLE_BOOT_DEVICE stop code (0x0000007B) on Windows 10/11. It includes step-by-step instructions, repair tools, BIOS settings, and disk recovery tips.
Use Windows Recovery or bootable USB:
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcdFor UEFI systems:
bcdboot C:\Windows /s <EFI-partition> /f ALL- Restart your PC and enter BIOS/UEFI (
Del,F2, etc.) - Go to SATA Configuration or Storage Mode
- Ensure mode matches your Windows installation (AHCI or RAID)
- Save and exit
diskpart
list disk
select disk 0
list volumeMake sure the OS volume is present and the disk is online.
From Windows Recovery:
- Troubleshoot → Advanced Options → Uninstall Updates Or via terminal:
DISM /Image:C:\ /Get-Packages
DISM /Image:C:\ /Remove-Package /PackageName:<name>chkdsk C: /f /r
sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth- Unplug recent drives or USB storage devices
- Restore original drive configuration
- Boot into Safe Mode
- Download latest storage (AHCI/NVMe) drivers
- Update BIOS/UEFI firmware
Use System Restore to revert to a working configuration. If that fails:
- Use Reset this PC with “Keep my files” or do a clean install
- Test your SSD/HDD using tools like CrystalDiskInfo
- Replace storage devices if errors persist
If you're experiencing the INACCESSIBLE_BOOT_DEVICE blue screen (BSOD) on Windows 10/11, use the PowerShell script below to automatically attempt a fix. The script performs bootloader recovery, disk checks, and system file repairs.
✅ SEO Keywords: fix inaccessible boot device, Windows BSOD, boot error recovery, bootrec repair, Windows 10 boot fix, PowerShell recovery script, bootloader repair
The script will:
- Rebuild the MBR and BCD boot configuration
- Run
chkdskto scan for drive errors - Use
sfcandDISMto fix corrupted system files - Output a full diagnostic log to
C:\FixBootDevice_Log.txt
-
Boot into Windows Recovery Environment (WinRE)
- You can access it using a Windows installation USB or by holding
Shift + Restart.
- You can access it using a Windows installation USB or by holding
-
Open PowerShell (or Command Prompt)
- Go to “Advanced Options” → “Command Prompt”
-
Copy the script to a flash drive or second partition (e.g. D:)
-
Run the script from PowerShell:
Set-ExecutionPolicy Bypass -Scope Process -Force .\Fix-InaccessibleBootDevice.ps1
Wait for all steps to complete The script may take 5–10 minutes. Check the output in PowerShell and the full log at:
C:\FixBootDevice_Log.txt 📄 Notes
You must run the script as Administrator
It is recommended to use this script from WinRE or a Live USB
If the error persists, check your BIOS storage mode (AHCI/RAID) and try restoring Windows using System Restore
Click below to download the latest version of the PowerShell auto-repair script for the INACCESSIBLE_BOOT_DEVICE BSOD error:
⬇️ Download Fix-InaccessibleBootDevice.ps1
Or check all versions on the Releases page
To fix INACCESSIBLE_BOOT_DEVICE, follow these steps:
- Check storage mode (AHCI/RAID) in BIOS
- Repair bootloader (BCD/MBR)
- Remove bad updates or drivers
- Run disk/file integrity checks
- Restore or reset Windows
- Test and replace hardware if needed
#Windows #BSOD #inaccessible-boot-device #boot-error #AHCI #RAID #fix #boot-drive #troubleshooting #UEFI #BCD #MBR
- Microsoft Official Docs on STOP 0x0000007B
- Tom's Hardware Guide: Fixing INACCESSIBLE_BOOT_DEVICE
- Disk Recovery & Boot Repair Tools
- Windows BCD Troubleshooting
These links provide in-depth technical explanations, community discussions, and additional recovery methods for advanced users.
If this guide helped you fix the INACCESSIBLE_BOOT_DEVICE error, please consider:
- ⭐ Starring this repository to support the project
- 🐛 Opening an issue if you found an error or have a better fix
- 📥 Submitting a pull request to improve or expand the content
- 💬 Sharing the repo with others facing Windows boot issues
Every bit of feedback or collaboration helps make this resource better for the community!
This project is open-source under the MIT License. Feel free to use, adapt, and share with proper attribution.
This repository aims to help users troubleshoot and resolve one of the most frustrating Windows issues — the dreaded INACCESSIBLE_BOOT_DEVICE blue screen error. Whether you're working with a fresh install, migrating your OS to a new SSD, or tweaking BIOS settings — this guide can save hours of guessing and reinstalling.
The INACCESSIBLE_BOOT_DEVICE BSOD typically appears when Windows cannot locate or read the system partition during boot. This could be caused by changes in hardware configuration, corrupted boot records, or missing storage drivers. Sometimes, simply switching a BIOS setting (AHCI vs. RAID) is enough to break the boot process.
By covering boot repair, disk recovery, driver update, and BIOS configuration, this guide gives you a full arsenal to fight back and get your system running.
If you found this guide helpful, consider giving this repository a star ⭐ to help others discover it.
Your support helps raise awareness about open-source troubleshooting resources for Windows problems.
You can also:
- Share this repo with others facing boot issues
- Submit improvements or corrections via pull request
- Open an issue if something is unclear
- Microsoft Docs: Troubleshoot Stop 0x0000007B Errors
- DiskPart Commands Overview
- BCDBoot Command Guide
- How to Enter BIOS/UEFI
- CrystalDiskInfo – SSD/HDD Health Checker
Feel free to fork this repository and submit improvements, corrections, or translations. Every contribution helps others fix their Windows BSODs faster.