When trying to install Windows 10 or upgrade Windows 10, you may get an error which says ‘We couldn’t install Windows 10, 0x8007002C-0x400D‘ with a detailed error message as ‘The installation failed in the SECOND_BOOT phase with an error during MIGRATE-DATA operation‘. This message means that some of the files are locked out because of some reason, and Windows is not able to migrate it to the new version. Th reason could also be insufficient disk space. So no matter how many time you try to upgrade, it will always result in a rollback to previous Windows.
0x8007002C – 0x400D, The installation failed in the SECOND_BOOT phase with an error during MIGRATE-DATA operation
1] Disable antivirus
Sometimes Anti-virus software blocks file access or even disk access. It is better that you disable the Anti-Virus and Security software before initiating the upgrade. You can either disable such software or completely uninstall them till you fix the Update issues. If you are using Windows Defender, it is easy to disable it for troubleshooting.
2] Free up disk space
Run Disk Cleanup Utility to delete junk files.
3] Remove any file protection software
When upgrading, Windows Setup migrates folders from one version to another. However, if your folders are protected using some file protection software, it will fail to move them, and you will face this error. You can either unlock all those files or uninstall the software after removing all the locked files. Post, this try to install again.
4] Rename SoftwareDistribution folder
To solve this, it is advisable to rename the SoftwareDistribution folder. Before renaming, you will need to stop the Windows Update Service and BITS Update service. Open an elevated command prompt windows, type the following commands one after the other, and hit Enter:
net stop wuauserv net stop bits rename c:\windows\SoftwareDistribution SoftwareDistribution.bak net start wuauserv net start bits
In case this simple rename command doesn’t work, make sure to follow the detailed guide to rename SoftwareDistribution folder.
5] Run DISM Tool to repair corrupted files
When you run DISM tool it will repair Windows System Image and Windows Component Store in Windows 10. The files which are corrupted could have been blocked when Windows checks for its consistency.
6] Run Windows Update Troubleshooter
Run this inbuilt Windows Update troubleshooter to fix most common Update problems on Windows 10.
7] Run Microsoft’s online troubleshooter
You can also fix Windows Update Errors using Microsoft’s online troubleshooter. It will scan your PC for issues, and fix the problems.
8] Contact Microsoft
- 0x8007002C-0x4001E, The installation failed in the SECOND_BOOT phase with an error during PRE_OOBE operation
- 0x8007042B – 0x4000D, The installation failed in the SECOND_BOOT phase with an error during MIGRATE_DATA operation.
Let us know if any of these solutions worked for you.