Windows 10 bootrec /fixboot access is denied

Anonymous
2017-10-23T04:29:05+00:00

Hi, I was in a hurry and made the stupid mistake of not backing up before I resized a partition on my new Acer laptop, intending to clone my Windows 10 installation from a 1TB HDD to a 500GB SSD. Although the hard drive has less than 100GB used space, needless to say an error occurred, Error Code 0xc0000225.

The recovery partition of the HDD is not accessible using Alt F10 at the splash screen as recommended by Acer.

I have been following the advice in this video My attempts so far:

I booted into a Win 10 flash drive and tried automatic repair, which took hours but did not work.

Next I tried command prompt - bootrec /rebuildbcd, which was successful; bootrec /fixmbr, also successful; and finally bootrec /fixboot - but that was not successful and returned an "access is denied" message.

Not sure whether to move on to the next suggestion, which is using Diskpart, or continue trying to find some way to get a successful result from bootrec /fixboot.

Advice would be much appreciated.

[Moved from: Windows / Windows 10 / Windows update, recovery, & backup]

Windows for home | Windows 10 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2017-11-28T08:31:49+00:00

Windows 10 Installation Media:

  1. Insert the Media (DVD/USB) in your PC and restart.
  2. Boot from the media.
  3. Select Repair Your Computer.

Select Troubleshoot.

  1. Choose Command Prompt from the menu:

Type in the command:

Diskpart

Type in the command:

List disk            (Note which disk is your Boot drive number mine is 0)

Type in the command:

Sel disk 0

Type in the command:

List vol               (Note which volume is the EFI partition mine is 4)

Type in the command:

Sel vol 4

Type in the command:

assign letter=V:

Type in the command:

Exit

Type in the command:

V:

After you have assigned a drive letter Using Diskpart You can format the EFI partition:

Example: if you assigned a letter V to the partition the command would be:

format V: /FS:FAT32

After the format you need to recreate the EFI directory structure with the command:

MD \EFI\Microsoft\Boot

Then change to the Boot directory with:

~~cd /d V:\EFI\Microsoft\Boot~~

Then run:

bootrec /FixBoot

Finally run:

bcdboot c:\Windows /l en-us /s V: /f All

Type in the command:

bcdboot C:\windows /s V: /f UEFI      (This replaces the above crossed out lines and works in Win 10 1709)

Was this answer helpful?

2900+ people found this answer helpful.
0 comments No comments
Answer accepted by question author
Anonymous
2017-11-26T08:48:50+00:00

I had the same issue with the command Bootrec /Fixboot "Access is denied",

This only happens with Windows 10 1709 install media.

I tried the same command  with Windows 10 1703 install media and do not get the error "Access is denied".

This looks like an error with the install media for Windows 10 1709

Regards

Mark

Was this answer helpful?

100+ people found this answer helpful.
0 comments No comments
Answer accepted by question author
Anonymous
2017-10-27T02:54:35+00:00

Thanks everyone. I found out how to fix it. My laptop is back in business.

First of all I found the drive has a hidden 100MB Fat32 EFI boot partition, something new to me since I haven't been keeping up with current tech. The Windows automatic repair program can't see it so it can't repair it either. What you have to do is use diskpart to give the partition a drive letter and go on from there using command prompt (although I guess it's possible that auto repair might be able to fix it once it's made visible).

The instructions I used were these from Dell, but there are others on the web too. They seemed to work fine for my Acer though.

Good luck!

Windows 10

If you do have the Installation Media :

  1. Insert the Media (DVD/USB) in your PC and restart.
  2. Boot from the media.
  3. Select Repair Your Computer.
  4. Select Troubleshoot.
  5. Select Advanced Options.
  6. Choose Command Prompt from the menu :
    1. Type and run the command :

diskpart 2. Type and run the command :

sel disk 0 3. Type and run the command :

list vol

  1. Verify that the EFI partition (EPS - EFI System Partition) is using the FAT32 file system and assign a drive letter to it :
    1. Type and run the command :

