inaccessible boot device windows 10 command prompt

"Fix: Inaccessible Boot Device Windows 10 Command Prompt"

By Daniel Brown
AD

Troubleshooting the "Inaccessible Boot Device" Error in Windows 10 Command Prompt

Encountering the "Inaccessible Boot Device" error on your Windows 10 computer can be frustrating, especially when it prevents you from booting into your operating system. This error often occurs due to hardware issues, corrupted system files, or improperly configured BIOS/UEFI settings. In this guide, we'll walk you through several command prompt-based solutions to help you resolve this issue.

Understanding the "Inaccessible Boot Device" Error

The "Inaccessible Boot Device" error typically appears when Windows fails to detect a bootable device during the startup process. This could be due to a faulty hard drive, improperly configured BIOS/UEFI settings, or a corrupted Windows installation. Before we dive into the solutions, let's ensure that your boot order is correctly set in your BIOS/UEFI settings.

Checking and Changing the Boot Order in BIOS/UEFI

To access your BIOS/UEFI settings, restart your computer and press the appropriate key (usually Del, Esc, F2, F10, or F12) during boot-up. Once you're in the BIOS/UEFI setup utility, navigate to the "Boot" or "Boot Order" settings. Ensure that your primary boot device is set to your Windows installation drive (usually the C: drive). Save your changes and exit.

AD
a blue screen with a qr code on it that says fix inaccessble boot device
a blue screen with a qr code on it that says fix inaccessble boot device
How to Fix the Inaccessible Boot Device Error in Windows 10
How to Fix the Inaccessible Boot Device Error in Windows 10
Essential Windows Troubleshooting Commands You Should Know
Essential Windows Troubleshooting Commands You Should Know

Using Command Prompt to Resolve the "Inaccessible Boot Device" Error

If changing the boot order didn't resolve the issue, it's time to use the command prompt to troubleshoot the problem. To access the command prompt, you'll need to boot into Windows Recovery Environment (WinRE). Here's how to do it:

  • Restart your computer and press the appropriate key to enter BIOS/UEFI settings.
  • Navigate to the "Boot" or "Boot Options" menu and change the "Boot Mode Select" to "UEFI" or "UEFI with CSM".
  • Save your changes and exit. Your computer should now boot into WinRE.

Using the "Bootrec" Command

The "Bootrec" command is a built-in Windows tool designed to repair boot-related issues. Here are the steps to use it:

How to Open a Command Prompt at Boot in Windows 10
How to Open a Command Prompt at Boot in Windows 10
How to open Command Prompt when Windows doesn’t boot (3 ways)
How to open Command Prompt when Windows doesn’t boot (3 ways)
Repair Windows 11/10 Using Command Prompt (SFC, DISM, CHKDSK)
Repair Windows 11/10 Using Command Prompt (SFC, DISM, CHKDSK)
  • In WinRE, select "Troubleshoot" > "Advanced options" > "Command Prompt".
  • In the command prompt, type the following commands one by one and press Enter after each:
Command Description
bootrec /fixmbr Repairs the Master Boot Record (MBR) if it's corrupted.
bootrec /fixboot Writes a new boot sector to the system partition.
bootrec /rebuildbcd Scans all disks for Windows installations and adds them to the boot configuration data (BCD) store.

After running these commands, type "exit" and press Enter to reboot your computer. If the "Inaccessible Boot Device" error persists, proceed to the next step.

Using the "Chkdsk" Command

Corrupted system files or a faulty hard drive can also cause the "Inaccessible Boot Device" error. The "Chkdsk" command can help you scan and repair your hard drive for errors. Here's how to use it:

AD
  • In the command prompt, type "chkdsk C: /f /r /x" (without quotes) and press Enter. This command will scan and repair the C: drive (or your Windows installation drive) and attempt to locate bad sectors.
  • After the scan is complete, type "exit" and press Enter to reboot your computer.

If the "Inaccessible Boot Device" error still persists, it might be time to consider replacing your hard drive or seeking professional help.

the beginner's guide to the windows command
the beginner's guide to the windows command
How To Fix The Problem of No Bootable Device Found Insert Boot Disk and Press Any Key
How To Fix The Problem of No Bootable Device Found Insert Boot Disk and Press Any Key
Command Prompt Windows 10: Tell Your Windows to Take Actions - MiniTool Partition Wizard
Command Prompt Windows 10: Tell Your Windows to Take Actions - MiniTool Partition Wizard
How to start Windows 10 in Safe Mode with Command Prompt
How to start Windows 10 in Safe Mode with Command Prompt
the advanced options screen in windows 8 and 7 are highlighted by an arrow pointing to the system restore button
the advanced options screen in windows 8 and 7 are highlighted by an arrow pointing to the system restore button
10 Command Prompt Tricks that Every Windows User Should Know - MiniTool
10 Command Prompt Tricks that Every Windows User Should Know - MiniTool

Preventing the "Inaccessible Boot Device" Error in the Future

To minimize the risk of encountering the "Inaccessible Boot Device" error in the future, make sure to regularly back up your important data, keep your Windows installation up-to-date, and avoid making drastic changes to your system without proper understanding of the potential consequences.

In conclusion, troubleshooting the "Inaccessible Boot Device" error can be a complex process, but with the right tools and knowledge, you can often resolve the issue without having to resort to professional help. By following the steps outlined in this guide, you should be well on your way to getting your Windows 10 computer back up and running smoothly.

AD
How to Open Command Prompt: A Complete Beginner’s Guide
How to Open Command Prompt: A Complete Beginner’s Guide
Top 16 Command Promt Commands that every Windows User must know
Top 16 Command Promt Commands that every Windows User must know
the basic commands for using command commands
the basic commands for using command commands
How to Fix the Inaccessible Boot Device Error in Windows - Make Tech Easier
How to Fix the Inaccessible Boot Device Error in Windows - Make Tech Easier
How to Boot Straight to Command Prompt on Windows 11
How to Boot Straight to Command Prompt on Windows 11
How to Fix No Bootable Devices Found - TechColleague
How to Fix No Bootable Devices Found - TechColleague
Windows Lỗi màn hình xanh “Inaccessible Boot Device” – Cách tự xử lý tại nhà
Windows Lỗi màn hình xanh “Inaccessible Boot Device” – Cách tự xử lý tại nhà
[Fixed] Command Prompt (CMD) Not Working/Opening Windows 10? - MiniTool
[Fixed] Command Prompt (CMD) Not Working/Opening Windows 10? - MiniTool
The Windows Command Prompt: Simpler And More Useful Than You Think
The Windows Command Prompt: Simpler And More Useful Than You Think
6 Command Prompt commands you should still be using
6 Command Prompt commands you should still be using
Solved: Windows 10 Won't Boot (100% Working Solution)
Solved: Windows 10 Won't Boot (100% Working Solution)
Essential Windows CMD Commands You Should Know
Essential Windows CMD Commands You Should Know
Fastboot Commands: All Hidden Commands List - GetWox
Fastboot Commands: All Hidden Commands List - GetWox
a black background with green and blue text that reads must - know windows commands
a black background with green and blue text that reads must - know windows commands
AD