sodcalculator

10 Tech How-To

Windows 0x80070057 Error: Fix It in 10 Steps

Guide 10-44827 · Updated · Step by step

This guide walks you through the most common causes and fixes for Windows error 0x80070057, which typically appears during Windows Update, disk formatting, or file operations. You’ll learn how to identify the trigger and apply targeted solutions, from simple registry tweaks to system file repairs, without needing advanced IT skills.

What You’ll Need

  • Administrator access to your Windows PC
  • A stable internet connection
  • Backup of important files (recommended before registry edits)

Step-by-Step

  1. Identify the context. The error 0x80070057 appears in different scenarios. Note exactly what you were doing when it occurred: Windows Update, Disk Management, copying files, or System Restore. The fix often depends on the context.
  2. Run Windows Update Troubleshooter. Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters. Select “Windows Update” and run the troubleshooter. It will automatically detect and fix common update issues.
  3. Check system date and time. Incorrect date, time, or time zone can cause update and certificate errors. Right-click the clock in the taskbar, choose “Adjust date/time,” and ensure “Set time automatically” and “Set time zone automatically” are on. If they are already on, toggle them off and on again, then restart.
  4. Clear the SoftwareDistribution folder. Open Command Prompt as administrator (type “cmd” in Start, right-click, “Run as administrator”). Run these commands one by one:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
    Then rename the 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 Windows Update again.
  5. Run System File Checker (SFC). In the same Command Prompt, type sfc /scannow and press Enter. Wait for the scan to complete (it may take 15-20 minutes). If it finds corrupted files, it will repair them automatically. Restart your PC afterward.
  6. Use DISM to repair the system image. If SFC doesn’t fix the issue, run DISM /Online /Cleanup-Image /RestoreHealth in the same Command Prompt. This repairs the Windows image itself. Allow it to finish, then restart.
  7. Check disk for errors. Open File Explorer, right-click your system drive (usually C:), select Properties > Tools > Check (under Error checking). Follow the prompts to scan and repair the drive. Alternatively, run chkdsk /f /r in Command Prompt (you may need to restart).
  8. Adjust registry for Disk Management errors. If the error occurs when formatting or partitioning a disk, press Win+R, type regedit, and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vds. Create a new DWORD (32-bit) value named DisableVds and set its value to 1. Restart your PC. This disables the Virtual Disk Service, which often resolves the error.
  9. Perform a clean boot. Some third-party software can interfere with system operations. 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, then restart. Try the operation again. If it works, re-enable services one by one to find the culprit.
  10. Reset Windows Update components manually. If the above steps fail, download the “Windows Update Troubleshooter” from Microsoft’s official website (search for it) and run it. It will reset Windows Update components automatically. Alternatively, you can use the “Reset Windows Update” script from Microsoft’s support site (run as administrator).

Common Mistakes

  • Skipping the context identification. Applying a fix meant for Windows Update to a disk error will waste time. Always match the fix to the situation.
  • Not running Command Prompt as administrator. Many commands require elevated privileges. If you see “Access denied,” you’re not running as admin.
  • Deleting the SoftwareDistribution folder instead of renaming it. Renaming is safer; if something goes wrong, you can revert.
  • Editing the registry without backup. Always export the registry key before making changes. Right-click the key and select “Export” to save a .reg file.
  • Ignoring disk errors. If chkdsk finds bad sectors, you may need to replace the drive. Don’t ignore repeated warnings.

Tips

  • Create a system restore point before making significant changes. Search for “Create a restore point” in Start, then follow the prompts.
  • Keep Windows and drivers updated to prevent future errors.
  • If the error occurs during file copy, try copying to a different location or using a different USB port.
  • Use the built-in “Disk Cleanup” tool to free up space; low disk space can cause update failures.
  • For persistent errors, consider using the “Media Creation Tool” to perform an in-place upgrade repair, which keeps your files and apps.

Troubleshooting

If the error persists after trying all steps:

  • Check the Windows Event Viewer for more details. Press Win+X, select “Event Viewer,” go to Windows Logs > System, and look for errors with the same timestamp as the 0x80070057 error. The details may point to a specific service or driver.
  • Run the “Windows Update Assistant” from Microsoft’s website to manually update to the latest version.
  • If the error is related to disk formatting, try using Diskpart in Command Prompt: type diskpart, then list disk, select the disk (select disk X), clean it (clean), create a partition (create partition primary), format it (format fs=ntfs quick). This is more thorough than Disk Management.
  • As a last resort, perform a system reset (Settings > Update & Security > Recovery > Reset this PC). Choose “Keep my files” to preserve your data.

Frequently Asked Questions

What does error 0x80070057 mean?

It’s a generic Windows error that usually indicates an invalid argument—often a problem with the system’s date/time, corrupted system files, or a faulty disk operation.

Can I fix this error without admin rights?

Most fixes require administrator privileges. If you don’t have them, contact your system administrator or the person who set up your PC.

Will this error cause data loss?

Usually not. The error stops an operation, but it doesn’t delete files. However, if the error occurs during disk formatting, that operation will erase data—so always back up first.

Why does this error appear when I try to format a USB drive?

It often happens when the USB drive has a corrupted partition table or when Windows’ Virtual Disk Service is misconfigured. The registry fix in Step 8 usually resolves this.

Is it safe to use the registry fix?

Yes, if you follow the steps carefully and back up the registry first. The fix only disables a service that is not essential for normal operation.

How long does the SFC scan take?

It can take anywhere from 10 to 30 minutes depending on your system speed and storage. Let it run to completion without interrupting.

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 →