Microsoft Windows Error Code 0x800F0991: How to Fix It

Medium 30-90 minutes depending on steps required Medium Severity Verified July 2026
Error Code
0x800F0991
Brand
Microsoft Windows
Product Type
operating_system
Severity
Medium
DIY Difficulty
Medium
Estimated Fix Time
30-90 minutes depending on steps required
Windows error code 0x800F0991 occurs when the cleanup phase of a Windows Update fails to complete successfully, leaving your system in a partially updated or inconsistent state. This typically happens due to corrupted update cache files, damaged system files, or conflicts within the Windows Component Store. While this error is rated medium severity, addressing it promptly prevents future update failures and potential system instability.
Ad

Tools You'll Need

How to Fix Error Code 0x800F0991

  1. Run the Windows Update Troubleshooter

    Do not interrupt the troubleshooter process. Allow it to complete fully before restarting.
  2. Clear the Windows Update Cache

    Only delete the contents of these folders, not the folders themselves. Make sure you are running the terminal as Administrator or the commands will fail.
  3. Run the System File Checker (SFC)

    Do not close the Command Prompt or shut down your PC while the scan is running. Interrupting SFC can cause additional system file damage.
  4. Run the DISM Tool to Repair the Component Store

    The DISM RestoreHealth scan can take 20–45 minutes. Do not interrupt it. If you are on a metered connection, be aware it may download several hundred megabytes of data.
  5. Reset Windows Update Components Manually

    Type each command carefully or copy-paste to avoid typos. Incorrect regsvr32 commands will not cause harm but will also not register the DLL correctly.
  6. Manually Download and Install the Failed Update

    Make sure to download the update that matches your exact Windows version and architecture. Installing the wrong version can cause additional errors.
  7. Check Event Viewer for Detailed Error Logs

  8. Perform a Windows Repair Upgrade (In-Place Upgrade)

    Back up all important personal files to an external drive or cloud storage before performing this step. Although it is designed to preserve your data, unexpected interruptions during the upgrade can result in data loss.
Ad

When to Call a Professional

Contact Microsoft Support (support.microsoft.com) or a qualified PC technician if: the error persists after completing all steps including the in-place upgrade repair; DISM RestoreHealth fails with errors indicating it cannot contact Windows Update servers and no Windows installation media is available; your system becomes unstable or fails to boot after attempting repairs; or if Event Viewer reveals hardware-related errors such as disk read failures or memory corruption, which suggest a failing hard drive or RAM rather than a software issue.

Frequently Asked Questions

What causes Windows error code 0x800F0991?
Error 0x800F0991 is caused by a failure during the cleanup phase of Windows Update. Common causes include corrupted files in the Windows Component Store (WinSxS folder), damaged update cache files in the SoftwareDistribution folder, insufficient disk space on the system drive, or conflicts between pending updates and existing system components. Antivirus software occasionally interferes with the cleanup process as well.
Will error 0x800F0991 cause data loss?
The error itself does not cause data loss. However, leaving it unresolved means your PC may miss important security updates, leaving it vulnerable. The repair steps in this guide, including SFC and DISM, do not affect personal files. Only the in-place upgrade step carries any theoretical risk, which is why backing up beforehand is strongly recommended.
How long does DISM RestoreHealth take to fix error 0x800F0991?
The DISM /Online /Cleanup-Image /RestoreHealth command typically takes between 20 and 45 minutes depending on your internet connection speed and the extent of corruption. It downloads replacement files directly from Microsoft's servers. Do not close the Command Prompt window during this time, as interrupting the process can leave the component store in a worse state.
Can I ignore error 0x800F0991 if my computer seems to be working fine?
It is not recommended to ignore this error long-term. While your PC may appear functional, a failed update cleanup means subsequent updates may also fail, security patches may not install correctly, and the partially applied update state can cause subtle instability over time. Addressing it with the basic troubleshooting steps (running the update troubleshooter and clearing the update cache) is quick and low-risk.
Does error 0x800F0991 affect Windows 10 and Windows 11?
Yes, error 0x800F0991 can occur on both Windows 10 and Windows 11, as both operating systems share the same Windows Update infrastructure and Component Store architecture. All repair steps in this guide apply to both versions. The navigation paths for some settings may differ slightly between the two versions, but the Command Prompt commands are identical.