{"id":9931,"date":"2026-02-11T15:36:32","date_gmt":"2026-02-11T15:36:32","guid":{"rendered":"https:\/\/howtogeek.blog\/nl\/?p=9931"},"modified":"2026-02-11T15:36:32","modified_gmt":"2026-02-11T15:36:32","slug":"how-to-resolve-the-access-is-denied-error-when-running-bootrec-fixboot","status":"publish","type":"post","link":"https:\/\/howtogeek.blog\/nl\/how-to-resolve-the-access-is-denied-error-when-running-bootrec-fixboot\/","title":{"rendered":"How To Resolve the \u201cAccess Is Denied\u201d Error When Running Bootrec \/Fixboot"},"content":{"rendered":"<p>Getting that &#8220;Bootrec \/FixBoot Access Is Denied&#8221; error is a real pain, especially if you&#8217;re poking around trying to repair your Windows bootloader. The thing is, on UEFI systems, Windows doesn&#8217;t quite handle this command the same way as with older BIOS setups, because the EFI System Partition (ESP) is kind of hidden and unmounted by default. So, when FixBoot tries to write to it, it just hits a wall with an &#8220;Access Denied&#8221; error. Frustrating, right? But there\u2019s a workaround that\u2019s worth trying, especially if you\u2019re stuck and can\u2019t boot into Windows normally. It involves manually mounting that EFI partition using diskpart, then rerunning some commands or using BCDBoot to rebuild the boot files. It\u2019s kind of a hassle, but it works sometimes when other fixes fail. Plus, for some Windows versions like 1707, 1709, or 1803, this is *more* common, so if you\u2019re on those, be prepared for extra troubleshooting.<\/p>\n<h2>How to Fix &#8220;Access Denied&#8221; When Running Bootrec \/FixBoot on UEFI<\/h2>\n<h3>Using Diskpart to Mount the EFI System Partition<\/h3>\n<p>This method helps because FixBoot can&#8217;t punch through the EFI partition if it\u2019s not mounted. By assigning a drive letter to the ESP, you give Windows a location to work with. Here\u2019s how it\u2019s done:<\/p>\n<ul>\n<li>Boot into your WinRE environment\u2014go to <strong>Troubleshoot &gt; Advanced options &gt; Command Prompt<\/strong>.<\/li>\n<li>First, identify which disk your Windows is installed on: <code>diskpart<\/code><\/li>\n<li>List all disks: <code>list disk<\/code>. Find your primary disk (usually Disk 0), then select it with: <code>sel disk 0<\/code>. On some setups, if your disk has a small size (~128 GB or 256 GB), it\u2019s probably your main drive.<\/li>\n<li>Next, list all volumes to find the EFI partition: <code>list vol<\/code>. Look for the volume labeled as <strong>System<\/strong> or <strong>FAT32<\/strong>, around 100MB-200MB in size. It might be marked as <strong>System<\/strong> and <strong>Boot<\/strong>. The volume number might be 2 or 3.<\/li>\n<li>Select that volume: <code>sel vol 2<\/code> (replace 2 with your volume number if different).<\/li>\n<li>Assign it a drive letter\u2014say R:\u2014using: <code>assign letter=R<\/code>. This is necessary so Windows can work with it.<\/li>\n<li>Type <code>exit<\/code> to leave diskpart.<\/li>\n<\/ul>\n<p>Now, with the EFI partition mounted, you can attempt to repair boot files again. Running <code>bootrec \/FixBoot<\/code> might work now, but if not, here\u2019s the alternate magic trick:<\/p>\n<h3>Use BCDBoot to Rebuild Boot Files<\/h3>\n<ul>\n<li>Navigate to the EFI folder: <code>cd \/d R:\\EFI\\Microsoft\\Boot\\<\/code>. If that path isn\u2019t found, try these alternatives:\n<ul>\n<li><code>cd \/d R:\\Boot\\<\/code><\/li>\n<li><code>cd \/d R:\\ESD\\Windows\\EFI\\Microsoft\\Boot\\<\/code><\/li>\n<\/ul>\n<\/li>\n<li>Run this command to copy the boot files from your Windows installation: <code>bcdboot C:\\Windows \/s R: \/f UEFI<\/code>. Make sure to replace <code>C:\\Windows<\/code> with your actual Windows directory if it\u2019s different. This command rebuilds the BCD (Boot Configuration Data) and copies all necessary files to the EFI partition.<\/li>\n<li>Optionally, backup your existing BCD first: <code>ren BCD BCD.bak<\/code><\/li>\n<li>Then recreate a new BCD store: <code>Bcdboot C:\\Windows \/s R: \/f UEFI<\/code>.<\/li>\n<li>Finally, type <code>exit<\/code> and restart the machine. Hopefully, your system can boot again without the &#8220;Access Denied&#8221; hiccup.<\/li>\n<\/ul>\n<p>One thing to keep in mind: sometimes, Windows wants a bit more coaxing. The EFI partition can be stubborn, and on some setups, the commands might need slight tweaks. But hey, it\u2019s often enough to get things rolling again. And yes, on some machines, the process might be a tad flaky\u2014like, it works randomly, then not, then works again. Because of course, Windows has to make it harder than necessary.<\/p>\n<h2>When All Else Fails: Delete EFI and Use Automatic Repair<\/h2>\n<p>If mounting and manually fixing the EFI partition doesn\u2019t help, another approach is to wipe it out and let Windows try to restore itself with its automatic tools. First, create a bootable Windows 10\/11 media (preferably from a version like 1703, since it tends to be a bit more forgiving).Then boot into recovery mode, and do the following:<\/p>\n<ul>\n<li>Launch <strong>Command Prompt<\/strong> again.<\/li>\n<li>Use diskpart to delete the EFI partition:\n<ul>\n<li><code>diskpart<\/code><\/li>\n<li><code>list disk<\/code><\/li>\n<li>Select your drive with: <code>sel disk 0<\/code><\/li>\n<li>List volumes: <code>list vol<\/code><\/li>\n<li>Find and select the EFI volume: <code>sel vol 2<\/code> (or your volume\u2019s number)<\/li>\n<li>Delete it: <code>delete volume<\/code><\/li>\n<\/ul>\n<\/li>\n<li>Exit diskpart (<code>exit<\/code>) and then run the <strong>Startup Repair<\/strong> tool from the recovery menu. This process sometimes rebuilds the EFI partition from scratch, fixing underlying corruptions.<\/li>\n<\/ul>\n<p>This approach is kind of drastic, but if the EFI partition was corrupt or misconfigured, it might just fix the root cause. Just a heads-up\u2014wiping partitions can be risky, so be sure you\u2019ve got backups if possible. After repair, restart and see if Windows boots normally.<\/p>\n<h2>Final thoughts<\/h2>\n<p>Sometimes these EFI boot issues pop up unexpectedly, especially after Windows updates or rogue disk operations. The key takeaway? Mounting that EFI partition manually and running BCDBoot or fixing the BCD directly often unlocks the boot process. It\u2019s not always crystal clear, and on some setups, a bit of trial and error is needed. But in most cases, this method at least gives a fighting chance to fix things without a complete OS reinstall. Fingers crossed this helps someone get back on track without pulling too much hair out.<\/p>\n<h2>Summary<\/h2>\n<ul>\n<li>Mount EFI partition manually using diskpart to assign a drive letter.<\/li>\n<li>Use BCDBoot to rebuild or copy boot files if FixBoot fails.<\/li>\n<li>If needed, delete the EFI partition and use Automatic Repair to restore system files.<\/li>\n<li>Be aware this process can be flaky depending on your hardware and Windows version.<\/li>\n<\/ul>\n<h2>Wrap-up<\/h2>\n<p>Getting rid of the &#8220;Access Is Denied&#8221; error on UEFI can be a bit of an adventure, but with patience and the right commands, it\u2019s usually solvable. Just remember to be careful with partition operations\u2014losing data is not fun. In most cases, manually mounting the EFI partition and using BCDBoot gives you a shot at fixing things without starting from scratch. Hope this cut some time off your troubleshooting grind \u2014 good luck out there.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Getting that &#8220;Bootrec \/FixBoot Access Is Denied&#8221; error is a real pain, especially if you&#8217;re poking around trying to repair your Windows bootloader. The thing is, on UEFI systems, Windows doesn&#8217;t quite handle this command the same way as with older BIOS setups, because the EFI System Partition (ESP) is kind of hidden and unmounted [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9931","post","type-post","status-publish","format-standard","hentry","category-how-to"],"acf":[],"_links":{"self":[{"href":"https:\/\/howtogeek.blog\/nl\/wp-json\/wp\/v2\/posts\/9931","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/howtogeek.blog\/nl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/howtogeek.blog\/nl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/howtogeek.blog\/nl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/howtogeek.blog\/nl\/wp-json\/wp\/v2\/comments?post=9931"}],"version-history":[{"count":1,"href":"https:\/\/howtogeek.blog\/nl\/wp-json\/wp\/v2\/posts\/9931\/revisions"}],"predecessor-version":[{"id":9932,"href":"https:\/\/howtogeek.blog\/nl\/wp-json\/wp\/v2\/posts\/9931\/revisions\/9932"}],"wp:attachment":[{"href":"https:\/\/howtogeek.blog\/nl\/wp-json\/wp\/v2\/media?parent=9931"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howtogeek.blog\/nl\/wp-json\/wp\/v2\/categories?post=9931"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howtogeek.blog\/nl\/wp-json\/wp\/v2\/tags?post=9931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}