Windows中的bootrec /fixboot访问被拒绝错误是一个令人沮丧的错误,当您尝试解决启动配置数据的问题时,会发生该错误。如果您处于这个阶段,那么您的电脑可能已经拒绝启动——这是您需要解决的问题。
要修复 bootrec /fixboot访问被拒绝错误,请按照以下步骤操作。

是什么原因导致Bootrec /Fixboot Access Is Denied Error?
bootrec /fixboot访问被拒绝错误有几个不同的原因。
在大多数情况下,原因很简单——您可能使用了错误的命令。在Windows 10和Windows 11上,使用的典型引导加载程序是EFI(或可扩展固件接口(Extensible Firmware Interface))引导加载程序。这不支持使用 bootrec /fixboot 来修复启动问题。
但是,如果您使用的是旧版主引导记录(older, legacy Master Boot Record),则确实如此。不幸的是,有关此的数据在网上经常令人困惑,因此在继续尝试修复启动数据之前弄清楚这一点很重要,这可能(并且可能会)阻止您的电脑工作。
但是,如果您正在寻找此问题,则可能您的启动配置数据(或BCD)已经损坏或损坏。如果您的BCD数据受到损害,可能会直接影响启动过程并生成错误。
值得注意的是,硬件问题也可能导致问题,尤其是硬盘驱动器故障。例如,如果包含 Windows 安装的驱动器出现故障,这可能会导致数据损坏并阻止您的电脑启动。在继续之前,
您需要检查硬盘的运行状况。(check your hard drive health)
在 Windows 上使用启动修复
如果您在Windows(Windows)中搜索有关 bootrec /fixboot“访问被拒绝”错误的信息,我们会假设您在启动电脑时遇到问题。
如果是这种情况,您可以使用内置的启动修复(Startup Repair)工具(也称为自动修复(Automatic Repair)工具)来解决它。此工具可以修复阻止 Windows 正确加载的问题。
- 首先,重新启动计算机并按相应的键输入BIOS 或 UEFI 设置(enter your BIOS or UEFI settings)(通常为 F2、F12或删除(Delete)键)。
- 在BIOS或UEFI设置中,配置启动设置,以便首先启动包含 Windows 安装文件的
USB或DVD驱动器。(DVD)
- 保存更改,插入Windows 安装介质(USB 或 DVD)(Windows installation media (USB or DVD)),然后重新启动电脑。
- 接下来,出现提示时按任意键从安装介质启动。

- 选择您的语言、时间和货币格式以及输入法,然后单击“下一步”(Next)继续。

- 按(Press Repair)屏幕左下角的“修复计算机”。

- 从选择(Choose)选项菜单中选择疑难解答(Troubleshoot)。

- 接下来,按Advanced Options > Automatic Repair或“启动修复”(Startup Repair)(取决于您的Windows版本)。

- 按照屏幕上的说明进行操作,完成启动修复(Startup Repair)过程。
完成后,重新启动计算机并检查其是否正常启动。如果问题仍然存在,您需要尝试其他方法。
使用磁盘分区
Diskpart是(Diskpart)Windows中的一个命令行实用程序,可帮助您管理磁盘、分区和卷。最好使用 diskpart 检查所有驱动器和卷是否可访问(包括启动驱动器),因为这可能会阻止您的电脑启动。
您还可以使用 diskpart 删除现有的EFI分区并将其格式化 - 这应该允许您运行必要的命令来恢复启动配置文件。但是,格式化此分区将阻止您的电脑启动(如果尚未启动),因此我们建议您在继续操作之前务必小心。
确保您已备份数据(backed up your data),因为如果不小心使用,使用 diskpart 可能会导致数据丢失。您还需要带有Windows安装介质的(Windows)USB驱动器或DVD才能继续。
- 首先,启动Windows安装介质并按安装菜单中的修复(Repair)计算机。

- 接下来,按Troubleshoot > Advanced选项”> “命令提示符”(Command Prompt)以打开命令提示符(Command Prompt)窗口。

- 在 cmd 窗口中,输入 diskpart 并按Enter。
- 输入(Enter)list disk 以显示连接到计算机的所有可用磁盘的列表。
- 确定安装Windows(Windows)的磁盘,然后输入 select disk #,将 # 替换为适当的磁盘号。

