Try these steps in order:
- Check for updates again
- Go to Start > Settings > Windows Update > Check for updates.
- Make sure the device is connected to the internet.
- Run the Windows Update troubleshooter
- Go to Start > Settings > System > Troubleshoot > Other troubleshooters.
- Find Windows Update and select Run.
- Apply any fixes it suggests, then restart the PC.
- Repair system files
- Open Command Prompt as administrator.
- Run:
DISM.exe /Online /Cleanup-image /Restorehealth sfc /scannow - Wait for both commands to finish. If DISM succeeds, Command Prompt should show that the restore operation completed successfully.
- Restart the device and try Windows Update again.
- Clear the Windows Update cache
- Warning: this removes the current update cache so Windows can download update files again.
- Press Win + R, type
services.msc, and press Enter. - Right-click Windows Update and select Stop.
- Go to
C:\Windows\SoftwareDistribution. - Delete the files and folders inside.
- Return to Services, right-click Windows Update, and select Start.
- Try the update again.
- Check free space
- Major updates need free storage.
- Windows requires at least 16 GB free for a 32-bit OS or 20 GB for a 64-bit OS.
- If the updates still fail with Retry
- Temporarily disable any third-party antivirus or firewall, then try again.
- Restart the PC and run Windows Update once more.
If the failing update shows error 0x80070005, check that the account has administrator access before installing updates.