Windows Update Error 0x80070643: What the Code Reports
0x80070643 is a generic installer failure. What the code means, why the WinRE, Defender and .NET updates produce it, and the built-in repairs in order.
0x80070643 is not a Windows Update code in the sense that 0x8024402C or 0x80070005 are. It is a Windows Installer error, ERROR_INSTALL_FAILURE, passed up through the update pipeline. Windows Update downloaded a package, handed it to the installer, and the installer stopped before the package reported success. The code says the installation failed; it does not say why. The update that produced it is the part that identifies the cause, and the same number appears on several unrelated updates for entirely different reasons.
That distinction matters when reading the screen. A failure on a cumulative update, a failure on a Defender platform update and a failure on a .NET update all print 0x80070643, and the repair that fixes one does nothing for the others. Identify the package named in the update history before changing anything.
Reading the update history to find the package that failed
Open Settings, then Windows Update, then Update history. The failed entry names the package and shows the code beside it. Note the exact title. If the entry is a security update for the Windows Recovery Environment, the cause is almost always partition geometry. If it is a Defender definition or platform update, the cause is usually the Defender service state or a corrupted platform install. If it is a .NET Framework update, the cause is usually a damaged component store or a pending reboot that never completed.
For a fuller log, the WindowsUpdate.log file and the Event Viewer under Applications and Services Logs, Microsoft, Windows, WindowsUpdateClient record each attempt with the package identity and the installer return code. The update history in Settings is enough to start; the log is what confirms a diagnosis when the history is ambiguous.
The WinRE security update and a recovery partition that is too small
This is the documented case. Microsoft shipped a security update to the Windows Recovery Environment, delivered through Windows Update. On machines whose recovery partition was created smaller than the size the update requires, the installer had nowhere to place the new image, and the update failed with 0x80070643. The hardware was healthy and Windows itself was fine. The partition was simply too small, which is why this failure appeared on working machines in large numbers rather than on damaged ones.
Microsoft published a support article for this specific failure that describes manually enlarging the recovery partition. The procedure is not a Windows Update repair. It resizes the partition that holds WinRE so the new image fits, and it involves shrinking the partition immediately before the recovery partition to free space, then extending the recovery partition into it.
Partition work can destroy data. Shrinking or extending the wrong volume, or acting on a disk whose layout differs from the one the instructions assume, can leave Windows unable to boot and can take user files with it. Back up the machine before starting, and confirm which partition is which before issuing any command. The recovery partition is typically small, unlettered and positioned after the Windows partition; verify that against the actual disk rather than assuming it.
Because the exact steps depend on the partition layout and Microsoft maintains them as the authoritative version, follow the support article for this update rather than a transcription. The article is titled for the WinRE update and 0x80070643 and is reachable from the update’s entry in the Windows release health dashboard. The general shape of the procedure, so the reader knows what they are agreeing to: identify the recovery partition and the partition before it, shrink the preceding partition by the required amount, extend the recovery partition, then re-run the update.
If the recovery partition sits in a position that cannot be extended, or the disk layout does not match, the alternative Microsoft documents is to disable WinRE, delete the undersized recovery partition and let Windows recreate it. Deleting a partition destroys everything on it. That is acceptable only for a recovery partition, which holds no user data, and only after confirming the volume is the recovery partition and not a data or system volume.
Defender updates failing with 0x80070643
Defender platform updates install through the same installer path. When the Defender platform is mid-upgrade, or the service is in a state the installer cannot work with, the update fails and reports 0x80070643. The distinguishing sign is that Windows cumulative updates install normally while the Defender entry fails repeatedly.
Check the service state first:
Get-Service WinDefend, WdNisSvc, Sense
WinDefend should report Running. A stopped or disabled WinDefend is the cause more often than a corrupted platform. Start it and set it to automatic, then retry the update. If the service refuses to start, the platform itself is damaged, and the built-in route is to reinstall the Defender platform from the Microsoft Update Catalog package for the current platform version rather than to run any third-party removal script.
A pending reboot also produces this code on Defender updates. The installer will not replace files that are in use. Check whether a restart is pending before treating the failure as damage.
.NET updates and a component store that will not commit
.NET Framework updates stage files into the component store and commit them at the end. If the store is inconsistent, the commit fails and the installer returns 0x80070643. The sign is that the same .NET update fails on every attempt, including after a restart, while other updates succeed.
Run the two built-in checks in order. The first scans the store and repairs what it can from the local cache:
dism /online /cleanup-image /scanhealth
dism /online /cleanup-image /restorehealth
scanhealth reports whether corruption was detected; restorehealth attempts the repair and needs either internet access to Windows Update or a source specified with /Source. If restorehealth cannot find a source, mount installation media matching the installed build and point /Source at its sources\sxs directory.
The second check verifies protected system files:
sfc /scannow
Run sfc after DISM, not before. SFC draws on the component store that DISM repairs, so running it against a damaged store produces a partial result. A clean report from both, with the .NET update still failing, points to the specific .NET package rather than to Windows, and the package can be installed manually from the Microsoft Update Catalog.
When the code is a symptom of a failed update pipeline
If several unrelated updates fail with 0x80070643, the installer itself is the problem rather than any one package. The least destructive step is to reset the Windows Update components: stop the Windows Update and Background Intelligent Transfer Service services, rename the SoftwareDistribution folder so Windows rebuilds it, restart the services and check for updates again. Renaming the folder discards the download cache, not installed updates; nothing is uninstalled by it.
net stop wuauserv
net stop bits
Rename C:\Windows\SoftwareDistribution to SoftwareDistribution.old, then:
net start wuauserv
net start bits
If the failures continue across all package types after the cache is rebuilt and the component store is clean, the remaining built-in option is an in-place upgrade: running setup from installation media of the same edition and build, choosing to keep files and apps. That replaces the operating system files while preserving user data and installed programs. It is not a reinstall and does not format the disk, but it is a lengthy operation and should follow the cheaper checks, not precede them.
Which cause applies to which failure
| Failed package | Cause this column rules out |
|---|---|
| WinRE security update | Defender service state, component store corruption |
| Defender platform update | Partition geometry, .NET package damage |
| .NET Framework update | Recovery partition size, Defender service state |
| Several unrelated updates | A single package; look at the installer and the update cache |
A pending restart reported as an installation failure
The installer cannot replace files that a running process holds open, and it does not always report that condition as a pending reboot. It reports 0x80070643. A machine that has been running for weeks, or one where an earlier update was staged but never restarted into, will fail the next update with this code while nothing is wrong with the disk or the store. Restarting clears the staged operation and is the first thing to try before any diagnostic command, because it costs nothing and resolves a meaningful share of these failures.
What the code does not tell you
0x80070643 carries no information about the cause beyond the fact of failure. Any instruction that presents a single fix for the code, without reference to which update produced it, is guessing. The package name in the update history is the diagnostic; the code is only the notification. For failures that are not package-specific and persist after the cache and store are rebuilt, the broader Windows Update troubleshooting path applies.
Common questions
What does error 0x80070643 mean in Windows Update?
It is the Windows Installer failure code ERROR_INSTALL_FAILURE, passed up by Windows Update when a downloaded package did not install successfully. The code reports that installation failed but not why. The update named in the update history is what identifies the actual cause.
Why does the WinRE update fail with 0x80070643?
Microsoft's Windows Recovery Environment security update needs more space than the recovery partition on some machines provides. When the partition is too small for the new image, the installer fails and reports 0x80070643. Microsoft published a support article describing how to enlarge the recovery partition, and that article is the version to follow because the steps depend on the disk layout.
Can I fix 0x80070643 by resizing the recovery partition?
Only for the WinRE update failure, and only after confirming the partition layout matches what the instructions assume. Resizing partitions can destroy data and leave Windows unable to boot if applied to the wrong volume. Back up first and verify which partition is the recovery partition before changing anything.
Why does a Defender update keep failing with 0x80070643?
Usually because the Defender service is stopped or a restart is pending, so the installer cannot replace files in use. Check the WinDefend service state and restart the machine before treating it as corruption. If the service will not start, reinstall the Defender platform from the Microsoft Update Catalog.
Does 0x80070643 mean my disk is failing?
No. In most reported cases the hardware is healthy and the cause is a setting, a partition size or a service state. Disk failure produces different codes and different symptoms. Run the package-specific checks first and treat hardware as a last possibility, confirmed by the drive's own diagnostic tools.
Read next
- UNMOUNTABLE_BOOT_VOLUME: What 0x000000ED Reports The kernel found the boot disk but could not mount its file system. Causes, how to tell file system damage from a failing drive, and repairs in order.
- Fix Boot BCD Error 0xc000000f on Windows Learn what causes Windows boot error 0xc000000f and how to fix it. Step-by-step repair using bootrec, BCD rebuild, and firmware checks.
- Windows Update Keeps Failing: Working Through It Work from cheap to expensive: disk space, then the update services, then the component store. Why DISM comes before SFC when repairing update failures.
- Windows Event Log: Reading and Finding the Error Learn to read the Windows event log: understand levels, find critical errors, and correlate crashes with preceding events. Practical steps for Event Viewer.
- Error 0x80070035: The Network Path Was Not Found 0x80070035 means Windows could not reach an SMB share at the given path. Learn to separate name resolution, port 445 reachability, and protocol refusal.