sodcalculator

10 Tech How-To

Fix Windows Error 0x80070057: Parameter Is Incorrect

Guide 10-57426 · Updated · Step by step

Windows error 0x80070057, which appears with the message “The parameter is incorrect,” typically strikes during Windows updates, software installations, or when restoring system files. This guide walks you through the most effective fixes, from simple registry edits to system file repairs, so you can get back to installing what you need.

What You’ll Need

  • Administrator access to your Windows PC
  • A stable internet connection
  • About 30 minutes of time
  • Optional: a USB drive for creating a bootable Windows installation media (only if you need the advanced repair option)

Step-by-Step

  1. Restart your computer. Sounds simple, but a fresh start clears temporary glitches that can trigger this error. Save your work and reboot, then try the installation or update again.
  2. Run the Windows Update Troubleshooter. Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters, select Windows Update, and click Run the troubleshooter. Follow the prompts; it will automatically detect and fix common update issues.
  3. Check your system date and time. An incorrect date or time zone can cause certificate and update failures. Right-click the clock in the taskbar, choose Adjust date/time, and ensure Set time automatically and Set time zone automatically are both on.
  4. Clear the Windows Update cache. Open Command Prompt as administrator (right-click Start > Command Prompt (Admin)). Type the following commands one at a time, pressing Enter after each:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
    Then rename the cache folder: ren C:\Windows\SoftwareDistribution SoftwareDistribution.old and ren C:\Windows\System32\catroot2 catroot2.old. Finally, restart the services: net start wuauserv, net start cryptSvc, net start bits, net start msiserver. Close the prompt and retry the update.
  5. Run System File Checker (SFC). Open Command Prompt as administrator and type sfc /scannow. This scans for corrupted system files and repairs them. Let it finish completely; it may take 15-20 minutes.
  6. Run DISM (Deployment Imaging Service and Management Tool). In the same Command Prompt window, type DISM /Online /Cleanup-Image /RestoreHealth and press Enter. This repairs the Windows system image itself. Wait for it to complete, then restart your PC.
  7. Adjust the registry (fix for Windows Update error). This fix addresses a known cause where a registry key named ProductVersion is missing or incorrect. Open Registry Editor by typing regedit in the Start menu search and pressing Enter. Navigate to:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
    Look for a value named ProductVersion. If it does not exist, right-click in the right pane, select New > String Value, and name it ProductVersion. Double-click it and set its value to 6.3 (for Windows 8.1/10/11) or 6.1 (for Windows 7). Close the editor and restart.
  8. Run the System Update Readiness Tool (Windows 7 only). If you are on Windows 7, download the System Update Readiness Tool from Microsoft’s official site and run it. It checks for inconsistencies that could cause update failures.
  9. Perform a clean boot. Third-party software can interfere with installations. Type msconfig in the Start menu search. In the Services tab, check Hide all Microsoft services, then click Disable all. In the Startup tab, click Open Task Manager and disable all startup items. Restart and try the installation again.
  10. Use the Windows Media Creation Tool (for Windows 10/11). If the error occurs during a feature update, download the Media Creation Tool from Microsoft’s website, run it, and choose Upgrade this PC now. This performs an in-place repair while keeping your files and apps.
  11. Reset Windows Update components manually (advanced). If the cache clearing in step 4 didn’t work, you can reset all update components with a single script. Open Notepad, paste the following, and save as resetwu.bat on your desktop:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 catroot2.old
    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver
    pause

    Right-click the file and select Run as administrator.
  12. Perform a system restore. If the error started recently, restore your PC to a point before it occurred. Type rstrui in the Start menu search, choose a restore point, and follow the prompts.
  13. Reset or reinstall Windows (last resort). If nothing else works, go to Settings > Update & Security > Recovery and choose Reset this PC. Select Keep my files to preserve personal data while reinstalling Windows.

Common Mistakes

  • Skipping the SFC/DISM steps and jumping straight to registry edits, which can be risky if done incorrectly.
  • Forgetting to run Command Prompt as Administrator; many commands will fail silently without elevated privileges.
  • Deleting the SoftwareDistribution folder instead of renaming it; deletion can cause more issues.
  • Not restarting after each step before testing the fix again.
  • Using third-party registry cleaners that may remove important keys.

Tips

  • Always back up your registry before editing it: in Registry Editor, click File > Export and save a copy.
  • Keep your system drivers updated, especially chipset and storage drivers, as outdated drivers can trigger this error.
  • Ensure you have at least 20 GB of free disk space for Windows updates.
  • If the error occurs during a specific app installation, try downloading the installer again; the file may be corrupted.

Troubleshooting

If the steps above don’t resolve the issue, try these additional checks:

  • Check the Windows Event Viewer. Type eventvwr in the Start menu. Look under Windows Logs > System for errors around the time of the failure. The details may point to a specific driver or service.
  • Run the Disk Cleanup tool. Type cleanmgr, select your system drive, and clean up temporary files and system files. Low disk space can cause update failures.
  • Check for malware. Run a full scan with Windows Defender or your preferred antivirus. Malware can corrupt update components.
  • Try the installation in Safe Mode. Boot into Safe Mode (Shift + Restart from the login screen, then Troubleshoot > Advanced Options > Startup Settings > Restart > press 4). Attempt the update or installation there.
  • Verify your Windows version is supported. If you’re running an older version like Windows 7, updates may require specific prerequisites that are no longer available. Consider upgrading.

Frequently Asked Questions

What does error 0x80070057 actually mean?

It’s a generic Windows error indicating that a parameter passed to a function was invalid. In practice, it usually means a Windows component (like the Update service) received corrupt or incomplete data.

Is it safe to edit the registry to fix this?

Yes, if you follow the exact steps and back up the registry first. The specific fix for ProductVersion is well-documented, but making other random changes can cause system instability.

How long does the SFC scan take?

Typically 15-20 minutes, but it can take longer on older or heavily used systems. Let it finish; interrupting it can cause more problems.

Will resetting my PC delete my files?

Choosing Keep my files will preserve your personal documents, photos, and settings, but it will remove installed apps and programs. Always back up important data before doing this.

Can this error affect my hardware?

No, 0x80070057 is a software-level error. It does not indicate a hardware problem, though failing storage could cause corruption that leads to it.

Why does this error happen during Windows updates but not other installs?

Windows Update relies on several interdependent services and a clean cache. If any of those get corrupted, the update process fails with this generic error, while other installers may work fine.

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 →