Printable checklist

How to Fix Error 0x80070057 When Running an MSI Installer

Error 0x80070057 means the installer was handed a parameter it cannot use — a bad command line, an invalid path, or a damaged Installer service registration. Fix the argument, reset the Installer service, and clear the broken leftover entry.

By 52runoob Editorial Team · 15 steps · Computers · Updated December 6, 2026

Back to the guide
  1. 1. Write Down the Exact Command You Ran

    If you started the MSI from a terminal, the first suspect is the command itself. A correct install command is `msiexec /i "C:\Setup\app.msi"` — `/i` for install, path in quotes. Common mistakes that produce 0x80070057: a trailing…

  2. 2. Run It With Verbose Logging to See the Real Parameter

    Add logging to see exactly which parameter the Installer rejects: `msiexec /i "C:\Setup\app.msi" /l*v "C:\Setup\install.log"`. Open the log and search for `return value 3` — the lines above it name the property or path that failed. This…

  3. 3. Move the MSI to a Simple Path

    A path containing special characters — an ampersand, a hash sign, a trailing space — is itself the invalid parameter. Copy the MSI to a plain folder like `C:\Setup` and run it from there with the name in quotes. A successful install from…

  4. 4. Double-Click the MSI Instead of Commanding It

    Bypass the command line entirely: double-click the `.msi` file. Explorer launches it through the registered handler with no parameters at all. If it installs cleanly this way, your command line was the problem and the package was never…

  5. 5. Check the Destination Folder the Installer Chooses

    On the destination screen, watch for a path that ends in a space or period, or one that points at a drive that does not exist. Both are invalid parameters the installer rejects with 0x80070057. Retype the destination by hand to a plain…

  6. 6. Confirm the Installer Service Is Running

    Press Start, type `services.msc`, and find Windows Installer. Its status should be Running or Manual, and its startup type must not be Disabled. If it is stopped, right-click and start it, then run the MSI again. A disabled Installer…

  7. 7. Re-register the Installer Engine

    Damaged registration makes the service misread its own inputs. In an elevated terminal run `msiexec /unregister`, then `msiexec /regserver`. No output appears on success — the commands silently rebuild the Installer's registry entries.…

  8. 8. Clear the Installer Cache for the Broken Package

    A failed earlier attempt leaves a cached copy that the new run trips over. Download Microsoft's Program Install and Uninstall troubleshooter, run it, choose Installing, and let it remove the broken entry. Then install fresh. The…

  9. 9. Clean Out the Temp Folder the Installer Uses

    The Installer unpacks into your temp folder, and a temp directory full of stale files produces odd parameter failures. Run `%temp%` in the address bar, select everything that deletes cleanly, and remove it. Rerun the installer with a…

  10. 10. Try the Install Under a New Administrator Account

    If the error follows your account but the package is known-good, your profile's Installer data is damaged. Create a new local administrator account under `Settings > Accounts > Other users`, sign in there, and run the MSI. A clean install…

  11. 11. Run SFC to Restore Installer Components

    When every MSI fails with 0x80070057, Windows Installer's own files are damaged. Run `sfc /scannow` in an elevated terminal. It checks the Installer engine and its dependencies and restores any modified files. Reboot, then run the MSI…

  12. 12. Follow With DISM When SFC Cannot Finish the Job

    If SFC reports damage it cannot repair, rebuild the component store first: `DISM /Online /Cleanup-Image /RestoreHealth`, then `sfc /scannow` again. Installer errors that survive both commands are rare — this pair resolves the system-level…

  13. 13. Check Date, Time, and Regional Settings

    The Installer validates date-dependent parameters against the system clock, and a clock set years off can make every parameter fail validation. Confirm the date and time under `Settings > Time & language`, sync with the time server, and…

  14. 14. Try a Clean Boot and Install Again

    Third-party services hook into installs and feed bad parameters to the Installer engine. Run `msconfig`, hide Microsoft services, disable the rest, and reboot into the clean state. Install the MSI there. If it works, re-enable services in…

  15. 15. Extract the MSI and Install Its Contents Directly

    For an MSI that still refuses, open it in 7-Zip and extract its payload to a folder. Many MSIs contain a self-contained app directory you can copy into place and run directly. You skip the Installer engine entirely — the trade-off is…