- 现在键入 list volume 并按Enter键以显示所选磁盘上所有卷的列表。
- 识别EFI(EFI)(可扩展固件接口(Extensible Firmware Interface))分区的卷号,该分区通常格式化为FAT32,并且可能具有EFI标签。
- 输入select volume #,将 # 替换为(Enter)EFI分区的卷号。需要明确的是,这假设您正在使用适用于Windows 的(Windows)较新EFI引导加载程序(最有可能用于Windows 10和Windows 11安装)。

- 如果EFI分区未分配驱动器盘符,请通过键入 allocate letter=V 来分配驱动器盘符:将 V 替换为所需的驱动器盘符。

- 要将EFI(EFI)分区格式化为FAT32,请输入 format V: /FS: FAT32并按Enter键,将 V 替换为实际分配的字母。

- 格式化EFI分区后,输入 exit 并按Enter退出 diskpart 。
(Rebuild BCD Using Bootrec)使用 Bootrec和Bcdboot重建 BCD
如果您已格式化EFI分区,则应该能够运行 bootrec 命令并将引导配置数据 ( BCD ) 恢复到其中。但是,在开始之前需要注意三件事。
这些步骤假设您使用的是EFI引导加载程序而不是主引导记录(Master Boot Record)( MBR ),如果您需要恢复它,则需要执行不同的步骤。(different steps to follow)这是Windows 10(Windows 10)和 11 电脑的默认配置。
您还需要知道主系统分区(包含Windows安装)和EFI分区的正确驱动器号。您可以按照上述步骤使用 diskpart 命令来帮助您确定这一点。
最后,这些说明仅适用于运行Windows 11(所有版本)和 Windows 10 版本 1709 及更高版本的用户。
- 首先,插入Windows安装介质(无论是DVD还是USB驱动器)并重新启动计算机。
- 当您的电脑启动时,按相应的键访问启动菜单(例如 F2、F12或删除(Delete))。进入启动菜单后,选择安装介质(USB驱动器或DVD驱动器)作为启动选项。
- 当出现Windows安装屏幕时,选择您的语言设置并单击“下一步”(Next),然后按左下角的“修复您的计算机”。(Repair)这将引导您进入Windows 恢复(Windows Recovery)菜单。

- 接下来,选择Troubleshoot > Command Prompt。

- 命令提示符(Command Prompt)窗口打开后,您就可以输入一系列命令来重建BCD - 首先(BCD—start)输入 bootrec /scanos 并按Enter。此命令扫描所有磁盘以查找与Windows兼容的安装并显示结果。

- 接下来,通过键入 bcdboot c:windows /s V: /f UEFI并按Enter 键,将(Enter)BCD数据从Windows系统分区复制到EFI分区,其中 V: 是(EFI)EFI分区的正确驱动器号(如上所述)。

- 接下来,输入 bootrec /rebuildbcd并按Enter。此命令通过扫描已安装的操作系统来重建BCD数据。(BCD)将数据移至EFI分区后,您的电脑将能够再次启动。

- 输入所有命令后,关闭命令提示符(Command Prompt)窗口并重新启动计算机。
重新安装Windows
如果所有其他方法都失败,并且您确定驱动器工作正常,则需要考虑更彻底的选择 - 完全重新安装Windows。这意味着使用Windows安装介质在现有分区数据上重新安装Windows。
如果您决定重新安装Windows,您将看到应用于您的驱动器的全新配置(包括引导加载程序)。这应该可以解决所有启动问题,包括 bootrec /fixboot访问被拒绝错误(您之后不需要运行该错误)。
在开始之前,请记住创建重要文件和数据的备份,因为修复或重新安装 Windows 可能会导致数据丢失。
要重新安装 Windows:
- 将(Insert)Windows安装介质(DVD或(DVD)USB闪存(USB)驱动器)插入计算机并重新启动计算机,确保按相应的键从安装介质启动。如果没有,请务必检查您的UEFI或BIOS设置,以确保您的安装介质首先启动。
- 出现安装屏幕时,确认您的语言、时间和键盘设置,然后按下一步(Next)。

- 稍等片刻,然后在下一个屏幕上按“立即安装” 。(Install)

- 提供您的产品密钥,选择您的Windows版本,然后接受用户协议。
- 出现提示时,选择“自定义”(Custom)选项作为您的首选安装类型。

