Installation failure (0x80070643)

Often a .NET or Windows Defender update, or the Windows recovery partition is too small for an update.

How to fix it

  1. Run the Windows Update troubleshooter: Settings > System > Troubleshoot > Other troubleshooters > Windows Update.
  2. Repair Windows files: open Terminal (Admin) and run DISM /Online /Cleanup-Image /RestoreHealth then sfc /scannow and restart.
  3. Install the update by hand: search its KB number on the official Microsoft Update Catalog (catalog.update.microsoft.com) and run the file for your Windows version.
  4. Last step, keeps your files and apps: download the Media Creation Tool or ISO from Microsoft, open setup.exe inside Windows and choose "Keep personal files and apps" (repair upgrade).