Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Windows»How To Fix “Access Is Denied” When Executing Bootrec /Fixboot

How To Fix “Access Is Denied” When Executing Bootrec /Fixboot

AnupBy AnupApril 19, 2022
bootrec fixboot access is denied

The Bootrec /FixBoot Access Is Denied error occurs when you try to repair a UEFI boot loader with this command.

The function of the FixBoot switch is to write a new boot sector to the system partition. But in UEFI systems, the EFI System Partition (ESP) is unmounted by default. As FixBoot can’t access the system partition, it fails and returns the Access Is Denied error.

By assigning a drive letter to the ESP, you can successfully run Bootrec /Fixboot to repair the boot sector. In addition to this, you’ll also find alternative ways to repair the UEFI boot loader and deal with booting issues on UEFI systems in the article below.

Table of Contents

  • What Causes Bootrec /Fixboot Access Is Denied?
  • How to Fix This Issue?
    • Mount ESP with Diskpart and Repair
    • Delete ESP and Use Automatic Repair Tool
    • Uninstall Latest Updates
    • Clean Install OS
  • Related Questions
    • How to Repair Boot Sector on MBR Disks?
    • How to Fix BFSVC Error: Could not open the BCD template store. status – [c000000f] ?

What Causes Bootrec /Fixboot Access Is Denied?

The Bootrec.exe tool is used on Legacy BIOS systems to repair the boot sector. But in the case of modern UEFI systems, the system partition isn’t mounted, which is why FixBoot or any other options like FixMBR don’t work by default. In addition to these, other reasons for this include:
  • Corrupt System Partition
  • Windows Version (1707, 1709, 1803)

How to Fix This Issue?

You can use diskpart to manually assign a mount point to the EFI System Partition. After doing so, you should be able to use FixBoot without any issues. Alternatively, you can instead use BCDBoot to repair the EFI Boot Loader.

One more thing to note is that this error is very common in Windows versions 1707, 1709, and 1803. If your PC is running any of these versions, then we recommend that you use Windows Version 1703’s image to create a bootable media and copy the BCD.

Mount ESP with Diskpart and Repair

You can use diskpart to assign a drive letter to the EFI System Partition, then use FixBoot or BCDBoot to perform the repair. Here are the steps to do so:

  1. In winRE, select Troubleshoot > Advanced options > Command Prompt.
  2. Execute the following commands:
    diskpart
    list disk
  3. Determine the disk Windows is installed on and check if it has an asterisk (*) or not in the Gpt column. If it’s present, you can continue with the steps below. But if there is no asterisk, you should instead check the Repair Boot Sector on MBR Disk section at the end.
    diskpart-list-disk-sel-disk-list-vol
  4. Replace 0 with the Windows disk if different and execute the following commands:
    sel disk 0
    list vol
  5. From the list of volumes, find the UEFI volume. You can recognize it by its usual size (100MB), FAT32 in Fs section, Boot in the Label section, or System in the Info section.
  6. The EFI System Partition is Volume 2 on my PC, so we’ll use that for tutorial purposes. Change it accordingly if yours is different in the steps below. Also, replace R: with a drive letter that’s not in use if necessary.
  7. Execute the following commands:
    sel vol 2
    assign letter=R:

    sel-vol-assign-letter-diskpart
  8. Type exit and press Enter.
  9. Execute the following commands:
    bootrec /FixMBR
    bootrec /FixBoot
    bootrec /ScanOs
    bootrec /RebuildBcd

    bootrec-fixmbr-fixboot-scanos-rebuildbcd
  10. If you’re able to run FixBoot now, you can stop here. But if you’re still encountering the same error, use the commands listed below instead.
  11. Type the following command and replace R: with the EFI partition’s letter if different.
    cd /d R:\EFI\Microsoft\Boot\
  12. If you receive a The system cannot find the path specified error message, run the same command on alternative paths:
    cd /d R:\Boot\
    cd /d R:\ESD\Windows\EFI\Microsoft\Boot\
  13. Type bcdboot C:\Windows /s R: /f UEFI and press Enter.
  14. Rename the Boot Configuration Data (BCD) for backup purposes with the following command:
    ren BCD BCD.bak
  15. Recreate the BCD with the following command:
    Bcdboot C:\Windows /s x: /f ALL
  16. Type exit and press Enter.
  17. Restart your computer and check if you can boot properly now.

Delete ESP and Use Automatic Repair Tool

The Automatic Repair tool is the go-to option to combat any kind of startup issue. But before using it, you should delete the system partition to ensure that a corrupt EFI system partition (ESP) isn’t the issue. Here are the steps to do so:

  1. First, use Windows Version 1703’s ISO to create a bootable disk or USB.
  2. Boot from the media and select Repair your computer.
    repair-your-computer
  3. Select Command Prompt and use diskpart to delete the system partition.
    diskpart-delete-volume
  4. Now, exit cmd and use the Startup Repair tool.
  5. Login to your account when prompted to proceed with the repair.
  6. Wait for the automatic repair tool to do its job. This will typically take 5 – 15 minutes on most systems.
    startup-repair

