Skip to main content




RECOMMENDED: Click here to fix Windows errors and get the most out of your system performance

Windows has many tools that you can use to deploy an image from the operating system to other computer systems without having to run them individually manually. Sometimes, though, things may not go so well and you may encounter an error message that says “Error trying to copy boot files.” This occurs when you try to apply bcdboot to a new image. Some of you may face the issue while trying to dual boot.

failure-when-attempting-to-copy-boot-files-e1564494040818-5071990

Bcdboot is a command line utility that can be used to configure operating system boot files. You can create partitions on your hard drive or even repair damaged boot files. The cause of the error message is the inactive state of the system partition. If you receive the above error message, your operating system does not start and you can only see the error message. However, this is not entirely correct because we will show you how to fix the problem with a simple solution.

Fixed a BCD boot error when copying boot files via CMD.

If you boot your WinPE player through the UEFI interface/options, BCDBOOT will try to work by default with GPT and EFI firmware. If an EFI spare partition is missing because it has not been created, you see: Failed to copy boot files. If you boot your WinPE drive using the BIOS/LEGACY alternatives, BCDBOOT will by default try to work with the MBR and BIOS firmware.

This way, if you boot a non-EFI disk on a USB stick, but your disk is GPT and UEFI, you need to run this command:

bcdboot-failure-when-attempting-to-copy-boot-files-via-cmd-8707740

bcdboot c:Windows /s S:/f EFI

In this way, c means Windows partition and S: is the EFI partition.

Conversely, if you cannot or do not want to run LEGACY, you must use this command to create the old MBR drive.

bcdboot c:Windows /s S:/f BIOS

Where S: for this case is the system partition.

If you are not sure whether the computer supports UEFI or LEGACY, you can try this command:

bcdboot c:windows/ss:/f ALL

ALL means that the BIOS and UEFI files are copied to the hard drive.

Remember that S is the system partition, not the partition that contains Windows files.

Boot from Windows disk

boot-into-uefi-mode-on-a-microsoft-surface-5855488

You must boot from your Windows disk to fix the problem.

  1. Boot your computer using the Windows installation media.
  2. Choose the right time and keyboard type.
  3. In the lower left corner, click Repair your computer.
  4. On the Choose Option screen, select Troubleshoot.
  5. On the Troubleshooting screen, click Advanced Options.
  6. Click the command from the command prompt.
  7. Type the following commands one at a time, then press Enter after each command line:

bootrec/fixmbr
Bootrec/fixboot
Bootrec / scanos
Bootrec / rebuildbcd / rebuildbcd / rebuildbcd / rebuildbcd
for -s

About a minute after the last order, your machine turns off. Now you can erase Windows media.

Restart your computer.

https://forums.whirlpool.net.au/archive/2460565

RECOMMENDED: Click here to fix Windows errors and get the most out of your system performance

R Marketing Digital