How To Fix Bootrec /Fixboot "Access Is Denied" Error In Windows (2024)

Occasionally, your computer runs into a problem and starts behaving abnormally. People then usually perform troubleshooting and try to fix the error using different means. But what to do if you are unable to run those mitigation steps?

One such example is the “Access is denied” error when attempting to run the following cmdlet in Command Prompt:

Bootrec /Fixboot

We have come across several posts where users have experienced this issue. If you are facing a similar issue, then this article is for you. Continue to read further to fix it.

Table of Contents

What is “Bootrec /Fixboot” Used For

The “Bootrec /Fixboot” cmdlet is used to fix Windows OS issues relating to its boot. This cmdlet is used inside the Windows Recovery Environment (WinRE). This cmdlet can be used on Windows 7, 8, 10, and 11.

This command can be used to troubleshoot startup failures, such as the following:

  • The boot sector(s) has been corrupted.
  • Windows fails to boot at all.
  • You see the “No boot device detected” prompt.
  • Your OS is crashing with Blue Screen of Death (BSoD).
  • You see a black/blank screen at startup.

Let us now see how to fix the problem so you can get your OS to start up normally again.

Fix Bootrec /Fixboot “Access Is Denied”

Assign Drive Letter to Hidden Boot Partition

The “Bootrec /Fixboot” cmdlet may not be running because the hidden boot partition may not be detected. To make sure that it is detected, you must assign a drive letter to it using WinRE.

To access WinRE, you will also need a bootable USB drive for the same OS. Therefore, we have divided this section into two parts.

Create Windows Installation Media

Follow the steps below to create a Windows installation media using Windows Media Creation Tool on a functional computer:

  1. Plug in an empty USB flash drive with at least 8 GB of space.

  2. Download the Windows Media Creation tool for your respective OS:

  3. Run the download MCT .EXE file.

    The Media Creation Tool will now run.

  4. Acceptthe license terms.

  5. Select your edition and language, then click Next.

  6. Select “USB Flash drive” and click Next.

  7. Select your USB device and click Next.

  8. When the OS is downloaded, the bootable USB will be created. Close the Media Creation Tool by clicking Finish.

Now that the bootable USB drive is created, let us now proceed to assign a drive letter to the hidden boot partition.

Assign Letter to Boot Partition

  1. Plug the bootable USB into the problematic computer.

  2. Boot from the USB using the One Time Boot Menu.

  3. On the first screen, click Next.

  4. Click “Repair your computer.”

  5. Select “Troubleshoot.”

  6. Select “Advanced Options.”

  7. Select “Command Prompt.”

  8. Type in “Diskpart” and press Enter.

    Enter the Diskpart mode.

  9. Type in “List Disk” and press Enter.

    View all disk details.

  10. Select the disk with the hidden boot partition by typing in “Select Disk 0.” Replace “0” with the correct disk number.

  11. Type in “List Volume” and press Enter.

    View all volume details inside the selected disk.

  12. Select the hidden boot partition by typing in “Select Volume 2.” Replace “2” with the correct volume number.

    The hidden boot volume is in the “FAT32” format. You can use this information to select the correct volume.

  13. Assign a letter to the volume by typing in “Assign Letter= H.” You can replace “H” with any available drive letter.

  14. Type “Exit” and press Enter to exit Diskpart mode.

  15. Type in “H:” and press Enter. Replace “H” with the drive letter you had assigned.

    This will change your directory to the root of the boot partition.

  16. Type in “Format H: /FS:FAT32 /Q” and press Enter. Replace “H” with the dive letter assigned to the boot partition.

    Enter “Y” for yes when asked for confirmation and to dismount the partition.

  17. Now type in “BCDBoot C:\Windows /S H: /f UEFI” and press Enter. Replace “H” with the drive letter assigned to the boot partition.

    This step will create new boot files from scratch, eliminating any issues with the boot files themselves.

You may now try running the “Bootrec /Fixboot” cmdlet again. The “Access is denied” issue should be resolved now.

Run Startup Repair

