
While fixing the Boot Configuration Data (BCD) file on your computer you may encounter "Access is denied“Message in the command prompt window. If you see this message, you won't be able to fix the startup problem unless you take care of the problem first. To do this, follow these simple steps on your computer:
Fix- 1 Re-create the EFI tree and reconfigure the boot files-
Rebuilding the EFI structure will help you solve this problem.
1. Press Windows + I icon open window settings.
2. Now, click on “Update and security".
3. Now, in the left pane, click on “Recovery".
4. Therefore, in "Advanced startup"Section, click"Restart now".
5. In the Choose an option window, click "Troubleshoot".
6. In the Troubleshooting window, click "Advanced options".
7. In the Advanced Options window, click "Command Prompt".
8. In the Command Prompt window, copy paste these two commands one by one and press enter to execute both commands in sequence on your computer.
diskpart list disk
9 Once again copy paste e change these commands in Command Prompt window one by one and press enter after each of them.
select disk list vol
[NOTES– Replace the “” with the number of HDD drive on which the Windows is installed.
For this computer, it is “Disk 0“. So the command will be like this-
select disk 0]
10. Again copy paste this command in Command Prompt and then press enter to select the Volume Reserved System file.
select vol
[[NOTE: - Replace the ""Which is declared as"Reserved system“In the list of volumes. If you don't see 'Reserved System' in the volume list, it is the drive where Windows is installed.
Example: for us it is "C:“Disk where Windows is installed, so it is” Volume 2 ′. So the command will be -
select vol 2
11. Now you need to assign a new drive letter to the partition. Copy paste this command in Command Prompt window and press enter to do so.
assign letter=V:
When finished, you will see this message - 'diskpart has successfully assigned the drive letter'.
12. To exit diskpart, type this command and press enter.
exit
13. Now, everything remains to be done copy paste this commands sequentially in Command Prompt and hit enter after each of these commands to execute them sequentially.
md efimicrosoftboot cd / d V: efimicrosoftboot
A new startup directory will be created.
14. Now, what remains to be done is to correct the boot process of the computer.
Simply, copy these commands in Command Prompt format one by one and hit enter after each of them.
bootrec /fixboot bcdboot c:windows /l en-us /s V: /f all
Near Command Prompt window.
15. Back in the Troubleshooting window, click on “Continue“To start Windows 10 normally.
Your problem will be solved.