← All posts
Tools · 24 November 2026

Windows update error 0x80070643: how to fix it

By Ninki Gen Studio · 6 min read

Illustration: Windows update error 0x80070643: how to fix it
TL;DR
  • Error 0x80070643 is a generic Windows Installer failure. It tells you something broke, not what.
  • The code maps to Windows Installer error 1603, and common causes include corrupted system files or update caches, .NET Framework issues, pending restarts, and a recovery partition too small for the update.
  • Try the fixes in this order: a proper restart, a cache reset, then DISM followed by SFC.
  • If one specific update keeps failing, match it to its cause: .NET, Defender definitions or the recovery partition.

Windows update error 0x80070643 on a brand-new Windows 10 install is a special kind of annoying. You've just wiped the slate clean, so nothing should be broken yet. The Super User thread asking about exactly this has over 2,000 views and mostly talks about individual update numbers, not the cause. Here's the cause, and the fixes to try in order, starting with the ones that cost you nothing.

Why does error 0x80070643 happen right after a fresh Windows 10 install?

Because a fresh install asks Windows Update to catch up on months or years of updates in one go, and the installer ends up tripping over itself. The code 0x80070643 translates to `ERROR_INSTALL_FAILURE`, a generic fatal error the Windows Installer engine throws whenever a package or servicing script stops before it finishes. It doesn't say which part failed.

On a new setup, Windows downloads the monthly cumulative update, which carries the servicing stack update inside it as one package, along with separate .NET updates. One installer can then start while an earlier one still has system files locked in a "pending restart" state, and the later one fails.

A fresh install also brings two quirks of its own. Setup often creates a recovery partition that's too small for modern recovery-environment updates, which need at least 250 MB of free space. And some .NET components may not be set up properly yet. An established PC has long since cleared these queues, which is why the same error looks rarer on routine updates.

That also tells you how to fix it. Start with the cheapest fix for the queue problem, and only move on to repairs that target one specific component if the error keeps coming back.

What should you try first for error 0x80070643?

Restart the PC properly, then let Windows Update try again. Use Start, then Power, then Restart. Don't use Shut Down, because Fast Startup can keep kernel sessions alive, so a shutdown may leave the pending file operations in place. A real restart flushes them.

Once you're back at the desktop, open Windows Update and check for updates again. Take a note of which update is named next to the error, because that decides where you go if the restart doesn't work. If it's a .NET update, a Defender definition update or a recovery-environment update, you can skip ahead to the sections below. If it's a plain cumulative update, or the name changes each time, carry on in order.

Illustration: the Start menu power options with Restart chosen instead of Shut Down
Restart, not Shut Down, is the option that flushes pending work

How do you reset the Windows Update cache from the command line?

You stop the update services, rename the two cache folders, then start the services again. The order matters. Skip the stopping step and Windows will usually refuse to rename `SoftwareDistribution` with an "access denied" message, because the services still have it open. Microsoft's Windows Update troubleshooting resources cover the same ground if you want to check my homework.

Open the Start menu, search for Command Prompt, right-click it and choose Run as administrator. Then type these one at a time, pressing Enter after each:

  1. net stop wuauserv
  2. net stop cryptSvc
  3. net stop bits
  4. net stop msiserver
  5. ren %systemroot%\SoftwareDistribution SoftwareDistribution.old
  6. ren %systemroot%\System32\catroot2 catroot2.old
  7. net start wuauserv
  8. net start cryptSvc
  9. net start bits
  10. net start msiserver

Steps 1 to 4 stop the services. Steps 5 and 6 rename the download staging folder and the catalogue folder. Steps 7 to 10 start the services again. Renaming leaves the old files untouched, so nothing is lost if you need to look at them later. Restart, then check for updates again.

Takeaway

The error code is generic, and a fresh install is where it piles up, because a big backlog of updates collides with pending restarts. A proper restart and a cache reset deal with that, and both are safe to repeat.

How do DISM and SFC fix a broken update?

DISM repairs the local component store, and SFC then scans the protected system files and replaces corrupted ones with known-good copies from that store, so you run DISM first. Most guides tell you to run `sfc /scannow` straight away. If the store SFC copies from is itself damaged, though, SFC has nothing good to restore from.

In the same elevated Command Prompt, run these in order:

  1. DISM.exe /Online /Cleanup-Image /RestoreHealth
  2. sfc /scannow

When both finish, restart and check for updates again. If the error clears, you're done. If it doesn't, you've ruled out a broken component store, and the cause is more likely one specific update.

Illustration: DISM repairing the component store that SFC restores system files from
DISM repairs the store first, then SFC copies files from it

What if the error comes from .NET Framework or Defender updates?

Then you repair that one component directly instead of the whole update system. The two have different fixes, so match yours to the update named next to the error.

For a .NET Framework update that fails on a new setup, use Microsoft's official .NET Framework Repair Tool. Download and run `NetFxRepairTool.exe`. It inspects and resets the registry keys and file registrations .NET depends on, and you don't need to reinstall Windows. Run Windows Update again afterwards.

For a Defender definition update (KB2267602), the usual causes are corrupted update files, a conflict with third-party security software, or a definition version that's stuck or superseded. You can clear the definitions and pull fresh ones yourself. In an elevated Command Prompt, run these two commands in order:

  1. "%ProgramFiles%\Windows Defender\MpCmdRun.exe" -RemoveDefinitions -All
  2. "%ProgramFiles%\Windows Defender\MpCmdRun.exe" -SignatureUpdate

The second command downloads current definitions. Then retry Windows Update.

When is error 0x80070643 caused by the recovery partition?

When a Windows Recovery Environment (WinRE) security update, such as KB5034441, can't fit in a recovery partition with less than 250 MB free. Standard Windows installs give that partition roughly 500 MB to over 1 GB, so the total size usually isn't the problem; the update needs 250 MB of it free, and a partition that's already full may not have room. Windows then reports the generic 0x80070643 failure when what it means is "not enough disk space". Nothing is corrupted, and a cache reset or DISM can't fix it.

You can check the state of the recovery environment with this command in an elevated Command Prompt:

  1. reagentc /info

Microsoft's KB5028997 instructions outline the fix. You disable the recovery environment with `reagentc /disable`, then use `diskpart` to shrink the Windows partition (`shrink desired=250 minimum=250`) so the recovery partition can grow. This is the only fix in the article that changes your disk layout, so follow Microsoft's page line by line rather than from memory.

Update numbers like KB5034441 will keep changing as Microsoft ships new patches. The method stays the same: read which component is failing, and pick the fix that matches it.

Takeaway

If the general fixes didn't work, the error usually points at one component. A .NET failure needs the repair tool, a Defender failure needs its definitions refreshed, and a recovery-environment failure needs more free space in the recovery partition.

Key takeaways
  • Read which update is failing before you choose a fix, because the code alone can't tell you.
  • Restart between attempts instead of shutting down, so pending installer work really clears.
  • Stop the update services before renaming anything, and run DISM before SFC.
  • The recovery partition fix is the only one that touches your disk, so use Microsoft's own page for it.
  • Don't rely on specific update numbers. The order of the fixes and the habit of matching the failing update to its cause will still apply after they change.

Useful digital workflows, everyday? Join our free Telegram channel.

Join on Telegram →