What 0x80070643 means
Windows numbers this failure 0x80070643, the generic code for an installation that failed. An installer package is the bundled set of files and instructions Windows runs to install an update or program.
The code confirms a package failed. It does not name the package, and it does not say whether the package, a shared component it needs, or Windows itself is at fault. Update history names the package. Start there.
First, name the failing update
This check changes nothing, and it picks every step that follows.
Fixopen Settings → Windows Update → Update history. Find the entry marked Failed with this code, and note its full name and its KB number — the number Microsoft gives the update, which begins with KB. If its name mentions the .NET Framework, use the next section. Otherwise use the one after it.
Then see whether Windows logged more. In PowerShell, this lists recent update failures:
% Get-WinEvent -FilterHashtable @{LogName='System'; ProviderName='Microsoft-Windows-WindowsUpdateClient'; StartTime=(Get-Date).AddDays(-7)} | Where-Object { $_.Message -like '*0x80070643*' } | Format-List TimeCreated, Id, MessageRun in PowerShell; no administrator rights needed. Look for the KB number and the update name in each message. No entries does not prove no update failed, because Update history is the fuller record.
NoahNoah searches the System log for entries from the Windows Update client that carry this code, and reads the Windows version and build. It cannot read Update history itself, so it cannot name the failing update without that log entry. Noah has no built-in Windows Update repair.
A .NET Framework update failed
Update history marks a .NET Framework update Failed with 0x80070643. Other updates install normally.
The package installs into the .NET Framework. If that framework's files are damaged, every .NET update fails the same way while unrelated updates succeed. Repair the framework, not Windows Update as a whole.
Fixrestart the PC first, then retry the update once. If it fails again, download and run the .NET Framework Repair Tool from Microsoft, restart when it finishes, and retry the update. Don't uninstall .NET Framework versions by hand; programs on the PC rely on them.
NoahNoah lists the software installed on the PC, including each .NET and Visual C++ package listed in Programs and Features, with its version. That list does not show whether the framework's files are damaged.
A Windows or Defender update failed
The failing update is a Windows, security, or Microsoft Defender update. It fails on every retry.
Then a file the installer needs is probably damaged. Repair Windows' own files. DISM supplies good copies of system files, and SFC (System File Checker) uses them to replace damaged ones. Microsoft says to run DISM before SFC.
Fixtype cmd in the Search box, right-click Command Prompt, and choose Run as administrator. Then run these one at a time:
% DISM.exe /Online /Cleanup-image /RestorehealthRun in the administrator Command Prompt. Microsoft notes it can take several minutes. Wait until it reports the operation completed successfully.
% sfc /scannowRun after DISM finishes. Don't close the window until verification reaches 100%. Then restart and retry the update.
NoahNoah can search the System log for the failing update's KB number. Noah has no built-in DISM or SFC repair, and no built-in reset of the update download folder.
Every update fails with this code
Update history shows several different updates Failed with 0x80070643, over several days.
When unrelated updates all fail, the shared part is the update machinery itself or the component store it installs from. Run the DISM and SFC repair above first. It repairs that store without deleting anything.
If every update still fails after DISM, SFC, and a restart, the download folder Windows Update stages packages in may hold a damaged copy. Resetting it makes Windows download fresh copies. It also removes the record of what failed, so note the failing KB numbers above before you do it.
Fixget hands-on help for this step if renaming system folders is unfamiliar. Open an administrator Command Prompt as in the section above. Run net stop wuauserv and then net stop bits to stop the update services. Rename C:\Windows\SoftwareDistribution to SoftwareDistribution.old — rename it, never delete it. Run net start wuauserv and net start bits, restart the PC, and retry. Renaming keeps the old copy available if the test changes nothing.
What to avoid
- Resetting update folders before naming the failing update. Update history is the diagnosis. Deleting or renaming first destroys the record of which package failed.
- Downloading the update from a non-Microsoft site. If you install a KB by hand, get its package from Microsoft's Update Catalog, matched to your Windows version and architecture.
- Uninstalling .NET Framework versions. Programs rely on the versions installed. Use Microsoft's .NET Framework Repair Tool instead.
- Running registry cleaners. No part of this code points at the registry, and a cleaner cannot repair a damaged system file.