Quick guide to fix "Inaccessible Boot Device" on Windows

Quick guide to fix "Inaccessible Boot Device" on Windows

“Inaccessible Boot Device” is a blue screen of death (BSOD) error. This error usually occurs on Windows 10 after users use Reset This PC feature to restore Windows 10 computer to default setting or to refresh (reinstall) Windows 10 without losing files or after upgrading the system to Windows 10.

If an Inaccessible Boot Device error occurs, on the screen you will see an error message: ” Your PC ran into a problem and needs to restart. We ‘re just collecting some error info, and then you can restart. If you like to know more, you can search online later for this error: INACCESSIBLE BOOT DEVICE “. When the error occurs Windows cannot access the system partition at boot.

So how to fix the error, please refer to the following articles of the Network Administrator.

Error “Inaccessible Boot Device” and how to fix it

  • Delete recently installed packages
  • Delete “Update Pending” packages
  • Update driver
  • Check for damaged hard drive
  • Edit SATA Mode to AHCI on BIOS
  • Boot in Safe Mode
    • – On Windows 7 and Windows Vista
    • – On Windows 10 / 8.1 / 8
  • Edit the SATA Mode settings on the Registry
  • Restore your computer to the previous version
  • Perform a clean install of Windows

Delete recently installed packages

Delete recently installed packages

If you think an update caused your problem, you will need to deal with the recently installed packages and remove them one by one. Hopefully you will eventually remove the correct update causing the problem.

Note : The following process will require a reboot. Make sure to save all your work before proceeding.

To get started, open the Settings app and navigate to Update and Security> Recovery> Advanced Startup> Restart Now . After a moment, a blue screen will appear. Go to Troubleshoot> Advanced Options> Command Prompt .

The computer will reboot and boot into the Command Prompt application. After the Command Prompt appears on the screen, follow these instructions:

1. Type dir c: (assuming Windows is installed in drive C ) and press Enter.

2. Run the command:

Dism /Image:c: /Get-Packages

3. You will see all the packages installed on your system. Use the date field to identify the most recent date, and note its full name.

4. To remove the package, type:

dism.exe /image:c: /remove-package /[package name]

Replace [package name] with the name you noted in the previous step.

5. Restart the computer.

If deleting the most recent update didn’t fix the problem and you still see the BSOD error, repeat the above process with the next most recent update.

Delete “Update Pending” packages

Delete “Update Pending” packages

Sometimes Windows updates get stuck in a “hang” state, forever in a pending state and never installed. These pending updates can cause an “Inaccessible Boot Device” error.

To get rid of them, again you’ll need to open the Command Prompt in Advanced Startup Options, by going to Update and Security> Recovery> Advanced Startup> Restart Now> Troubleshoot> Advanced Options> Command Prompt .

When the Command Prompt application is running, enter the following 3 commands. These will delete the registry key SessionsPending. Press Enter after each line:

reg load HKLMtemp c:windows ystem32config oftware reg delete "HKLMtempMicrosoftWindowsCurrentVersionComponent Based ServicingSessionsPending"/v Exclusive reg unload HKLMtemp

Next, you need to move any pending updates to their own temporary files. Type dism / image: C: / get-packages to get a list of updates. Make a note of any that is tagged “Install Pending”.

Now, you need to create a temporary file. Type MKDIR C: temp packages and press Enter.

Finally, move all pending packets to the temporary file. Type dism / image: c: / remove-package / packagename: [package name] / scratchdir: c: temp packages and press Enter. Replace [package name] with the appropriate package name.

Update driver

Update driver

If neither of the fixes that the article covered didn’t resolve your issue, then there are some other general troubleshooting steps you can try before heading to a PC repair store.

First try and update the driver. Faulty driver can be the cause for any problems appearing on the system. The problem is more likely to appear on its own if you are using an old driver. In the case of the Inaccessible Boot Device error, the most common culprit is the IDE ATA / SATA controller driver.

There are two ways to check for updates. First, you can check out the manufacturer’s website. Second, open Device Manager, expand the IDE ATA / SATA controller submenu, right-click on Standard SATA AHCI Controller and choose Update Driver.

Check for damaged hard drive

Damaged files on the hard drive may be the cause of the error. Thankfully, if they’re the root of the problem, it’s easy to fix.

First, you need to open a Command Prompt with administrator privileges. To do so, press the Windows key, type cmd , right-click on the result, and select Run as administrator .

In the Command Prompt app, type chkdsk / f / r and press Enter. Wait for the app to process the command you type, then type Y and press Enter. If you can’t start Windows, you can also run this command from the Recovery Console by typing chkdsk / r C.

Edit SATA Mode to AHCI on BIOS

1. First power on your system and press key to access BIOS Setup .

