sodcalculator

10 Tech How-To

Fix 0x80070057 The Parameter Is Incorrect on Windows

Guide 10-57696 · Updated · Step by step

This error, 0x80070057, appears when Windows cannot complete a task because a parameter it received is invalid or out of range. It commonly shows up during Windows Update, disk management, file transfers, or when restoring system files. The fixes below address the most frequent causes, from simple disk checks to registry edits, and work on Windows 10 and 11.

What You’ll Need

  • Administrator access to the PC (you’ll need to confirm UAC prompts).
  • About 15–30 minutes, depending on which fix applies.
  • Optional: a backup of your registry before editing (the built-in export function is enough).

Step-by-Step

  1. Run the Windows Update troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters (Windows 11) or Settings > Update & Security > Troubleshoot > Additional troubleshooters (Windows 10). Select Windows Update and run it. This often clears corrupted update cache or resets stuck components.
  2. Check your disk for errors. Open Command Prompt as administrator (right-click Start > Terminal (Admin) or Command Prompt (Admin)). Type chkdsk C: /f /r and press Enter. If prompted to schedule it for the next restart, type Y and reboot. This scans and repairs file system errors that can trigger the parameter error.
  3. Run the System File Checker and DISM. In the same administrator Command Prompt, run sfc /scannow. After it finishes, run DISM /Online /Cleanup-Image /RestoreHealth. This repairs system image corruption that may cause the error. Restart after both complete.
  4. Clear the SoftwareDistribution folder. Stop Windows Update services by typing in the admin Command Prompt: net stop wuauserv, then net stop bits. Now open File Explorer and go to C:\Windows\SoftwareDistribution. Delete all files inside (if some are in use, skip them or restart and try again). Then restart the services with net start wuauserv and net start bits.
  5. Set the correct date, time, and time zone. Right-click the clock in the taskbar and select Adjust date/time. Toggle Set time automatically and Set time zone automatically on. If they’re already on, turn them off, set the correct values manually, then turn them back on.
  6. Repair the registry (if the error occurs during Windows Update). Press Win + R, type regedit, and press Enter. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate. Right-click the WindowsUpdate key and choose Export to back it up. Then delete the entire WindowsUpdate key (right-click > Delete). Close the editor and restart. Windows will recreate the key with defaults.
  7. Re-register Windows Update DLLs. In the admin Command Prompt, type these one at a time and press Enter after each: regsvr32 wuapi.dll, regsvr32 wups.dll, regsvr32 wuaueng.dll, regsvr32 wucltui.dll. You should see a success message for each.
  8. Perform a clean boot. Type msconfig in the Run dialog (Win + R). On the Services tab, check Hide all Microsoft services, then click Disable all. On the Startup tab, click Open Task Manager and disable all startup items. Restart and try the operation that failed. If it works, a third-party service or app is the culprit.

Common Mistakes

  • Running commands without administrator privileges – many fixes silently fail if the Command Prompt isn’t elevated.
  • Skipping the restart after chkdsk or sfc – these tools need a reboot to finish repairs.
  • Deleting the SoftwareDistribution folder without stopping the services first – files will be locked and the deletion will fail.
  • Editing the registry without a backup – a wrong deletion can cause more problems. Always export before making changes.

Tips

  • Create a system restore point before making registry changes. Type Create a restore point in Start, click Create, and follow the prompts.
  • If the error appears during file copy, try copying to a different drive or use a USB stick to rule out a failing disk.
  • For Windows Update errors, sometimes running the update again after a few minutes works because the issue is temporary.
  • Keep your drivers updated, especially chipset and storage drivers, as outdated drivers can cause parameter errors.

Troubleshooting

If the error persists after all the above, try the following:

  • Check for a failing hard drive. Use the built-in Windows Memory Diagnostic (type it in Start) and run a disk health check with wmic diskdrive get status in the admin Command Prompt. If it says “Error,” back up your data and replace the drive.
  • Use System Restore. If the error started recently, restore your PC to a point before it began. Type System Restore in Start, choose a restore point, and follow the wizard.
  • Run the Windows Update troubleshooter again after a reboot. Sometimes the first run fixes something that only becomes effective after a restart.
  • Try the Media Creation Tool. If Windows Update is completely broken, download the Media Creation Tool from Microsoft’s official site, run it, and choose “Upgrade this PC now.” This reinstalls Windows while keeping your files and apps.
  • Perform a repair install. As a last resort, boot from a Windows installation USB, choose “Repair your computer,” then “Troubleshoot” > “Startup Repair.” If that fails, you may need to reset Windows (keep your files) from Settings > System > Recovery.

Frequently Asked Questions

Why does error 0x80070057 happen during Windows Update?

It usually means the update process received an invalid parameter, often due to corrupted update files, a wrong system time, or a damaged Windows Update component. The steps above (clearing SoftwareDistribution, re-registering DLLs, checking time) directly address these.

Can I fix 0x80070057 without admin rights?

No, most fixes require administrator access because they modify system files, services, or the registry. If you don’t have admin rights, contact your IT department or the person who manages the computer.

Will I lose my files if I follow these steps?

No, the steps are non-destructive. They only repair system components. The only step that could affect data is chkdsk, but it only repairs the file system and doesn’t delete your files. Always back up important data before major repairs, just in case.

Is it safe to delete the WindowsUpdate registry key?

Yes, Windows recreates it automatically on the next update. It’s a common fix for update-related errors. However, always export the key first so you can restore it if something goes wrong.

Why does the error occur when I try to copy a large file?

This can happen if the destination drive is formatted with FAT32, which has a 4GB file size limit. Convert the drive to NTFS (using convert D: /fs:ntfs in an admin Command Prompt, replacing D: with your drive letter) or use a different drive.

How long does the DISM command take?

It can take anywhere from 5 to 30 minutes depending on your system and internet speed. It may appear stuck at 20% or 40% for a while – that’s normal. Let it finish, and don’t close the window.

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 →