Windows 10 home updates fail with error 0x80070057 [duplicate]

Windows Update is problematic and can fail in many ways.

Below is a list of advice that may help Windows Update work better:

  • Run the Windows Update troubleshooter in:
    Settings > Update & Security > Troubleshoot > Additional troubleshooters > Windows Update > Run the troubleshooter

  • Run Microsoft's Windows Update Troubleshooter for Windows 10

  • Reset Windows Update components by running these commands in an elevated Command Prompt:

    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 msiserver
    net start wuauserv
    net start cryptSvc
    net start bits
    

    If all goes well, delete the .old folders (or return them if a problem arrives).

  • Run the DISM tool in an elevated Command Prompt:

    Dism /Online /Cleanup-Image /ScanHealth
    Dism /Online /Cleanup-Image /CheckHealth
    Dism /Online /Cleanup-Image /RestoreHealth
    
  • Run the following in an elevated PowerShell shell:

    SC config trustedinstaller start=auto
    
  • If nothing fixes the problem, use a heavy gun:
    Repair Install of Windows 10 with an In-place Upgrade