sel vol <number of volume> 2. Type and run the command :

assign letter=<drive letter>: 3. Type and run the command :

exit

  1. In order to repair the boot record :
    1. Type and run the command :

cd /d <drive letter>:\EFI\Microsoft\Boot
2. Type and run the command :

bootrec /FixBoot

The next step is the same across all the operating systems at this point :

  1. Rebuild the BCD store
  2. First run the command below to backup the old BCD :

ren BCD BCD.old 3. Now recreate it using this command :

bcdboot c:\Windows /l en-us /s <boot letter>: All

Was this answer helpful?

90+ people found this answer helpful.
0 comments No comments

235 additional answers

Sort by: Oldest
  1. Anonymous
    2017-11-13T02:28:17+00:00
      1. Type and run the command :

    cd /d <drive letter>:\EFI\Microsoft\Boot
    2. Type and run the command :

    bootrec /FixBoot

    The next step is the same across all the operating systems at this point :

    1. Rebuild the BCD store
    2. First run the command below to backup the old BCD :

    ren BCD BCD.old 3. Now recreate it using this command :

    bcdboot c:\Windows /l en-us /s <boot letter>: All

    I do exactly every thing until this step: 

      1. Type and run the command :

    bootrec /FixBoot

    I got an error: Access is denied:(

    What can I do now ?

    First of all I would need to see the exact actual syntax that you used for each command to be able to see what is going wrong, but perhaps you are misunderstanding the following:

    The term <drive letter>, the term <number of volume>, and the term <boot letter>, are not part of the command syntax and are not meant to be entered into the command. Those are just placeholders to prompt you to insert whatever letter or number is called for.

    <number of volume> means you should substitute the number you see next to the 100MB EFI partition after you list vol.

    <drive letter> means you should substitute whatever drive letter you have chosen. It should not be the letter c.

    <boot letter> I believe means you should substitute the same letter that you chose for <drive letter> but don't remember.

    Let me know if that clears things up for you. If you still get the error, please post the exact syntax you are using for each command. 

    DM

     

    Hi. everyone. I installed windows 10 Pro N and then OpenSUSE LEAP 42.3.

    My linux just crashed and I have trouble entering my windows.

    I did the SAME thing as was suggested above:

    1. Insert the Media (DVD/USB) in your PC and restart.
    2. Boot from the media.
    3. Select Repair Your Computer.
    4. Select Troubleshoot.
    5. Select Advanced Options.
    6. Choose Command Prompt from the menu :
      1. Type and run the command :

    diskpart 2. Type and run the command :

    sel disk 0 3. Type and run the command :

    list vol

    1. Verify that the EFI partition (EPS - EFI System Partition) is using the FAT32 file system and assign a drive letter to it :
      1. Type and run the command :

    sel vol <number of volume> 2. Type and run the command :

    assign letter=<drive letter>: 3. Type and run the command :

    exit

    1. In order to repair the boot record :
      1. Type and run the command :

    cd /d <drive letter>:\EFI\Microsoft\Boot
    2. Type and run the command :

    bootrec /FixBoot

    Unfortunately, I still got "Access is denied!"

    I selected the correct partition when I did "assign letter=<drive letter>:", otherwise I should get "The system cannot find the path specified" when I did "

    Was this answer helpful?

    8 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2017-11-14T10:39:41+00:00

    Hi,

    Since you're still getting the error Access is denied!, we suggest that you change the root folder first to **cd x:**. To do this, start again with the steps that you've taken last time. Skip the commands for diskpart and proceed to repair the boot record instead. See the screenshot below:

    Once the root folder was changed to cd x:, proceed to run each of these commands:

    bootrec /fixboot

    bootrec /fixmbr

    bootrec /rebuildbcd

    If the issue still persists, try to change again the root folder to **C:**, then proceed with running the commands above.

    Let us know how it goes after performing the suggested steps.

    Was this answer helpful?

    20+ people found this answer helpful.
    0 comments No comments