How to Fix “We couldn’t install Windows 10 0x8007002C – 0x400D” Error

How to Fix “We couldn’t install Windows 10 0x8007002C – 0x400D” Error

[attention-msg]

How to Fix “We couldn’t install Windows 10 0x8007002C – 0x400D” Error

In Installing or upgrading your Windows 10, there really is no guarantee that everything will go smoothly as there are times you encounter errors like the “We couldn’t install Windows 10, 0x8007002C-0x400D” error message among other Windows update/upgrade errors. When you encounter this particular error message you will the following message on your screen:

 “We’ve set your PC back to the way it was right before you started installing Windows 10.

0x8007002C-0x400D

The installation failed in the SECOND_BOOT phase with an error during MIGRATE-DATA operation”

This kind of Windows upgrade error indicates that some of the files needed for the installation are locked out for some reason and that Windows was not able to migrate them to a new version. It could be that your computer does not have sufficient space for those files. Thus, no matter how many times you try to upgrade your computer, you always end up going back to the previous version of Windows. To fix the “0x8007002C – 0x400D, The installation failed in the SECOND_BOOT phase with an error during MIGRATE-DATA operation” error, here are some suggestions that might help:

Option 1 – Disable your antivirus program

There are times when the antivirus program installed in your computer blocks the file access and even disk access. Thus, disabling the antivirus program or any security software installed in your computer is always a good idea you can try when the Windows Update process does not go smoothly. So before you try updating your computer again, make sure to disable the antivirus or security program and once the Windows Update is done, don’t forget to enable the antivirus program back again.

Option 2 – Perform a Disk Cleanup to free up disk space

Chances are, some unnecessary files in your computer might be interrupting the installation process which explains why you’re getting the “0x8007002C – 0x400D, The installation failed in the SECOND_BOOT phase with an error during MIGRATE-DATA operation” error instead so you need to perform a Disk Cleanup in order to fix the problem.

  • In the Cortana Search box, type “disk cleanup” and click on the related search result.
  • Then select the disk you want to clean and click OK.
  • Wait for the process to be completed and then restart your PC and try to install the Windows upgrade again.

Option 3 – Get rid of any file protection software

The Windows setup migrates the folder from one version to another during the upgrade. However, if some of your folders, if not all, are protected using some file protection software, then Windows won’t succeed in moving the folder and you will encounter this Windows upgrade error instead. Thus, you need to unlock all those protected files or better yet uninstall the file protection software after you remove the locked files. After that, try installing the upgrade again.

Option 4 – Rename the SoftwareDistribution folder

The Software Distribution folder in the Windows operating system is a folder that can be found in the Windows directory and is used to store files temporarily which might be required to install the Windows Update on your PC. Thus, it is required by the Windows Update and maintained by WUAgent. Aside from that, it also contains all the Windows Update History files and once you delete them, you will most likely lose the Update history. As a result, the next time you run the Windows Update, it may result in a longer detection time.

  • Open the WinX Menu.
  • From there, open Command Prompt as admin.
  • Then type in the following command – don’t forget to hit Enter right after typing each one of them.

net stop wuauserv

net stop bits

rename c:windowsSoftwareDistribution SoftwareDistribution.bak

  • After entering these commands, it will stop the Windows Update Service, the Background Intelligent Transfer Service and rename the SoftwareDistribution folder.

  • Next, got to the C:WindowsSoftwareDistribution folder and get rid of all the folders and files thereby tapping the Ctrl + A keys to select them all and then click on Delete. Note that if the files are in use, you won’t be able to delete them.
  • Once all the contents in the Software Distribution folder are deleted, restart your PC and then go back to Command Prompt and input the following commands again.

net start wuauserv

net start bits

Since the folder has already been flushed, it will be populated afresh the instant your restart your computer and open Windows Update.

Option 5 – Run the DISM tool

As mentioned, the “0x8007002C – 0x400D, The installation failed in the SECOND_BOOT phase with an error during MIGRATE-DATA operation” error might also be caused by corrupted files in the computer. Thus, you can try using the DISM tool to repair them. Running the DISM tool can repair the Windows System Image and Windows Component Store in Windows 10.

  • Open the Command Prompt as admin.
  • Then type in this command: DISM /Online /Cleanup-Image /RestoreHealth
  • Do not close the window if the process takes a while as it will probably take a few minutes to finish.

Option 6 – Run the Windows Update Troubleshooter

Running the built-in Windows Update troubleshooter could also help you resolve this particular Windows upgrade error. To run it, go to Settings and then select Troubleshoot from the options. From there, click on Windows Update and then click the “Run the troubleshooter” button.

Option 7 – Try running Microsoft’s online troubleshooter

You also have the option to run Microsoft’s online troubleshooter which could help you fix Windows Update errors including the “0x8007002C – 0x400D, The installation failed in the SECOND_BOOT phase with an error during MIGRATE-DATA operation” error.

That’s about it. If you are currently experiencing other issues aside from the “0x8007002C – 0x400D, The installation failed in the SECOND_BOOT phase with an error during MIGRATE-DATA operation” error, there is a one-click solution known as Restoro you can use. This program is a useful tool that could repair corrupted registries and optimize your PC’s overall performance. Aside from that, it also cleans out your computer for any junk or corrupted files that help you eliminate any unwanted files from your system. This is basically a solution that’s within your grasp with just a click. It’s easy to use as it is user-friendly. For a complete set of instructions for downloading and using it, refer to the steps below.

Perform a full system scan using Restoro. To do so, follow these steps:

  1. Turn on your computer. If it’s already on, you have to reboot it.
  2. After that, the BIOS screen will be displayed, but if Windows pops up instead, reboot your computer and try again. Once you’re on the BIOS screen, repeat pressing F8, by doing so the Advanced Option shows up.

  1. To navigate the Advanced Option use the arrow keys and select Safe Mode with Networking then hit Enter.
  2. Windows will now load the Safe Mode with Networking.
  3. Press and hold both R key and Windows key.

  1. If done correctly, the Windows Run Box will show up.
  2. Type in the URL address, https://errortools.com/download/restoro in the Run dialog box and then tap Enter or click OK.
  3. After that, it will download the program. Wait for the download to finish and then open the launcher to install the program.
  4. Once the installation process is completed, run Restoro to perform a full system scan.

  1. After the scan is completed click the “Fix, Clean & Optimize Now” button.