If you are trying to install a Windows 10 upgrade but was interrupted with an error saying, “0x80070003 – 0x2000D, The installation failed in the SAFE_OS phase with an error during MIGRATE_DATA operation”, then you’ve come to the right place as this post will help you sort this problem out.
When you get this kind of error while trying to upgrade your computer, although there could be various reasons for this, the primary one is that when you upgrade from one update to another, something stopped the upgrade process to migrate the user data. To fix this error, you can try to run both the DISM tool and the System File Checker to automatically repair any corrupted system files. You could also try checking the free storage space of your primary drive and if you have any file lock apps like BitLocker, consider disabling them for they could also be the reason why you’re getting the error.
Option 1 – Run the DISM tool
Running the DISM Tool helps in repairing the Windows System Image as well as the Windows Component Store in Windows 10 which might be the reason behind the Windows Upgrade error 0x80070003 – 0x2000D. Using this built-in tool, you have various options such as the “/ScanHealth”, “/CheckHealth”, and “/RestoreHealth”.
- Open the Command Prompt as admin.
- Then type in this command: exe /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.
- Once it’s done, restart your computer and then check if the issue is resolved or not on the next startup.
Option 2 – Run the SFC scan
The SFC or System File Checker scan could detect and automatically repair damaged system files that could be causing the Windows Upgrade error to appear. SFC is a built-in command utility that helps in restoring corrupted files as well as missing files. It replaces bad and corrupted system files to good system files. To run the SFC command, follow the steps given below.
- Tap Win + R to launch Run.
- Type in cmd in the field and tap Enter.
- After opening Command Prompt, type in sfc /scannow and hit Enter.
The command will start a system scan which will take a few whiles before it finishes. Once it’s done, you could get the following results:
- Windows Resource Protection did not find any integrity violations.
- Windows Resource Protection found corrupt files and successfully repaired them.
- Windows Resource Protection found corrupt files but was unable to fix some of them.
Option 3 – Try checking the free storage space on your primary drive
The next option you can try to resolve the error is to see if you have enough free storage space on the primary drive because if you don’t then it’s probably the reason why you’re getting this error. To fix it, you need to free up some storage space by following these steps:
- Open Setting > System > Storage from the WinX Menu.
- From there, you will see a list of all the local and connected storage devices along with the details on the free space.
- Now make sure that the Storage Sense feature is turned On then go find a link that says “Free Up Space” and click it to open.
- After that, a screen which is the built-in program in Windows 10 will appear and will scan your computer for the following junk files so you can free up disk space:
- Windows Upgrade Log Files
- System created Windows Error Reporting Files
- Thumbnails
- Temporary Internet Files
- Previous Windows Installation Files
- Delivery Optimisation Files
- DirectX Shader Cache
Note: Once you’re done freeing up space on your drive, try to run the setup file again.
Option 4 – Try disabling BitLocker and other file lock apps
If you are using BitLocker or other file lock apps, then it could be the reason why you’re getting the error. Usually, file lock apps don’t cause any kind of issue, however, if you have something that works on file level like BitLocker, you can try to disable it. Once you’ve disabled it, try to install the Windows 10 Upgrade again and after you do, enable BitLocker again. This should fix the problem.