- 选择要安装Windows 的(Windows)分区,然后按“下一步”(Next)。如果您已经安装了Windows,请确保选择此分区。如果失败,您可能需要按“删除”(Delete)删除分区,然后按“新建”(New)重新创建分区,但您将丢失该分区上已有的所有文件。

- 按照(Follow)屏幕上的任何其他说明开始并完成安装。
安装完成后,Windows应正常启动,解决您之前遇到的任何启动问题。
维护 Windows 11
对于大多数拥有最新Windows PC 的用户,您需要绕过 bootrec /fixboot访问被拒绝错误,并考虑更好的选项来修复引导加载程序。但是,如果您使用的是较旧的MBR,或者您仍然无法恢复电脑,则需要考虑完全
重新安装Windows 。
遇到(Run)其他问题?您不需要全新安装 - 您始终可以尝试使用一堆内置工具和疑难解答程序
修复 Windows 11 。(repairing Windows 11)
4 Ways to Fix Bootrec /Fixboot “Access Is Denied” Error
The bootrec /fixboot аccess is denied error іn Windows is a frustrating error that occurs when you’re trying tо resolve problems with yoυr boot configuration data. If you’rе at thiѕ stage, then your PC is probably already refusing to boot—that’s а problem that you’ll need to resolve.
To fix the bootrec /fixboot access is denied error, follow the steps below.

What Causes the Bootrec /Fixboot Access Is Denied Error?
The bootrec /fixboot access is denied error has a few different causes.
In most cases, there’s a simple reason for it—you’re probably using the wrong command. On Windows 10 and Windows 11, the typical boot loader in use is an EFI (or Extensible Firmware Interface) boot loader. This doesn’t support the use of bootrec /fixboot to fix boot problems.
If you’re using an older, legacy Master Boot Record, however, it does. Unfortunately, data about this is often confusing online, so it’s important to figure this out before you proceed with trying to repair your boot data, which can (and likely will) stop your PC from working.
If you’re searching for this problem, however, then it’s possible that you already have damaged or corrupted boot configuration data (or BCD). If your BCD data gets compromised, it can directly affect the boot process and generate an error.
It’s important to note that hardware issues can also cause problems—in particular, a failing hard drive. If the drive containing your Windows installation is failing, for example, this can cause data corruption and prevent your PC from booting up. You’ll need to check your hard drive health before you proceed.
Use Startup Repair on Windows
If you’re searching for information on the bootrec /fixboot “access is denied” error in Windows, we’ll assume that you’re having trouble booting up your PC.
If that’s the case, you can use the built-in Startup Repair tool (also known as the Automatic Repair tool) to resolve it. This tool can fix problems that prevent Windows from loading properly.
- To get started, restart your computer and press the appropriate key to enter your BIOS or UEFI settings (typically F2, F12, or the Delete key).
- In the BIOS or UEFI settings, configure your boot settings so that your USB or DVD drive containing your Windows installation files boots first.
- Save the changes, insert the Windows installation media (USB or DVD), and then restart your PC.
- Next, press any key to boot from the installation media when prompted.

- Choose your language, time and currency format, and input method, then click Next to proceed.

- Press Repair your computer in the bottom-left corner of the screen.

- Select Troubleshoot from the Choose an option menu.

- Next, press Advanced Options > Automatic Repair or Startup Repair (depending on your version of Windows).

- Follow the on-screen instructions and let the Startup Repair process complete.
Once completed, restart your computer and check if it boots up correctly. If the issue persists, you’ll need to try a different method.
Use Diskpart
Diskpart is a command-line utility in Windows that helps you manage disks, partitions, and volumes. It’s a good idea to use diskpart to check that all of your drives and volumes are accessible (including your boot drives) as this may prevent your PC from booting.
You can also use diskpart to delete the existing EFI partition and format it—this should allow you to run the necessary commands to restore your boot configuration files afterward. However, formatting this partition will prevent your PC from booting (if it isn’t already), so we’d advise caution before you proceed.
Make sure that you have backed up your data as working with diskpart can potentially lead to data loss if it isn’t used carefully. You’ll also need a USB drive or DVD with the Windows installation media to proceed.
- To begin, boot into your Windows installation media and press Repair your computer in the installation menu.

- Next, press Troubleshoot > Advanced options > Command Prompt to open a Command Prompt window.

- In the cmd window, type diskpart and press Enter.
- Enter list disk to display a list of all available disks connected to your computer.
- Determine the disk where Windows is installed, and enter select disk #, replacing # with the appropriate disk number.

