Bootrec /FixBoot Access Denied: How to Fix It
Bootrec /fixboot access denied is the error you get when you try to repair the Windows boot sector from Recovery Environment and Windows refuses the command. Bootrec is a recovery tool that rebuilds boot information, and /fixboot writes a new boot sector to the system partition. When access is denied, the command cannot write to the EFI system partition, usually because of permissions, a locked partition, or a damaged boot structure.
This guide explains why the error happens and the fixes that actually work, in order. Read the safety notes first: these commands touch the boot files your PC needs to start, so type them carefully and back up your data if you still can.
Before You Start: Get Into Recovery Correctly
You need Windows Recovery Environment, not normal Windows, for bootrec. If your PC still boots, go to Settings, System, Recovery, Advanced startup, Restart now, then Troubleshoot, Advanced options, Command Prompt. If it does not boot, start from Windows installation media, choose your language, click Repair your computer, then Troubleshoot, Advanced options, Command Prompt. In recovery, drive letters may differ from normal Windows, so check which letter holds Windows before you run commands.
Fix 1: Use Diskpart to Assign a Letter and Retry
- In the recovery Command Prompt, type diskpart and press Enter.
- Type list disk, then select disk 0, replacing 0 with the disk that holds Windows if needed.
- Type list vol and look for the EFI system partition, usually FAT32 and around 100 to 500 MB.
- Type select volume X, using that volume number, then assign letter=Z:.
- Type exit to leave diskpart.
- Type bootrec /fixboot and press Enter.
This is the most common fix. Without a drive letter, bootrec cannot target the EFI partition, and Windows reports access denied. If it works, continue with the other boot repairs below, then restart.
Fix 2: Run the Full Boot Repair Sequence
- In the recovery Command Prompt, run bootrec /fixmbr.
- Run bootrec /fixboot. If it still says access denied, return to Fix 1 and check the volume letter.
- Run bootrec /scanos to find Windows installations.
- Run bootrec /rebuildbcd and answer Yes when asked to add the installation to the boot list.
- Restart your PC and remove installation media.
Do not run these commands on the wrong disk. If you have more than one drive, confirm the disk and volume numbers in diskpart first. A boot repair on the wrong drive will not fix your PC and can confuse the boot order.
Fix 3: Use Bootsect and BCDBoot
If bootrec still fails, bcdboot can rebuild the boot files from your Windows installation. In recovery Command Prompt, type bcdboot C:\Windows, replacing C: with the letter recovery assigned to your Windows drive, then press Enter. You should see “Boot files successfully created.” If bcdboot also fails, the EFI partition itself may be damaged or formatted with the wrong file system, and recreating it is an advanced repair best done with a full backup in hand.
Also check that Secure Boot and boot mode match your installation. A PC set to Legacy BIOS mode cannot boot a UEFI Windows installation correctly, and vice versa. Do not change boot mode casually: note the current setting first, because flipping it can make a working system unbootable.
Fix 4: Check the Disk and the EFI Partition
- In recovery Command Prompt, run chkdsk C: /f, using the correct Windows drive letter, to check for disk errors.
- In diskpart, list volumes again and confirm the EFI partition is FAT32 and healthy.
- If the EFI partition is missing, you will need to recreate it or restore from a system image. Do not format a data partition by mistake.
- If the disk shows errors, back up what you can before further repairs.
Disk faults can cause a chain of boot and file errors. Our guide to fixing a cyclic redundancy check error explains the disk side of that chain, and our wider PC troubleshooting guide covers the steps to take when several Windows features fail together. If Windows starts but then shows a sign-in fault, see our guide to fixing the PIN isn’t available error, which is a different post-boot problem.
Safety Notes
Boot repairs can make a PC unbootable if run on the wrong drive or partition, so double-check every diskpart selection before you press Enter. Keep installation media ready, and do not interrupt a repair once it starts. If you are unsure which volume is the EFI partition, stop and get help rather than guessing, because formatting the wrong volume deletes data permanently.
If Windows still will not start after boot repair, do not keep repeating the same commands. Check the boot order in your firmware settings, try a different USB port for installation media, and test whether the drive is detected at all. A drive that disappears from firmware is a hardware problem, not a boot file problem, and no bootrec command will bring it back. In that case, reseat the drive connections if you are comfortable doing so, or take the PC to a repair shop with your backup.
Frequently Asked Questions
What causes bootrec /fixboot access denied?
Usually the EFI system partition has no drive letter, is locked, or is damaged, so bootrec cannot write the new boot sector. It can also happen in the wrong recovery environment or with a mismatched boot mode.
How do I fix bootrec /fixboot access denied?
Use diskpart to assign a letter to the EFI system partition, then run bootrec /fixboot again. Follow with bootrec /rebuildbcd, or use bcdboot C:\Windows if bootrec still fails.
Will bootrec delete my files?
No, bootrec repairs boot information, not personal files. Your documents remain, but always back up first when you can, because a wrong diskpart command can affect partitions.
Can I run bootrec in normal Windows?
No. Bootrec is a recovery tool and should be run from Windows Recovery Environment or installation media, where the boot partition is not in use by the running system.
What if bcdboot also fails?
Check the Windows drive letter in recovery, confirm the EFI partition is FAT32 and healthy, and check the disk for errors. If the EFI partition is missing or the disk is failing, recreate it or restore from a backup, or seek professional help.
[…] entering them incorrectly can make things worse, so read the instructions carefully. Our guide to fixing the Bootrec FixBoot access denied error explains the common commands and what to do when they fail, including how to use bootrec fixmbr, […]