Note : The commonly used keys to access BIOS SETUP are DEL, F1 or F2 , depending on the model you use.

2. Find and change SATA Mode from RAID to AHCI .

3. Save your changes and exit BIOS Setup.

4. Restart your Windows computer in normal mode. If Windows still fails to start, apply the following solutions.

Boot in Safe Mode

Solution With this solution first boot your computer into Safe Mode, then proceed to Restart (reboot).

– On Windows 7 and Windows Vista

1. Turn on your computer, then press the F8 key to open the Advanced Boot Options Menu.

2. Use the down arrow key to select the Safe Mode option, and then press Enter.

3. Now that your Windows computer is in Safe Mode, restart your computer and check if Windows has started.

– On Windows 10 / 8.1 / 8

+ Case 1:

If your computer boots normally into Windows or can access the Login screen

1. Press and hold the Shift key then access Power => Restart .

2. After your computer boots, select Troubleshoot => Advanced Options => Startup Settings .

3. Click Restart .

4. After the computer has finished booting, press F4 key (or key 4) to start Windows in Safe Mode .

5. Now that your Windows computer is in Safe Mode, restart your computer and check if Windows has started.

+ Case 2:

If Windows cannot boot (can’t access Login screen):

1. First, create a USB installation media drive (according to the version of Windows that you use).

Readers can refer to how to create a USB drive containing the Windows XP, 7, 8 and 10 installer here.

2. Start your computer from the Windows installation media USB drive.

3. On the Language options window, select Next .

4. Select Repair your computer .

5. Next, choose Troubleshoot => Advanced Options => Command Prompt .

6. Now on the Command Prompt window, enter the following command and press Enter:

bcdedit / set {default} bootmenupolicy legacy

7. Enter exit into the Command Prompt to close the Command Prompt window and restart your computer.

8. During the boot process, press the F8 key to access the Advanced Boot Options menu.

9. Use the down arrow key to select the Safe Mode option and then press Enter.

10. Now your Windows computer is in Safe Mode, restart your computer and check if Windows has started.

Edit the SATA Mode settings on the Registry

1. Create a Windows installation media USB drive (according to the version of Windows that you use).

2. Start your computer from the Windows installation media USB drive.

3. On the Language options window, click Next .

4. Select Repair your computer .

5. Open Command Prompt by following the steps below:

– On Windows 7 or Vista:

1. Click Next on the next window.

2. Select Command Prompt .

– On Windows 10 / 8.1 / 8:

Select Troubleshoot => Advanced Options => Command Prompt .

6. On the Command Prompt window, type regedit and press Enter to open the Registry Editor.

7. On the window Registry Editor, find the key named HKEY_LOCAL_MACHINE.

8. From the File Menu, choose Load Hive .

9. On the Load Hive window, find and open the file system as follows:

% System_Drive% Windows System32 config

Note :% System_Drive% is the drive on which you install the Windows operating system (such as C; Windows System32 config).

10. Enter a new key in the Key Name field and click OK .

11. Next, navigate to the key (in the left pane):

HKEY_LOCAL_MACHINE <New Key> ControlSet001 services msahci

For example: HKEY_LOCAL_MACHINE Repair ControlSet001 services msahci

12. In the right pane, double-click on value Start , then enter 0 in the Value Data box.

13. Perform the same steps and set the Start value to 0 for the two keys below:

1. HKEY_LOCAL_MACHINE <New Key> ControlSet001 services pciide

2. HKEY_LOCAL_MACHINE <New Key> ControlSet001 services iaStorV

14. After completing the change, select < new key > at HKEY_LOCAL_MACHINE (assuming HKEY_LOCAL_MACHINE Repair).

15. From the File Menu, select Upload Hive.

16. Close the Registry Editor window and restart your computer.

Note :

Make sure that SATA MODE is set to AHCI on BIOS SETUP.

17. Restart your Windows computer in normal mode.

Restore your computer to the previous version

1. Create the Windows installation media USB drive according to the version of Windows that you use.

2. Start your computer from the Windows installation media USB drive.

3. On the Language options window, click Next.

4. Select Repair your computer .

5. Restore your computer to the previous version:

– On Windows 7 or Windows Vista:

1. Select Next .

2. Select System Restore .

3. Follow the on-screen instructions to restore your computer to the previous version.

– On Windows 10 / 8.1 / 8:

1. Select Troubleshoot => Advanced Options => System Restore .

2. Follow the on-screen instructions to restore your computer to the previous version.

Perform a clean install of Windows

The last solution to fix the error is to use the Windows installation media USB drive that you created and perform a clean install of Windows.

Refer to some more articles below:

  • 3 simple ways to reset BIOS setup
  • This is why you should immediately turn off or use the webcam tape
  • How to set up BIOS password and UEFI to protect data on your Windows 10 computer safely

Good luck!

1