Microsoft error 0x80070057, “The parameter is incorrect,” typically appears during Windows updates, when restoring files, or while using system tools like Disk Cleanup. This guide walks you through the most effective fixes, from simple registry checks to system file repairs, so you can get back to normal operation quickly.
What You’ll Need
- A Windows administrator account (you’ll need it for most steps)
- An internet connection for downloading updates or running online repairs
- Patience — some steps involve scanning that can take 10–30 minutes
Step-by-Step
- Restart your computer. This clears temporary glitches that often cause the error. Save your work and reboot, then try the action that failed (e.g., Windows Update).
- Run 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 issues.
- Check your system date and time. Wrong date/time can break encryption and update processes. Right-click the clock in the taskbar, choose “Adjust date/time,” and ensure “Set time automatically” is on. If it’s already on, toggle it off and on, then sync manually.
- Clear the Windows Update cache. Open Command Prompt as administrator (right-click Start > Command Prompt (Admin)). Type the following commands one by one, pressing Enter after each:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
Then rename the SoftwareDistribution folder:ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
Restart the services with:net start wuauserv,net start cryptSvc,net start bits,net start msiserver. Then try updating again. - Run System File Checker (SFC). In the same Command Prompt, type
sfc /scannowand press Enter. Wait for the scan to complete. If it finds corrupted files, it will repair them automatically. Restart afterward. - Run DISM (Deployment Imaging Service and Management Tool). If SFC doesn’t fix it, run
DISM /Online /Cleanup-Image /RestoreHealthin the same Command Prompt. This repairs the system image. It can take 20 minutes or more. Restart after completion. - Check the registry for a common culprit. This error often occurs when the
ProgramFilesDirorProgramFilesDir (x86)registry values are malformed. Press Win+R, typeregedit, and navigate toHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion. Look forProgramFilesDir. Its value should be exactlyC:\Program Files(or your system drive). If it contains extra characters, backslashes, or quotes, right-click and modify it to the correct path. Do the same forProgramFilesDir (x86)which should beC:\Program Files (x86). Be extremely careful — incorrect registry edits can break Windows. If you’re unsure, skip this step. - Run Disk Cleanup. Search for “Disk Cleanup” in the Start menu, select your system drive, and let it calculate. Check all boxes (especially “Temporary files” and “Windows Update Cleanup”) and click OK. This removes corrupted temporary files that can trigger the error.
- Perform a clean boot. Press Win+R, type
msconfig, go to the “Services” tab, check “Hide all Microsoft services,” then click “Disable all.” Go to the “Startup” tab and click “Open Task Manager,” disable all startup items. Restart and try the failing action. If it works, re-enable services one by one to find the culprit. - Update or reinstall the problematic driver. If the error appears when using a specific device (e.g., external hard drive), right-click the Start button, select “Device Manager,” find the device, right-click it, and choose “Update driver.” If that fails, uninstall the device and restart — Windows will reinstall it automatically.
Common Mistakes
- Skipping the restart. Many users jump straight to complex fixes when a simple reboot resolves the issue.
- Editing the registry without a backup. Always export the registry key before modifying it (right-click the key > Export). A wrong value can make Windows unbootable.
- Running SFC without admin rights. The scan will fail or do nothing if you don’t run Command Prompt as administrator.
- Deleting the SoftwareDistribution folder instead of renaming it. Renaming is safer because Windows can recreate it. Deleting it outright can cause update failures.
- Ignoring disk space. Windows Update needs several gigabytes of free space. If your drive is nearly full, the error can appear. Free up space before troubleshooting.
Tips
- Create a restore point first. Go to Control Panel > Recovery > Configure System Restore and create a restore point before making changes. This gives you a rollback option.
- Use the Media Creation Tool for stubborn update issues. If Windows Update still fails, download the Media Creation Tool from Microsoft’s official site and choose “Upgrade this PC now.” This reinstalls Windows while keeping your files and apps.
- Check for third-party antivirus interference. Temporarily disable your antivirus (not Windows Defender) and try the update. Some security programs block system files.
- Keep your system drive clean. Regularly run Disk Cleanup and uninstall unused programs. A healthy system reduces the chance of this error.
Troubleshooting
If the error persists after trying all steps above, consider these additional approaches:
- Check the Windows Event Viewer. Press Win+R, type
eventvwr, and look under Windows Logs > System and Application for errors around the time the issue occurred. The details may point to a specific service or file. - Use the Windows Update Assistant. Microsoft’s Update Assistant (available on their official site) can force the latest feature update, which often bypasses the error.
- Perform a repair install. Use the Media Creation Tool to download the ISO, mount it, and run
setup.exefrom inside Windows. Choose “Keep personal files and apps.” This reinstalls the OS without losing data. - Check for disk errors. Open Command Prompt as admin and run
chkdsk /f /ron your system drive. You’ll need to restart. This can fix bad sectors that cause the error. - If all else fails, reset Windows. Go to Settings > Update & Security > Recovery and choose “Reset this PC.” Select “Keep my files” to preserve personal data while reinstalling Windows. This is a last resort.
Frequently Asked Questions
What causes error 0x80070057?
It’s usually caused by corrupted system files, a broken Windows Update cache, incorrect registry entries, or issues with the system date/time. It can also appear when restoring files from a backup that has a corrupted index.
Can I fix this error without admin rights?
No. Most fixes require administrative privileges. If you’re on a work or school computer, contact your IT administrator.
Will I lose my files if I run SFC or DISM?
No. These tools only repair Windows system files. Your personal files, documents, and installed programs remain untouched.
How long does DISM take?
It typically takes 15–30 minutes, but it can take longer on older hardware or if the system image is severely damaged. Let it run to completion without interruption.
Is it safe to rename the SoftwareDistribution folder?
Yes. Windows will recreate it automatically when you restart the update service. Renaming is safe and reversible.
What if the error appears when restoring files from a backup?
Try restoring to a different folder first. If that fails, the backup itself may be corrupted. Use the backup software’s repair tool if available, or create a new backup from the original data.
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
- Custom Alphanumeric Passcode iPhone: How to Set
- HomePod Software Update: How to Install
- How to Shuffle Photos in Slideshow on iPhone
- Quick Look Not Working on Mac? Fixes That Work
- How to See Deleted WhatsApp Messages on iPhone
- iPhone X Keeps Restarting? Fixed