Error 0x80070057 during a Windows 10 upgrade usually means Windows Update or the installation process encountered an invalid argument — often due to corrupted system files, disk issues, or a problematic update cache. This guide walks you through the most effective fixes, from simple cache clears to registry edits, so you can get the upgrade completed without losing your files.
What You’ll Need
- Administrator access to your PC (you’ll need to log in with an admin account)
- At least 20 GB of free space on your system drive (C:)
- A stable internet connection
- Your Windows product key (usually not needed for an in-place upgrade, but good to have)
- Patience — some steps involve lengthy scans or downloads
Step-by-Step
- Restart your PC and try again. Sometimes the error is transient. Reboot, then run Windows Update again or re-launch the upgrade assistant.
- Free up disk space. The upgrade needs room for temporary files. Delete unused programs, clear the Recycle Bin, and run Disk Cleanup (search for “Disk Cleanup”, select your system drive, and clean up system files).
- Run the Windows Update troubleshooter. Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters, select “Windows Update,” and run it. This can fix common update issues automatically.
- Clear the SoftwareDistribution folder. This is where Windows stores update files. Corrupted files here can cause error 0x80070057. Open Command Prompt as administrator and run:
net stop wuauserv net stop cryptSvc net stop bits ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old net start wuauserv net start cryptSvc net start bits
Then restart your PC and try the upgrade again.
- Run System File Checker (SFC) and DISM. Corrupted system files can trigger this error. Open Command Prompt as administrator and run:
sfc /scannow
After that completes, run:
DISM /Online /Cleanup-Image /RestoreHealth
Restart your PC after both complete.
- Check your disk for errors. Run
chkdsk /f /rin Command Prompt as administrator. You’ll be prompted to schedule it for the next restart — type Y and restart. This scans and repairs bad sectors and file system issues. - Use the Media Creation Tool. Instead of upgrading via Windows Update, download the Media Creation Tool from Microsoft’s official website, run it, and choose “Upgrade this PC now.” This often bypasses the error and performs a clean in-place upgrade.
- Edit the registry (advanced). If the error persists, a registry key might be blocking the upgrade. Open Registry Editor (regedit) as administrator, navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade. If the key doesn’t exist, create it. Then create a new DWORD (32-bit) value namedAllowOSUpgradeand set its value to1. Close the editor and try the upgrade again. - Perform a clean install (last resort). If nothing else works, back up your files and do a clean installation of Windows 10 using the Media Creation Tool. This wipes your system drive, so make sure you have backups.
Common Mistakes
- Skipping the restart after SFC/DISM. These tools need a reboot to apply fixes.
- Not running Command Prompt as administrator. Without admin rights, the commands will fail or do nothing.
- Deleting the SoftwareDistribution folder instead of renaming it. Renaming is safer and avoids permission issues.
- Ignoring disk space. Even if you have 20 GB free, the upgrade may need more for temporary files. Aim for at least 30 GB.
- Using third-party “cleaners” that modify system files. Stick to built-in tools.
Tips
- Disconnect non-essential peripherals. USB drives, external hard drives, and even some printers can interfere with the upgrade.
- Disable third-party antivirus temporarily. Antivirus software can block the upgrade. Disable it during the process and re-enable after.
- Update your drivers. Outdated drivers, especially graphics and network, can cause upgrade failures. Visit your manufacturer’s website for the latest versions.
- Use a wired internet connection. A stable connection prevents download corruption.
- Run the upgrade from a local admin account. Don’t use a Microsoft account or a standard user account.
Troubleshooting
If the error persists after following all steps, try these additional checks:
- Check the Windows event logs. Open Event Viewer (eventvwr.msc), go to Windows Logs > System, and look for errors around the time of the upgrade attempt. The details may point to a specific driver or service.
- Boot into Safe Mode. Restart your PC, hold Shift while clicking Restart, then go to Troubleshoot > Advanced Options > Startup Settings > Restart, and choose Safe Mode. Try the upgrade from Safe Mode. This loads only essential drivers and can bypass conflicts.
- Rename the Catroot2 folder. If you didn’t do it in step 4, renaming this folder can fix certificate issues. Use the same commands as for SoftwareDistribution, but replace
catroot2. - Check for pending updates. Sometimes you need to install smaller updates before the big upgrade. Run Windows Update multiple times until it says “You’re up to date.”
- Use the Windows 10 installation media directly. Create a bootable USB drive, boot from it, and choose “Upgrade this PC now.” This is more reliable than upgrading from within Windows.
Frequently Asked Questions
Will I lose my files if I use the Media Creation Tool to upgrade?
No, choosing “Upgrade this PC now” keeps your files and apps. However, it’s always wise to back up important data before any major upgrade.
How long does the upgrade take?
Typically 30 minutes to 2 hours, depending on your hardware and internet speed. The process may restart several times.
Can I fix this error without using the registry?
Yes, the registry edit is a last resort. Most users fix the error by clearing the update cache, running SFC/DISM, or using the Media Creation Tool.
Why does this error happen?
It’s usually caused by corrupted system files, a full system drive, or a broken Windows Update component. It can also occur if your PC has a faulty driver or if the upgrade files are incomplete.
Do I need to uninstall my antivirus before upgrading?
It’s recommended to temporarily disable it, not uninstall. Some antivirus programs can interfere with the upgrade process. Re-enable it after the upgrade completes.
What if the error appears during a clean install?
If you’re installing from scratch and get this error, check your installation media. Re-download the ISO or recreate the USB drive, and ensure your BIOS is set to UEFI mode (if your system supports it).
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Internet Not Working on Windows 11
- How to Turn Off Shutter Sound on iPhone
- VPN Setup on iPhone SE: Step-by-Step Guide
- Fix Right Click Not Working in Firefox
- Compare Two Columns with Comma Separated Values in Excel
- How to Limit Ad Tracking on iPhone Apps