One such example is the “Access is denied” error when attempting to run the following cmdlet in Command Prompt: 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.

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: Now that the bootable USB drive is created, let us now proceed to assign a drive letter to the hidden boot partition.

Windows 11 MCTWindows 10 MCT

The Media Creation Tool will now run.

Assign Letter to Boot Partition

You may now try running the “Bootrec /Fixboot” cmdlet again. The “Access is denied” issue should be resolved now. Enter the Diskpart mode. View all disk details. View all volume details inside the selected disk. The hidden boot volume is in the “FAT32” format. You can use this information to select the correct volume. This will change your directory to the root of the boot partition. Enter “Y” for yes when asked for confirmation and to dismount the partition. This step will create new boot files from scratch, eliminating any issues with the boot files themselves.

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: 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. Once the CHKDSK utility has successfully been executed, check to see if the issue remains. If it does, apply the following fixes. 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.

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: 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: 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. Also see:

How To Fix Windows Error 0xC000021A (Blue Screen of Death Stop Code)How to Fix “Reboot and Select a Proper Boot Device” ErrorHow to Fix “System Thread Exception Not Handled” BSoD on Windows 10How to Fix Bad System Config Info BSoD in Windows 10How To Fix Hard Drive Not Showing Up in Windows PC [Internal or External Hard Drive]