To solve this problem, unfortunately it is important that you have access to Windows, that is, the PC starts. If there is no way for you to start the computer without problems, you will need to restart it Windows recovery mode (press the reset button while Windows tries to start three times in a row and the program will run in this mode) or install USB flash drive or DVD installation program, so that you can do the things we will explain below.
What is the error of this "Inaccessible boot device" error and how to fix it
We all know that Windows 10 likes to update automatically without having to disable it manually. Usually this happens at least at the right times, but sometimes the operating system is renewed almost without us noticing … and when problems arise. The refresh may be installed while using the PC, at night you turn it off and if you open it in the morning you will find a surprise: a BSOD for "Inaccessible Boot Device"
In summary, this error means that Windows lost access to program partition during the implementation process. This is a mistake that after the Windows update in 2017 became "popular", but that it still remains visible to many users by default.
The causes of the error may vary, including BIOS updates for the motherboard, processors with Overuls (though they seem to have nothing to do with boot partition, Windows items …), and some users say the same problem is always on PCs with SSDs as a programming device. In any case, let's look at what solutions we can have.
Remove newly installed packages
Since Windows updates can seriously cause this problem, the first thing you should try is to delete the latest installed updates. If you have started in Windows Restore mode, it is one of the options that will give you, but if you can get the program started, you should go to Settings -> Update and Security -> Restart in the Advanced section of the startup, click on "Restart now".
The computer will restart and start in command line mode. Enter the following commands:
dir c: (assuming you have operating system installed on drive C)
Dism / Image: c: / Find packages
After you enter this command, you will see all the packages included in the program. Use the date field to identify the most recent entry. To delete such packages, enter the following command:
Dism.exe / image: c: / remove-package / (package name) where the package name is the one you pointed to in the previous step.
Remove pending packages
Sometimes Windows leaves some updates hanging in Limbo, always pending and never installed, and this can create the error we're talking about today. To delete these packages you will need to follow the same steps as the previous step to access the command console, and enter the following:
reg load HKLMtemp c: windowssystem32configsoftware
delete "HKLMtempMicrosoftWindowsCongerVersionComponent Server ServerSveryPending" / v Exclusive
reg reset HKLMtemp
You now have to move the packages to another location so that Windows can just try to install them. Enter the following commands:
Dism.exe / image: c: / Get-package – -, identify those with the "Enter pending" status
mkdir c: Temppackages
Dism.exe / image: c: / Remove-package / package: (package name) / screw: c: Temppackages <- instead of the name of each package.
Drivers can also create an inaccessible battery device error
It is never a bad idea to check to update drivers, especially the AHCI controller if you are the one using it.
To do this, right-click the start button and select "Device Manager". See "ATA / ATAPI IDE Drivers" and in the AHCI driver, right-click and select "Update Driver".
Enable AHCI mode in BIOS
Many users have reported that enabling AHCI mode in BIOS quickly corrected this "Unavailable Boot" error, and because it is also the recommended way when you have to have your disk or SSD, it is always a good idea to allow it.
To get this you have to log in to the BIOS, and from here it varies depending on the manufacturer, but will usually be in Advanced Options -> Backup or SATA Configuration. The thing is, you enable AHCI mode for your program disk in the BIOS.
Check the disk status
Finally, it is always a good idea to check if the disk has any corrupted system files. To do this, use the Command Prompt console as Administrator (Right-click Start -> Command Prompt (Administrator) and use the following command:
chkdsk / f / r
A message will appear that you cannot run with the application running, and that if you want it to start next time you restart. Press Y and then log in to verify and restart the PC. You will see that it takes time, as it will perform all possible checks on the disk to analyze and fix any error in it.