- Now type list volume and press Enter to display a list of all volumes on the selected disk.
- Identify the volume number of the EFI (Extensible Firmware Interface) partition, which is typically formatted as FAT32 and may have an EFI label.
- Enter select volume #, replacing # with the volume number of the EFI partition. To be clear, this assumes that you’re using a newer EFI bootloader for Windows (which is most likely for Windows 10 and Windows 11 installations).

- If the EFI partition does not have a drive letter assigned, assign one by typing assign letter=V: replacing V with your desired drive letter.

- To format the EFI partition as FAT32, type format V: /FS:FAT32 and press Enter, replacing V with the actual assigned letter.

- After the EFI partition is formatted, exit diskpart by typing exit and pressing Enter.
Rebuild BCD Using Bootrec and Bcdboot
If you’ve formatted your EFI partition, you should be able to run the bootrec command and restore your boot configuration data (BCD) to it. However, there are three things to note before you begin.
These steps assume that you’re using an EFI bootloader rather than the Master Boot Record (MBR), which has different steps to follow if you need to restore it. This is the default configuration for Windows 10 and 11 PCs.
You’ll also need to know the correct drive letters for your main system partition (containing your Windows installation) and your EFI partition. You can follow the steps above using the diskpart command to help you determine this.
Finally, these instructions will only work for users running Windows 11 (all versions) and Windows 10 version 1709 and later.
- First, insert your Windows installation media (whether it’s on a DVD or USB drive) and restart your computer.
- As your PC starts up, press the appropriate key to access the boot menu (such as F2, F12, or Delete). Once you’re in the boot menu, select your installation media (either a USB drive or DVD drive) as the option to boot into.
- When the Windows setup screen appears, choose your language settings and click Next, then press Repair your computer in the bottom-left. This will boot you into the Windows Recovery menu.

- Next, select Troubleshoot > Command Prompt.

- Once the Command Prompt window opens, you’re ready to enter a series of commands to rebuild your BCD—start by typing bootrec /scanos and press Enter. This command scans all disks for installations compatible with Windows and displays the results.

- Next, copy your BCD data from your Windows system partition to your EFI partition by typing bcdboot c:\windows /s V: /f UEFI and pressing Enter, where V: is the correct drive letter for your EFI partition (as explained above).

- Next, type bootrec /rebuildbcd and press Enter. This command rebuilds your BCD data by scanning for installed operating systems. With the data moved to your EFI partition, this will allow your PC to boot again.

- Once you’ve entered all the commands, close the Command Prompt window and restart your computer.
Reinstall Windows
If all else fails, and you’re sure that your drive is working properly, you’ll need to consider a more drastic option—reinstalling Windows entirely. This means reinstalling Windows over your existing partition data using Windows installation media.
If you decide to reinstall Windows, you’ll see a fresh configuration (including boot loader) applied to your drive. This should resolve any boot issues, including the bootrec /fixboot access is denied error (which you shouldn’t need to run afterward).
Before you start, remember to create a backup of your important files and data, as repairing or reinstalling Windows may potentially lead to data loss.
To reinstall Windows:
- Insert the Windows installation media (DVD or USB flash drive) into your computer and restart your computer, making sure to press the appropriate key to boot from the installation media. If it doesn’t, make sure to check your UEFI or BIOS settings to ensure that your installation media boots first.
- When the installation screen appears, confirm your language, time, and keyboard settings, and then press Next.

- Wait a few moments, then press Install Now at the next screen.

- Provide your product key, select your Windows version, and accept the user agreement.
- When prompted, choose the Custom option as your preferred installation type.

- Select the partition to install your Windows installation, then press Next. If you already have a Windows installation, make sure to select this partition. If this fails, you may need to press Delete to remove the partition and then New to re-create it, but you will lose any files already on the partition.

- Follow any additional on-screen instructions to begin and complete the installation.
Once the installation is complete, Windows should boot up normally, resolving any boot issues you had previously.
Maintaining Windows 11
For most users with a recent Windows PC, you’ll need to bypass the bootrec /fixboot access is denied error and consider a better option for repairing your bootloader. However, if you’re using an older MBR, or you still can’t recover your PC, you’ll need to consider reinstalling Windows entirely instead.
Run into other problems? You don’t need a fresh installation—you can always try repairing Windows 11 with a bunch of built-in tools and troubleshooters instead.