If the repair tool resolves the issue, great. If not, you’ll see a message along the lines of Startup Repair couldn’t repair your PC. In this case, select Advanced Options and try out the other solutions from our guide.

Uninstall Latest Updates

A common issue that users often report is that Windows won’t boot after an update. In cases like this, uninstalling the latest update is generally enough to resolve the issue. Here are the exact steps to do so:

  1. In winRE, select Troubleshoot > Advanced Options > Uninstall Updates.
    uninstall-updates-winre-advanced-options
  2. Select Uninstall Latest Quality Update and follow the on-screen instructions.
  3. Repeat the same steps to uninstall the feature update as well.
    uninstall-latest-quality-feature-update
  4. Restart your PC and check if you can boot properly.

Clean Install OS

If the issue is still not resolved, a clean reinstall of the OS is likely the final option. Keep in mind that this will remove everything from your PC. So, if you don’t want to lose your files, you may want to hold off on this temporarily. Here are the steps to clean install Windows:

  1. Insert a Windows Installation Disk or USB.
  2. In the setup wizard, select Next > Install Now.
  3. When prompted for the product key, select the Do this later or I don’t have a product key option.
    no-product-key-windows
  4. Select the OS Edition, accept the license terms, and select Custom: Install Windows Only (Advanced).
  5. Select a drive and press Delete. Repeat this until there is only one unallocated drive left.
    drive-0-unallocated-space
  6. Select the unallocated drive and press New > Apply > OK.
  7. Select the newly created Primary Partition and press Next.
    primary-partition-install-windows
  8. Windows will now install and your PC may reboot a few times during the process.

Related Questions

How to Repair Boot Sector on MBR Disks?

The code listed above to repair the EFI bootloader applies only to disks using a GPT partition table. In the case of Legacy BIOS or CSM (Compatibility Support Mode), MBR partitioning flavor is used. So, you should follow the steps listed below instead:

  1. Launch winRE Command Prompt.
  2. Type bootrec /RebuildBCD and press Enter.
  3. If that doesn’t solve the issue, execute the following commands instead:
    X:\boot\bootsect.exe /nt60 all /force
    bootrec /FixMBR
    bootrec /FixBoot
    bootrec /ScanOs
    bootrec /RebuildBcd

How to Fix BFSVC Error: Could not open the BCD template store. status – [c000000f] ?

First, ensure that you entered the correct command:
Bcdboot C:\Windows /s x: /f ALL

Additionally, if you’re using a localized version of Windows, you’ll need to modify the code accordingly. E.g., in the case of US localization, modify the command as such:
Bcdboot C:\Windows /l en-us /s x: /f ALL

If still facing the same error, the BCD template store is likely corrupt. In this case, using the SFC and DISM utilities to repair the template store first, then using the commands from this guide will be helpful.

fix
Anup

Anup has been tinkering with PCs for over 15 years. At Tech News Today, he mainly covers Windows systems, networking, and hardware related issues.

Related Posts

night-light-not-working-windows

Night Light Not Working on Windows? Try These 10 Fixes!

August 6, 2022
wireless capability is turned off

How to Fix “Wireless Capability Is Turned Off” in Windows

August 6, 2022
windows shift s not working

Windows + Shift + S Not Working – Why & How to Fix It?

August 6, 2022
windows-hotspot-not-working

How to Fix Hotspot Not Working on Windows

August 5, 2022
the-system-detected-an-overrun-of-a-stack-based-buffer-in-this-application

Fix: The System Detected an Overrun of a Stack-based Buffer in This Application

August 5, 2022
your-pc-device-needs-to-be-repaired

How to Fix “Your PC Device Needs to Be Repaired”

August 5, 2022
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
how to hide wire of keyboard and mouse

6 Ways to Hide the Keyboard and Mouse Wires

August 6, 2022
psvr horror games

15 Best PSVR Horror Titles of All Times

August 6, 2022
can laptops be upgraded

Can You Upgrade Your Laptops?

August 6, 2022
You may also like
how-to-delete-save-data-on-switch

How to Save and Delete Data on the Switch?

August 6, 2022
excel-concatenate-not-working

Why is My Excel CONCATENATE Not Working? Here’s How to Fix It

August 6, 2022
cable-outlet-not-working

How to Fix Cable Outlet Not Working? 8 Proven Ways to Fix It

August 7, 2022
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

October 25, 2021
Facebook Twitter Pinterest
  • Home
  • About Us
  • Privacy Policy
  • Affiliate Disclosure
© 2022 TechNewsToday.

Type above and press Enter to search. Press Esc to cancel.