0x80070003 – 0x2000D, The installation failed in the SAFE_OS phase with an error during MIGRATE_DATA operation

While there are multiple reasons when you get MIGRATE_DATA operation failure, the primary reason is that when upgrading from one update to another, something stopped the upgrade process to migrate user data. Here the solutions to fix this error:

Disable BitLocker or any other file lock appsRun DISM Tool or SFC to repair corrupted filesCheck free storage space on the primary drive

Note: Similar to this error, there are two more Windows 10 Update error codes—8007001f-0x3000d and 0x8007002c-0x400d. 1] Disable BitLocker or any other file lock apps While the usual file lock apps don’t create any problem, but if you have something which works on file level, eg. Bitlocker, disable it for now. Once you upgrade, you can choose to enable it. Sometimes the files around BitLocker or the app might go corrupt, and cause the problem. 2] Run DISM Tool or SFC You may run SFC and see if it helps. If it doesn’t help, run the DISM Tool. When you run the DISM tool, it will repair Windows System Image and Windows Component Store in Windows 10. The corrupt files could have blocked the process when Windows checks for its consistency. 3] Check free storage space on the primary drive While Windows checks for free space for sure, but if for some reason space has been filled up, it will rollback. One of my friends copied files after the installer was done checking the space requirements, and it failed later. So if you did something like that, recheck. I hope this helps.