This error usually appears when you already have a problem with your computer and are performing some of the basic recovery steps that you found suggested in your specific scenario.. However, when you want to correct some of the boot configurations handled by the Boot Manager using the command “bootrec / fixboot” at the command prompt, you will get the message “Access denied”.
Bootrec message / fixboot “Access denied”
There are quite a few things that can cause this problem and you will have to adapt to the situation and try the most appropriate methods for your situation.. If you have startup problems, this command may be the most useful and difficult to replace.
Solution 1: name the hidden boot partition on your disk
First, you need to find out if your pc or laptop has this bootable partition reserved on its main storage drive (HDD o SSD) before trying to continue with the solution. A simple Google search can help.
Yes there is one, can't repair it because it has no name. Even so, you can assign one to it using diskpart and repair it easily by following the steps below. We will assume that you have boot problems and cannot access your operating system.
However, with Windows 10 you can create your own recovery media and use it to repair your computer in no time.
-
Download the Media Creation Tool software from the Microsoft website. Open the downloaded file and accept the terms and conditions.
-
Select the Create installation media option (usb flash drive, DVD or ISO file) for another PC on the initial screen.
Create Windows Installation Media
-
Language, the architecture and other settings of the boot drive will be chosen based on your computer configuration, but you need to uncheck Use recommended options for this PC to select the correct settings for the PC that has the password attached (if you are creating this on a different pc, and i probably am).
-
Click Next and click the USB or DVD drive option when prompted to choose between USB or DVD, depending on the device you want to store this image on.
Select the type of media to use
-
Click Next and choose the USB or DVD drive from the list that will show the storage media connected to your computer.
-
Click Next and the Media Creation Tool will proceed to download the files required to install and create the installation media.
Now that you probably have your recovery media, we can start to solve the boot problem by opening the command prompt from the recovery drive from which it should boot.
-
Insert the installation drive you have or just created and start your computer. The following steps are different from one operating system to another, so follow them accordingly:
-
WINDOWS XP, VISTA, 7: Windows setup should open asking you to enter your preferred language and date and time settings. Enter them correctly and choose the Repair your computer option at the bottom of the window. Keep the initial option button selected when you are prompted to use the recovery tools or restore your computer and click the Next option. Select the command prompt when prompted with the selection of Choose a recovery tool.
-
WINDOWS 8, 8.1, 10: You will see a window to choose the keyboard layout, so choose the one you want to use. The Choose an option screen will appear to navigate to Troubleshooting >> Advanced Options >> Symbol of the system
Open command prompt in advanced options
-
-
Now that you have opened the command prompt, try running the following set of three commands on it and make sure to hit Enter after each one:
diskpart disco cell 0 list vol
Run the Diskpart command
-
Verify that the EFI partition (EPS – EFI system partition) you're using the FAT32 file system and give it a drive letter. This can be done with the following set of commands. Note that it should be replaced with the number you see next to the EFI partition and that is whatever letter you want to assign to it as long as another volume is not using it.
set vol assign letter = : exit
-
Now that you have assigned a letter to the boot drive, type the first command below to navigate to the home folder. This time, it should be replaced with the same one you used previously for the EFI partition.
cd / d :NEFIN-MicrosoftN-Boot
-
This command is used to repair the EFI partition that is used to start the computer and you should not receive the Access Denied message when you run it:
bootrec / FixBoot
-
The last step is to rebuild the BCD using two commands. The first one will backup the old BCD and the second one will recreate it. This time, the placeholder should be replaced by the disk you use to map the EFI partition:
ren BCD BCD.old bcdboot c:NWindows / l en-us / s : All
-
Check if the problem still appears on your PC.
Note: If you still get Access Denied in step 5 when you run the command, try running this command instead:
bootrec / rebuildbcd

