How to Fix Install Error 0x80070643 in Windows
What error 0x80070643 means today, why Security Essentials is gone, and how to get the update to install.
Low on space for updates? WinZip System Utilities Suite's one-click scan clears junk files, helping free up the drive space Windows needs to download and install updates.
Quick Answer
To fix error 0x80070643 on Windows 11 or 10:
- Restart, then go to Settings > Windows Update > Check for updates and try again.
- Run the Windows Update troubleshooter: Settings > System > Troubleshoot > Other troubleshooters > Windows Update > Run.
- Free up drive space in Settings > System > Storage > Cleanup recommendations.
- Repair Windows files: run DISM.exe /Online /Cleanup-image /Restorehealth, then sfc /scannow, as administrator.
- Installing Microsoft Security Essentials? Stop: it's retired. Use the built-in Windows Security app instead.
How you know it worked: Windows Update history lists the update as successfully installed and the error no longer appears.
Error 0x80070643 is Windows' code for ERROR_INSTALL_FAILURE: something tried to install and didn't finish. Years ago it often appeared when people installed Microsoft Security Essentials. Today it also shows up in Windows Update, next to an update that keeps failing. Start with section 1 if you were installing Security Essentials; otherwise work through sections 2 to 7 in order and check for updates again after each one.
1. Installing Microsoft Security Essentials? You Don't Need It
Microsoft Security Essentials was Microsoft's free antivirus from the Windows 7 era. Windows 7 support ended on January 14, 2020, and Microsoft stopped updating the Security Essentials program itself after that date. Installing it on a modern PC isn't the fix.
Windows 11 and Windows 10 already include the Windows Security app, with Microsoft Defender Antivirus built in. To check that you're protected:
- Search for Windows Security in the Start menu and open it.
- Select Virus & threat protection.
- Select Quick scan to run a check now.
If you're still on Windows 7, that PC no longer gets security updates from Microsoft, and Microsoft recommends moving to a newer version of Windows.
Expected result: Windows Security opens and the quick scan finishes, so there's nothing left to install.
2. Restart and Try the Update Again
Start with the simplest checks from Microsoft's update troubleshooting guide: power, connection and a fresh check for updates.
- Select Start > Power > Restart.
- Make sure your PC is plugged in and connected to the internet.
- Select Start > Settings > Windows Update > Check for updates.
On Windows 10: the path is Settings > Update & Security > Windows Update > Check for updates.
Expected result: the update installs, or fails again with the same code (move on to section 3).
3. Run the Windows Update Troubleshooter
Microsoft's Windows Update troubleshooter runs diagnostics and tries to fix the problem for you. Microsoft suggests running it first in the Get Help app.
- Open the Get Help app and run the Windows Update troubleshooter there.
- If that doesn't solve it, select Start > Settings > System > Troubleshoot > Other troubleshooters, and select Run next to Windows Update.
- When it finishes, restart and check for updates again.
On Windows 10: use Settings > Update & Security > Troubleshoot > Additional troubleshooters > Windows Update > Run the troubleshooter.
Expected result: the troubleshooter reports what it fixed, and the update installs on the next check.
4. Free Up Drive Space
Updates need room to download and unpack. Microsoft's troubleshooting guide asks for at least 16 GB of free space on 32-bit Windows and at least 20 GB on 64-bit Windows.
- Select Start > Settings > System > Storage > Cleanup recommendations.
- Review the categories, select the items you don't need, and select Clean up.
On Windows 10: search for Disk Cleanup, choose your drive, tick the file types to delete, and select Clean up system files for more space.
Expected result: your system drive has more free space, and the update has room to install.
5. Repair Windows System Files With DISM and SFC
Damaged system files can stop updates from installing. Microsoft recommends running DISM first and System File Checker second.
- Type cmd in the search box, right-click Command Prompt and select Run as administrator.
- Type DISM.exe /Online /Cleanup-image /Restorehealth and press Enter. Wait for it to finish.
- Type sfc /scannow and press Enter. Don't close the window until verification reaches 100%.
- Restart, then check for updates again.
Expected result: SFC reports that it found no integrity violations, or that it found corrupt files and repaired them. See How to Repair System Files Using System File Checker for more detail.
6. Clear the Windows Update Cache
Corrupt files in the update download folder can make the same update fail again and again. Clearing the folder makes Windows download fresh copies.
- Press Windows key + R, type services.msc and press Enter.
- Right-click Windows Update and select Stop.
- Open File Explorer, go to C:\Windows\SoftwareDistribution and delete everything inside the folder (not the folder itself).
- Back in Services, right-click Windows Update and select Start.
- Check for updates again.
Expected result: Windows downloads the update again from scratch and installs it.
7. Check Third-Party Security Software
Microsoft notes that antivirus or security software from other companies can cause errors while updates install. If you use one:
- Check the security software maker's website to confirm it supports your version of Windows.
- Make sure you have its installer and any product key, then temporarily uninstall it from Settings > Apps > Installed apps.
- Install the Windows update.
- Reinstall your security software straight away.
Expected result: the update installs while the other security software is removed, and your protection is back on afterward.
8. If the Failing Update Is a Windows Recovery Environment (WinRE) Update
Check the update's name in Settings > Windows Update > Update history. If it mentions the Windows Recovery Environment, the cause may be space rather than damaged files. Microsoft explains that because of an issue in how these updates report errors, you might see 0x80070643 - ERROR_INSTALL_FAILURE when the real problem is insufficient disk space in the recovery partition.
- Microsoft's Windows 10 WinRE update needs 250 MB of free space in the recovery partition to install.
- Microsoft now says that update isn't offered to PCs whose recovery partition doesn't have enough free space, so check for updates again to see whether it's still listed.
- To see where your recovery environment is installed, open Command Prompt as administrator and run reagentc /info.
- Microsoft also publishes manual instructions to enlarge the recovery partition (KB5028997). They use the diskpart tool to shrink your Windows partition and recreate the recovery partition, so they're for confident users only.
Expected result: the WinRE update either installs after the partition has enough space, or stops being offered.
Still Seeing 0x80070643? What to Try Next
- Check the date and time: in Settings > Time & language > Date & time, turn on automatic time and time zone, then select Sync now.
- Unplug extra hardware: disconnect storage drives, docks and other devices you don't need, then try again.
- Check the drive for errors: in an administrator Command Prompt, run chkdsk /f C: and restart when asked.
- Read the full guide: How to Fix Windows Update Problems covers more update errors and fixes.
Frequently Asked Questions
What does error 0x80070643 mean?
Microsoft lists it as ERROR_INSTALL_FAILURE, which means an installation didn't complete. With Windows Recovery Environment updates, Microsoft says it can appear when the real cause is not enough disk space in the recovery partition.
Can I still download Microsoft Security Essentials?
It isn't needed and isn't the fix. Security Essentials was made for Windows 7, whose support ended on January 14, 2020, and Microsoft stopped updating the Security Essentials program after that date. Windows 11 and 10 include Windows Security with Microsoft Defender Antivirus.
Is it safe to delete the SoftwareDistribution folder's contents?
Microsoft lists clearing it as a fix for update errors. Stop the Windows Update service first in services.msc, delete the contents of C:\Windows\SoftwareDistribution, then start the service again. Windows downloads the files it needs again.
How much free space does a Windows update need?
Microsoft's troubleshooting guide asks for at least 16 GB of free space on 32-bit Windows and at least 20 GB on 64-bit Windows. Windows Recovery Environment updates also need 250 MB free inside the recovery partition.
Should I uninstall my antivirus to fix 0x80070643?
Only temporarily, and only if it's from another company. Microsoft says third-party security software can cause update errors: confirm it supports your Windows version, uninstall it for the update, then reinstall it straight away.
Why does the same Windows Recovery Environment update keep failing?
Microsoft ties it to space in the recovery partition. It says its Windows 10 WinRE update needs 250 MB free there, and that the update isn't offered to PCs that don't have enough space.
How This Guide Was Checked
- Written by
- Chris, WinZip Team. Updated by the WinZip Team in November 2026.
- First published
- January 24, 2019
- Sources reviewed
- Microsoft Support: Troubleshoot problems updating Windows
- Microsoft Support: Windows Update Troubleshooter
- Microsoft Support: KB5033560: Update for Windows Recovery Environment (WinRE): November 30, 2023
- Microsoft Support: KB5042320: Windows Recovery Environment update for Windows 10, version 21H2 and 22H2
- Microsoft Support: KB5028997: Instructions to manually resize your partition to install the WinRE update
- Microsoft Learn: FAQ about Extended Security Updates (ESU) for Windows 7
- Microsoft Support: Stay protected with the Windows Security app
- Microsoft Support: Use the System File Checker tool to repair missing or corrupted system files
Speed Up Your PC With WinZip System Utilities Suite
- Clean junk files and free up disk space
- Update outdated drivers
- Speed up startup
- Optimize and defrag your drives