Startup Repair is another Windows OS automatic repair tool that resolves common Windows issues when your OS cannot boot. Here is how you can run the Startup Repair tool:

  1. Create a bootable Windows USB drive.

  2. Boot from the USB drive.

  3. On the first screen, click Next.

  4. Click“Repair your computer.”

  5. Navigate to the following location inside WinRE:

    Troubleshoot >> Advanced options >> Startup Repair
  6. Select the OS you want to fix.

  7. Let the automatic troubleshooting process complete and then try booting the PC normally again.

Now check to see if you are able to execute the “Bootrec /Fixboot” command successfully. If the problem persists, try the following solutions.

Run the CHKDSK Utility

CHKDSK is a command-line utility that scans your hard drives for damaged system files, and bad sectors and attempts to repair them. If it fails to repair any discovered bad sectors, it informs the operating system not to use them.

Either way, it makes the hard drive usable again, if the error occurred because of bad sectors in the first place.

  1. Run the following cmdlet in an elevated Command Prompt:

    Chkdsk C: /f /r /x
  2. EnterYfor “yes” when asked to schedule the CHKDSK utility the next time the computer reboots.

  3. Restart your PC.

    Once it reboots, the Check Disk utility will run and scan your hard drive. This can take a while, in some cases, hours. Let the scan finish and reboot into Windows.

Once the CHKDSK utility has successfully been executed, check to see if the issue remains. If it does, apply the following fixes.

Repair BCD Files

BCD files are important for the system to run and boot up smoothly. These files may have been damaged causing the “Bootrec /Fixboot” cmdlet to not execute. You can repair these boot files by following the steps below:

  1. Plug the bootable USB into the problematic computer.

  2. Boot from the USB using the One Time Boot Menu.

  3. On the first screen, click Next.

  4. Click “Repair your computer.”

  5. Select “Troubleshoot.”

  6. Select “Advanced Options.”

  7. Select “Command Prompt.”

  8. Run the following cmdlets one after the other:

    bootrec /rebuildbcdbootrec /scanosbootrec /fixmbr
  9. Now type in “Exit” to leave the Command Prompt.

  10. Click “Continue” to restart the computer normally.

After the restart, check if you are now able to execute the cmdlet.

Set Fast Boot to Thorough

Fastboot is a UEFI/BIOS feature that allows your computer to boot up quickly while bypassing certain unnecessary booting procedures. This can occasionally cause an improper system boot resulting in an error. Therefore, we suggest that you disable Fastboot, which means changing its settings from “Minimal” to “Thorough.”

Follow these steps to change Fast Boot settings:

  1. Restart the computer and enter its BIOS.

  2. Expand the “Power-on self-test (POST)” settings and click the Fastboot menu.

  3. Select “Thorough” and then exit the BIOS while saving the changes.

  4. Restart the computer normally.

When the computer boots, check if your issue has been resolved.

Conclusion

It can be frustrating when you need to troubleshoot the troubleshooter. These are the reasons why the Windows OS is considered a relatively less secure and reliable OS than others, like Linux.

Even so, the Windows operating system is used all around the world in both client machines as well as servers. It even comes with built-in troubleshooters. However, Microsoft can only fix so much.

That said, there are usually methods to troubleshoot most problems with the Windows OS, and fix the issue without having to perform a clean install.

How To Fix Bootrec /Fixboot "Access Is Denied" Error In Windows (2024)
Top Articles
Latest Posts
Article information

Author: Catherine Tremblay

Last Updated:

Views: 5890

Rating: 4.7 / 5 (67 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Catherine Tremblay

Birthday: 1999-09-23

Address: Suite 461 73643 Sherril Loaf, Dickinsonland, AZ 47941-2379

Phone: +2678139151039

Job: International Administration Supervisor

Hobby: Dowsing, Snowboarding, Rowing, Beekeeping, Calligraphy, Shooting, Air sports

Introduction: My name is Catherine Tremblay, I am a precious, perfect, tasty, enthusiastic, inexpensive, vast, kind person who loves writing and wants to share my knowledge and understanding with you.