Thereafter, just type exit and skip the step 6 completely.
Solution 2: Run automatic repair after naming the volume
This solution is used as an addition to the Solution 1. If you have followed the steps above to name the volume by assigning it a letter, but you still have problems with access denied when running bootrec commands, now you can use the automatic repair utility to fix the problem automatically.
-
Insert the installation drive you have or just created and start your computer. You have probably created and prepared it in Solution 1. The following steps are different from one operating system to another, so follow them accordingly:
-
WINDOWS XP, VISTA, 7: Windows setup should open asking you to enter your preferred language and date and time settings. Enter them correctly and choose the Repair your computer option at the bottom of the window. Keep the initial option button selected when you are prompted to use the recovery tools or restore your computer and click the Next option. Choose Startup Repair (The first option) when prompted with the Choose a recovery tool selection.
-
WINDOWS 8, 8.1, 10: You will see a window to choose the keyboard layout, so choose the one you want to use. The Choose an option screen will appear to navigate to Troubleshooting >> Advanced Options >> Auto repair / Startup repair
Use startup repair in advanced options
-
-
Now that you have accessed the autostart repair, the steps will again be different from one operating system to another. In Windows 10, you will see a window that says Preparing Automatic Repair followed by a prompt to choose your account and enter a password.
-
Thereafter, a new upload window will appear, so make sure to be patient and follow the instructions on the screen. Check if automatic repair has solved your problem.
Solution 3: Target volumes with BOOTMGR compliant code
This handy command that is run from an administrative command prompt will change the Boot Manager settings to target boot volumes and can avoid having to name any volumes in this step. Good luck!
-
Navigate to the command prompt following the same instructions in Solution 1 of this article and follow them according to your operating system.
-
Run the following command and make sure to hit Enter after typing it. Wait for the message of operation completed successfully or anything confirming that the process was successful.
bootsect/nt60 sys

-
Thereafter, try using the problematic command “fixboot” and check if you still get the error “Access denied”.
Solution 4: disable fast boot in BIOS
This option causes more problems than benefits. The Quick Boot option, Quick POST o Quick Boot (found in BIOS setup) allows you to speed up the startup process a bit. Certain tests are performed each time the computer is started. All these system tests are not required every time it starts up and can be disabled to save time and that's what the Quick Start does..
-
Turn on your PC again and try to enter BIOS setup by pressing BIOS key when system is about to boot. BIOS key usually appears on boot screen, saying “Press ___ to enter setup” the something similar. There are also other keys. Common BIOS keys are F1, F2, Of, etc.
Enter BIOS setup
-
The settings to be disabled are usually found on the Boot tab, which can be called differently depending on the manufacturer. Another alternative is to locate it in the general screen or in the Advanced features tab of the BIOS. The setting is called Quick Start, Quick Start Self Test or Quick Start. Once you find the correct settings, set it to Off or Off.
Disable fast boot
-
What's more, Secure Boot must be disabled for this to work. Use the right arrow key to choose the Security menu when the BIOS setup window opens, use the down arrow key to select the Safe Boot Settings option and press Enter.
-
Before you can use this menu, a warning will appear. Press F10 to continue to the secure boot settings menu. The Secure Boot Settings menu should open, so use the down arrow key to select Safe Boot and use the right arrow key to change the setting to Disable.
Secure boot disabled
-
Another option that users had to do is to change the boot mode from UEFI to Legacy. The Boot Mode option that you will have to change is in different tabs of BIOS firmware tools made by different manufacturers and there is no single way to find it. As usual, is in the home tab, but there are many names for the same option.
-
When you locate the Boot Mode option in any area of the BIOS setup screen, navigate to it and change its value to Legacy.
Set UEFT boot mode / BIOS on Legacy
-
Navigate to the Exit section and choose Exit Saving Changes. This will proceed with starting the computer. Make sure to try starting your computer again.
Create Windows Installation Media
Select the type of media to use
Open command prompt in advanced options
Run the Diskpart command
Use startup repair in advanced options
Enter BIOS setup
Disable fast boot
Secure boot disabled
Set UEFT boot mode / BIOS on Legacy



