You need an administrator account. If the error appears on an external drive you want to keep, copy its files elsewhere before trying the formatting step. If Windows cannot start, see the startup guide.
Work through these checks
0 of 7 complete01Note where the error appears
This code is generic, so the fix depends on which program reported it.
- Windows Update or installing a feature: follow steps 2 to 4 and 7.
- Backup, File History, copying files or formatting a drive: go to steps 5 and 6.
- An app or game installer: reinstall the latest version of that program and check its support page.
You know which part of the guide applies.
If it does not helpIf you are unsure, start with step 2.
02Restart and run the Windows Update troubleshooter
A pending restart or a stuck update service is the simplest cause during updates.
- Restart the PC with Restart (not Shut down) and check for updates again.
- On Windows 11, open Settings > System > Troubleshoot > Other troubleshooters and select Run next to Windows Update. On Windows 10, use Settings > Update & Security > Troubleshoot > Additional troubleshooters.
The update installs.
If it does not helpIf it fails again, repair system files in step 3.
03Repair Windows system files
Microsoft lists 0x80070057 among the Windows Update corruption errors fixed with DISM and SFC.
- Right-click Start and open Terminal (Admin).
- Run DISM.exe /Online /Cleanup-image /Restorehealth and wait for it to finish.
- Run sfc /scannow, restart and try again.
DISM completes the repair and SFC reports no remaining problems.
If it does not helpIf DISM fails, use installation media as described in the 0x80073712 guide on this site.
04Clear the Windows Update cache
Damaged downloaded updates or update metadata can contain values Windows rejects.
- Search for cmd, right-click Command Prompt and choose Run as administrator.
- Run net stop wuauserv, net stop bits and net stop cryptsvc.
- Run ren %systemroot%\SoftwareDistribution\Download Download.bak, ren %systemroot%\SoftwareDistribution\DataStore DataStore.bak and ren %systemroot%\system32\catroot2 catroot2.bak.
- Run net start cryptsvc, net start bits and net start wuauserv, then check for updates.
Use Command Prompt for these commands; %systemroot% does not work in PowerShell.
Windows Update downloads the update again and installs it.
If it does not helpThe update history may look empty afterwards; installed updates are not affected.
05Check the drive for file system errors
File system errors on the system drive or the backup drive make Windows reject file operations.
- In Terminal (Admin), run chkdsk C: /scan, replacing C: with the drive that shows the error.
- If problems are reported, run chkdsk C: /f (for the system drive, allow it at the next restart).
Chkdsk reports no problems, and the backup or copy works.
If it does not helpIf chkdsk keeps finding errors, back up the drive and check its health in the maker's tool.
06Fix errors when formatting or copying to a drive
A damaged or unusual format on USB sticks and memory cards often produces this code.
- Copy any files you need from the drive first.
- Right-click Start > Disk Management, right-click the drive's partition and choose Format. Use exFAT for USB sticks and cards, or NTFS for internal drives and backup disks.
- If formatting fails, try another USB port or card reader.
Formatting erases everything on the drive. Check the drive letter carefully.
The drive formats and accepts files without the error.
If it does not helpIf the drive cannot be formatted on any port, it is probably failing; replace it.
07Install the update manually or repair Windows
When the automatic installation keeps failing, a direct installation or a repair install replaces the damaged files.
- Note the KB number in Settings > Windows Update > Update history, download it from the Microsoft Update Catalog (catalog.update.microsoft.com) and run the .msu file.
- If that fails too, download the Windows ISO from Microsoft, open it, run setup.exe and choose to keep personal files and apps.
Back up important files before a repair installation.
The update installs, or Windows is repaired and updates work again.
If it does not helpIf even setup fails, back up your files and do a clean installation.
Possible causes
- Damaged Windows Update files or component store
- File system errors on the drive being updated, backed up or formatted
- A damaged or unusual drive format, for example on a USB stick or SD card
- An update that was interrupted
- Third-party software interfering with the operation
Was this helpful?
Your progress is saved on this device.