sodcalculator

10 Tech How-To

Fix Windows 10 Error 0x80070057 in 5 Steps

Guide 10-47749 · Updated · Step by step

Windows 10 error 0x80070057 usually appears during installation, updates, or when creating a recovery drive. It means Windows encountered an invalid argument — often caused by corrupted system files, a bad USB installer, or incorrect date/time settings. This guide walks you through the fixes that actually work, from the quickest checks to more involved repairs.

What You’ll Need

  • A Windows 10 PC that can still boot (for most steps)
  • Administrator account access
  • The Windows 10 installation media (USB or DVD) if the error occurs during setup
  • A stable internet connection for downloading updates or tools

Step-by-Step

  1. Check your system date and time. An incorrect clock is a common trigger for 0x80070057. Right-click the clock in the taskbar, select Adjust date/time, and turn on Set time automatically and Set time zone automatically. If they are already on, toggle them off, restart, and turn them back on. Then reboot and retry the installation.
  2. Run the Windows Update troubleshooter. Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters. Select Windows Update and run it. This tool automatically detects and fixes common update-related issues, including corrupted update cache files. Let it finish, then restart and try again.
  3. Clear the SoftwareDistribution folder. This folder stores temporary update files. If they are corrupted, the update process fails. Open Command Prompt as administrator (right-click Start, select Command Prompt (Admin) or Windows PowerShell (Admin)). Type these commands one at a time, pressing Enter after each:

    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

    Restart your PC and retry the update or installation.

  4. Run System File Checker and DISM. Corrupted system files can cause this error. Open Command Prompt as administrator and run:

    sfc /scannow

    Wait for it to complete (it can take 15–30 minutes). Then run:

    DISM /Online /Cleanup-Image /RestoreHealth

    This repairs the Windows image itself. Restart after both finish and retry.

  5. Recreate the installation media. If the error appears during a clean install, your USB drive may be corrupted or improperly written. Download the Media Creation Tool from Microsoft’s official website, use it to create a new USB drive (at least 8 GB, empty), and try installing again. If you are upgrading from within Windows, download the ISO and mount it instead of using the tool directly.
  6. Perform a repair upgrade. If updates still fail, an in-place repair install can fix the system without removing your files. Mount the Windows 10 ISO, run setup.exe, and choose Keep personal files and apps. This reinstalls Windows while preserving your data. It takes about an hour and resolves most deep corruption issues.

Common Mistakes

  • Skipping the date/time check. Many people jump to complex fixes when a simple clock sync solves it.
  • Not running DISM after SFC. SFC only repairs files it can find; DISM fixes the underlying image that SFC relies on. Run both in order.
  • Using a USB drive with existing files. The Media Creation Tool should format the drive. If you just copied the ISO file onto it, it won’t boot.
  • Interrupting the repair upgrade. Let it finish completely. Losing power or forcing a shutdown mid-process can worsen the problem.
  • Ignoring disk space. Windows updates need several gigabytes of free space. Check that your system drive has at least 20 GB free.

Tips

  • Create a system restore point before making major changes, so you can roll back if something goes wrong.
  • Disconnect non-essential peripherals (external drives, printers) during installation — they can interfere with the process.
  • If you’re using a laptop, keep it plugged in during updates or installation to prevent power loss.
  • After fixing the error, run Windows Update again to ensure all pending updates install cleanly.

Troubleshooting

If the error persists after all steps:

  • Check disk health. Run chkdsk C: /f /r from an elevated Command Prompt. This scans for bad sectors and file system errors. You’ll need to restart for it to run.
  • Check for third-party antivirus interference. Temporarily disable your antivirus (not Windows Defender) and retry. Some security software blocks update components.
  • Try a different USB port. USB 3.0 ports can sometimes cause boot issues. Use a USB 2.0 port if available.
  • Reset Windows Update components manually. If the troubleshooter didn’t help, download the “Windows Update Reset” script from Microsoft’s official support site (search for KB971058) and run it as administrator.
  • Perform a clean install as a last resort. Back up your files, then boot from the installation media and choose Custom install. Delete all partitions on the system drive and install fresh. This guarantees a clean system but removes all programs and settings.

Frequently Asked Questions

Q: Can I fix 0x80070057 without reinstalling Windows?
A: Yes, in most cases. The date/time fix, update troubleshooter, and clearing the SoftwareDistribution folder resolve it without a reinstall. Only a clean install is the last resort.

Q: Why does this error happen during a fresh install?
A: It usually means the installation media is corrupted or the ISO file was downloaded incompletely. Recreating the USB with the Media Creation Tool typically fixes it.

Q: Will the repair upgrade delete my files?
A: No, if you select Keep personal files and apps, it preserves your documents, photos, and installed programs. However, it’s still wise to back up important data beforehand.

Q: How long does the DISM command take?
A: It can take 10–30 minutes depending on your system speed and internet connection, since it may download replacement files from Windows Update.

Q: Is this error related to a hardware problem?
A: Rarely. It’s almost always a software issue. However, if you see it repeatedly even after a clean install, test your RAM with Windows Memory Diagnostic and check your hard drive’s SMART status.

Q: Can I ignore this error and keep using Windows?
A: You can, but you’ll miss security updates and features. The underlying corruption may also cause other issues over time. Fixing it is recommended.

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

The whole Tech How-To bed →