Windows & BSOD · medium

How to fix Error 0x80070057: The parameter is incorrect

Windows & BSOD troubleshooting guide

What this error means

0x80070057 means that a Windows component received a value it could not use. Microsoft's name for it is ERROR_INVALID_PARAMETER, "The parameter is incorrect" (programs also call it E_INVALIDARG). The code is generic, so the cause depends on where it appears. In Windows Update, Microsoft lists it among the corruption errors fixed with DISM and SFC. During backup, copying or formatting it usually points to file system errors or a drive with an unsupported or damaged format.

Updated

Applies to
Windows 11 and Windows 10
Difficulty
Beginner to intermediate
Before changes
Low for steps 1–5; formatting in step 6 erases the drive

Reviewed by Matyáš Rada · Documentation checked: 2026-10-31 · Checked against Microsoft's documentation on Windows Update corruption errors; not tested in every situation where this generic code can appear.

Before you begin

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 complete
01Note where the error appears

This code is generic, so the fix depends on which program reported it.

  1. Windows Update or installing a feature: follow steps 2 to 4 and 7.
  2. Backup, File History, copying files or formatting a drive: go to steps 5 and 6.
  3. An app or game installer: reinstall the latest version of that program and check its support page.
What to expect

You know which part of the guide applies.

If it does not help

If you are unsure, start with step 2.

Browse related errors
02Restart and run the Windows Update troubleshooter

A pending restart or a stuck update service is the simplest cause during updates.

  1. Restart the PC with Restart (not Shut down) and check for updates again.
  2. 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.
What to expect

The update installs.

If it does not help

If it fails again, repair system files in step 3.

Browse related errors
03Repair Windows system files

Microsoft lists 0x80070057 among the Windows Update corruption errors fixed with DISM and SFC.

  1. Right-click Start and open Terminal (Admin).
  2. Run DISM.exe /Online /Cleanup-image /Restorehealth and wait for it to finish.
  3. Run sfc /scannow, restart and try again.
What to expect

DISM completes the repair and SFC reports no remaining problems.

If it does not help

If DISM fails, use installation media as described in the 0x80073712 guide on this site.

Browse related errors
04Clear the Windows Update cache

Damaged downloaded updates or update metadata can contain values Windows rejects.

  1. Search for cmd, right-click Command Prompt and choose Run as administrator.
  2. Run net stop wuauserv, net stop bits and net stop cryptsvc.
  3. Run ren %systemroot%\SoftwareDistribution\Download Download.bak, ren %systemroot%\SoftwareDistribution\DataStore DataStore.bak and ren %systemroot%\system32\catroot2 catroot2.bak.
  4. 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.

What to expect

Windows Update downloads the update again and installs it.

If it does not help

The update history may look empty afterwards; installed updates are not affected.

Browse related errors
05Check the drive for file system errors

File system errors on the system drive or the backup drive make Windows reject file operations.

  1. In Terminal (Admin), run chkdsk C: /scan, replacing C: with the drive that shows the error.
  2. If problems are reported, run chkdsk C: /f (for the system drive, allow it at the next restart).
What to expect

Chkdsk reports no problems, and the backup or copy works.

If it does not help

If chkdsk keeps finding errors, back up the drive and check its health in the maker's tool.

Browse related errors
06Fix errors when formatting or copying to a drive

A damaged or unusual format on USB sticks and memory cards often produces this code.

  1. Copy any files you need from the drive first.
  2. 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.
  3. If formatting fails, try another USB port or card reader.

Formatting erases everything on the drive. Check the drive letter carefully.

What to expect

The drive formats and accepts files without the error.

If it does not help

If the drive cannot be formatted on any port, it is probably failing; replace it.

Browse related errors
07Install the update manually or repair Windows

When the automatic installation keeps failing, a direct installation or a repair install replaces the damaged files.

  1. 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.
  2. 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.

What to expect

The update installs, or Windows is repaired and updates work again.

If it does not help

If even setup fails, back up your files and do a clean installation.

Browse related errors

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

Sources & further reading