Share via

How do I get my Windows 10 Boot manager fixed?

Anonymous
2024-10-11T21:46:27+00:00

Hello!

To start off, I want to say that I am very new to anything like this so try to keep anything that is complicated or advanced to a lower level, thanks! Also, I was trying to switch from Windows 10 to Linux Mint - Cinnamon Version.

I went through everything, had some help from one of my friends to figure out the "partitions" part of the install, and we went through that together but it ended up not working and so I tried to go back to Windows but it said that I couldn't.

After that, they tried to also help me fix everything, but they kept mentioning that the MBR was broken and that I need to fix it, so I did that and followed anything they told me to. They had to go so they couldn't help me at the moment but gave me a tutorial (said tutorial) and so I followed what it told me to. The only problem was the second command mentioned; "bootrec /FixBoot." The Command Prompt kept responding with "Access is denied."

So I tried looking for other options, and found what I thought were helpful ones (cannot add the link to these ones because I closed the pages) but sadly they weren't. I've tried a lot of stuff, like changing the partitions & volumes from the Command Prompt.

Finally, I've also tried CHKDSK C: /f, Sfc /Scannow, bcdedit /export C:\BCD_Backup, if none of these are actually supposed to work for a MBR system, then that I apologize, I didn't know so blame my naivety rather than my being.

Windows for home | Windows 10 | Windows update

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

32 answers

Sort by: Most helpful
  1. Anonymous
    2024-10-13T16:40:02+00:00

    It still says “Failure when attempting to copy boot files”

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-10-13T12:22:35+00:00

    Hello again!

    Yes, I did try to do what you told me in your first reply, sadly that did not work, along with your second, and somehow the Boot files were not able to be copied.

    Finally, bootrec /FixBoot still does not work.

    Thank you for your help thus far! It has helped me greatly even if my computer has been refusing to work!

    0 comments No comments
  3. Anonymous
    2024-10-13T12:00:22+00:00

    Dear TheGremlinX,

    Thanks for your quick reply! Nothing should be an inconvenience or burden, we should focus on solving the problem. Sorry for the late reply.

    I understand that you are in BIOS mode now and deleted the EFI partition. Did you try the "set system partition active" in my reply above? Did it work?

    If you still get an error after running the bootrec command, then you may need to manually repair the MBR and repartition. Follow the steps below:

    (1) Boot the Windows installation media via USB or DVD:

    • Use the Windows installation media (USB or DVD) to boot the system, enter the installation interface, and select Repair your computer > Troubleshoot > Advanced options > Command Prompt.

    (2) Delete the existing partition and create a new primary partition:

    • In the command prompt, enter the following command to enter the DiskPart tool to manage hard disk partitions:      diskpart
    • List all disks:      list disk
    • Select your system hard drive (usually Disk 0):      select disk 0
    • List the partitions on the disk:      list partition
    • If you accidentally deleted the EFI partition and other partitions have no recovery capabilities, you can delete the existing system partition (X is the number of the partition to be deleted):      select partition X        delete partition
    • Create a new primary partition to replace the original system partition:      create partition primary      select partition 1      active      format fs=ntfs quick      assign letter=C
    • Exit DiskPart:      exit

    (3) Repair MBR:

    • Now you can use the bootrec command to repair the master boot record and boot configuration:      bootrec /fixmbr      bootrec /fixboot      bootrec /scanos      bootrec /rebuildbcd
    • If bootrec /fixboot still displays "Access Denied", this may be due to an incompatible partition. You can continue with the following commands and reboot the system.

    (4) Rebuilding the Boot Configuration Data (BCD):

    • If bootrec /rebuildbcd does not successfully identify the Windows installation, manually creating the BCD is another option: bcdboot C:\Windows /s C: /f BIOS

    Note that deleting a partition will result in data loss, so back it up in advance if necessary. I hope the above information is helpful to you, and if you have any questions, please feel free to let me know.

    Best Wishes

    Pyked | Microsoft Community Support Specialist

    0 comments No comments
  4. Anonymous
    2024-10-12T23:06:44+00:00

    Thank you for your reply & warm welcome!

    I realized after your reply that I failed to mention that I somehow deleted the EFI partition from the command prompt (on the troubleshoot menu after the installation device was plugged into my computer).

    Along with that, I am currently in, what you called it, "BIOS mode." Which, from my understanding is the mode in which is similar to anything related to MBR and the BIOS screen or unless there is something else I am missing.

    I apologize if any of this has become an inconvenience, burdensome, or anything of the sort.

    Have a great rest of your day!

    0 comments No comments
  5. Anonymous
    2024-10-12T13:23:20+00:00

    Dear TheGremlinX,

    Hello! Welcome to the Microsoft Community. I'm glad to be able to assist you. If I misunderstand your question, please let me know promptly.

    It seems that you have a problem repairing the MBR, and "Access is denied" is displayed when executing the command. And it seems that you have made changes to switch to the Linux partition before.

    In this case, there may be a problem with the MBR, so you have a problem when executing the repair MBR command. If you are ready to continue installing the Windows system, please check the following steps:

    Please first confirm whether you are currently in BIOS mode or UEFI mode. According to your information, if you use MBR, you should be in BIOS mode. You can enter "bcdedit" in the command prompt to see if the displayed path contains "...\EFI...", if not, it is in BIOS mode.

    If you are in BIOS mode, try the following steps:

    Confirm whether the active partition is correct:

    Use the diskpart command to check which partition is the active partition. If your system partition is not set to active, it will cause boot problems. Do not enter anything in ""

       diskpart

       list disk

       select disk 0   "Select your system disk"

       list partition

       select partition X  "Select your system partition"

       active   "Make this the active partition"

       exit

    After completion, try the MBR repair command. If your mode is in UEFI mode, you may need to mount the EFI partition first, and then use the bcdboot command to generate the boot file, which is the second half of the tutorial.

    If you don't understand, I will briefly summarize:

    • When you are in BIOS mode,

    If an error occurs when you execute the bootrec command, it may be because the system partition is not set to active. You can refer to the above steps to set it to active, and then try to execute the bootrec command.

    • If you are in UEFI mode,

    Then there is no need to use the bootrec command to repair, because the EFI partition does not rely on the traditional boot sector. In this case, you need to use the bcdboot command to repair. And you can find the tutorial for this part in the link you shared. That is, the second half of "If the bootrec program cannot repair your...", you can refer to this part to repair it.

    Sorry for the late reply, I need a context to view your link. I hope the above information is helpful, if you have any questions, please feel free to let me know.

    Best Wishes

    Pyked | Microsoft Community Support Specialist

    0 comments No comments