sodcalculator

10 Tech How-To

Fix Windows 10 Error 0x8007643 & 0x80070643

Guide 10-47752 · Updated · Step by step

Windows 10 update errors 0x8007643 and 0x80070643 both point to problems with the Windows Update component store, usually triggered by corrupted system files, a full SoftwareDistribution folder, or a broken update cache. This guide walks you through the most reliable fixes, starting with the built-in troubleshooters and ending with a clean reset of the update components, so you can get your system patched without a full reinstall.

What You’ll Need

  • Administrator account access (you’ll need to approve UAC prompts)
  • Stable internet connection
  • About 30–45 minutes of uninterrupted time
  • Optional: a USB drive or cloud storage to back up important files before the more aggressive steps

Step-by-Step

  1. Run the Windows Update Troubleshooter first. Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters, select Windows Update, and click Run the troubleshooter. Let it finish and apply any fixes it suggests, then restart and try updating again.
  2. Check your system date, time, and time zone. Right-click the clock in the taskbar, choose Adjust date/time, and ensure Set time automatically and Set time zone automatically are both on. Wrong time settings break the secure connection Windows Update uses.
  3. Free up disk space. Open Settings > System > Storage and click Free up space now. Remove temporary files and old Windows installations. You need at least 10–15 GB free for major feature updates.
  4. Run the System File Checker (SFC) and DISM. Open Command Prompt as administrator (right-click Start, choose Command Prompt (Admin) or Windows PowerShell (Admin)). Type sfc /scannow and press Enter. After it finishes, type DISM /Online /Cleanup-Image /RestoreHealth and press Enter. Restart when both complete.
  5. Clear the SoftwareDistribution and catroot2 folders. Stop the update services by running these commands in the same admin prompt, one at a time:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
    Then rename the folders:
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 catroot2.old
    Restart the services with net start wuauserv, net start cryptSvc, net start bits, and net start msiserver. Restart your PC and try updating again.
  6. Check for pending reboots and leftover update files. Open Registry Editor (type regedit in Start), navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired. If that key exists, restart your PC and then retry the update.
  7. Use the Media Creation Tool for stubborn feature updates. Download the Windows 10 Media Creation Tool from Microsoft’s official site, run it, and choose Upgrade this PC now. This performs an in-place repair that keeps your files and apps while replacing the system files that are causing the error.
  8. If the error persists, perform a repair install with an ISO. Download the Windows 10 ISO from Microsoft, mount it, and run setup.exe from inside. Choose Keep personal files and apps when prompted. This is the last software-level fix before a clean install.

Common Mistakes

  • Skipping the DISM step. Many people run SFC and stop there. DISM repairs the system image that SFC relies on; without it, SFC may keep failing.
  • Deleting the SoftwareDistribution folder instead of renaming it. If you delete it and the system is mid-update, you can corrupt the update state. Renaming is safe and reversible.
  • Not running the Command Prompt as administrator. The commands will fail with “Access denied” if you don’t elevate the prompt.
  • Ignoring third-party antivirus. Some security suites block update components. Temporarily disable your antivirus (not Windows Defender) during the update attempt.
  • Trying the Media Creation Tool without clearing the update cache first. The tool can fail if the existing cache is corrupted. Always clear it first.

Tips

  • Create a system restore point before making changes: type Create a restore point in Start, select your drive, click Create.
  • Run the update in a clean boot state. Type msconfig, go to Services, check Hide all Microsoft services, click Disable all, then restart. This prevents third-party services from interfering.
  • Use the Windows Update Assistant if the Media Creation Tool feels heavy. It’s a smaller download and does the same in-place upgrade.
  • Keep your drivers updated, especially network and storage drivers, as outdated drivers can cause update failures.
  • If you’re on a metered connection, make sure Settings > Update & Security > Windows Update > Advanced options has “Download over metered connections” turned off.

Troubleshooting

If the steps above don’t resolve the error:

  • Check the CBS.log file. After running SFC, open C:\Windows\Logs\CBS\CBS.log in Notepad. Look for lines with “Cannot repair” or “0x800f” – they’ll point to the specific corrupted file. You can then manually replace that file from a known-good copy.
  • Use the Windows Update Reset script. Microsoft provides a PowerShell script called Reset-WindowsUpdate.ps1 in the Windows Update Troubleshooter package. Run it in an elevated PowerShell window to re-register all update DLLs.
  • Check for disk errors. Run chkdsk C: /f /r in an admin prompt. You’ll need to restart; let it complete before trying updates again.
  • If the error happens only on a specific update (e.g., a driver or .NET patch), try hiding that update temporarily using the Show or Hide Updates troubleshooter from Microsoft, then install the rest and retry the hidden one later.
  • As a last resort, perform a clean install. Back up your files, create Windows 10 installation media, and reinstall. This guarantees a fresh system without any lingering corruption.

Frequently Asked Questions

What exactly causes error 0x8007643?

It’s a Windows Update component corruption error, often from a failed previous update, antivirus interference, or a full system drive. The fix is to repair the update components, which the steps above do.

Is 0x80070643 the same as 0x8007643?

They’re related but not identical. 0x80070643 is more commonly seen with .NET Framework or Windows Defender updates, while 0x8007643 appears with general Windows updates. Both are fixed by the same cache-clearing and DISM steps.

Will I lose my files if I use the Media Creation Tool?

No, if you choose “Upgrade this PC now” and select “Keep personal files and apps,” your documents, photos, and installed programs remain intact. It only replaces system files.

How long does the DISM command take?

It can take anywhere from 10 minutes to over an hour, depending on your disk speed and the level of corruption. Let it run to completion; don’t close the window.

Can I fix this without an administrator account?

No. All the repair steps require administrative privileges. If you’re on a standard account, you’ll need the admin password or ask the admin to run these commands.

Why does the error come back after a few weeks?

It usually means something on your system keeps corrupting the update cache—often a failing hard drive, aggressive antivirus, or a third-party cleaning tool that deletes update files. Check disk health and review your security software settings.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →