ACTIVE MALWARE WINDOWS TESTED: WINDOWS 10, WINDOWS 11

How to fix
Windows update error 0x800f0987
on Windows

Resolve the Windows update error 0x800f0987 quickly and efficiently. Follow our expert-tested solutions for Windows 10 and Windows 11 today! Fixed in mi…

How to fix Windows update error 0x800f0987?
Quick Summary
Error severity
Medium
Est. time
10 minutes
Offer Fortect PC Suite
Start fix →
Ad · we may earn a commission
0 Comments
01

What causes How to fix Windows update error 0x800f0987?

  • Corrupted or incomplete components of Windows Update
  • Damaged system files
  • Previous incomplete updates
  • Conflicts with third-party antivirus software or firewalls
  • Problems with internet connection
  • Specific settings within Windows Update
Offer Fortect PC Suite

Repairs Windows system files, removes malware, and restores a clean OS state — without reinstalling.

Ad · we may earn a commission
Get Fortect PC Suite ↗

I've been trying to install the latest Windows updates for several weeks now. It seems like it gets installed fully but then, instead of saying it's successful, it shows that there's an error 0x800f0987. Is there a solution for this?

Windows updates are crucial in keeping your system updated with the latest features and patches in a secure and stable manner. Sometimes, it is quite possible that the update process goes through hiccups and some sort of errors obstruct the proper installation. Out of these update errors, there is one called Windows update error 0x800f0987, which may hinder this process from running smoothly and leave your system bereft of critical updates.

Error 0x800f0987 normally occurs in Windows during an anomaly with the installation process, whether of cumulative updates or security patches. If some users face this problem, then they will find that either the update gets stuck, is failing continuously, or shows an error message with no details provided. That's very frustrating because it can leave your system potentially vulnerable or miss out on crucial improvements.

There are several reasons why Windows update error 0x800f0987 appears. Among them, the outstanding cause is corrupted or incomplete components of Windows Update, which may interfere with the normal update process.

Damaged system files or previous incomplete updates can also contribute to this error. Additionally, conflicts with third-party antivirus software or firewalls might prevent the update from downloading or installing correctly. Problems with your internet connection or specific settings within Windows Update can also trigger this error.

To fix the Windows update error 0x800f0987, different troubleshooting steps can be applied, starting with basic checks and moving to more detailed fixes, such as resetting update components or repairing system files.

The goal is to ensure that your Windows Update components and system files are functioning correctly, allowing the update to proceed without issues. Below, manual instructions will guide you through these steps, from the easiest solutions to more advanced fixes.

For an automated approach, using the [d1] repair tool can help identify and fix underlying Windows issues, streamlining the update process and improving system stability.

How to fix windows update error 0x800f0987 copy
How to fix windows update error 0x800f0987 copy

Fix 1. Run Windows Update troubleshooter

The built-in Windows Update troubleshooter can identify and fix common issues that prevent updates from installing properly.

  • Type Troubleshoot in Windows search and hit Enter.
  • Select Additional troubleshooters/Other troubleshooters.
  • Find Windows Update from the list and select Run the troubleshooter/Run.
  • Wait till the scan is finished - you will be provided with potential causes so you can proceed with fixes.
  • If no suggestions were provided, proceed with the solutions below.

How to fix windows update error 0x800f0987 troubleshooter
How to fix windows update error 0x800f0987 troubleshooter

Fix 2. Perform Disk Cleanup

Cleaning of temporary and system files may free up space, including corrupted files that interfere with Windows Update.

  • Type Disk Cleanup in Windows search and hit Enter.
  • If your Windows is installed on drive C, pick it from the list (it should be by default) and press OK.
  • Click Clean up system files.
  • Select your main disk again and click OK.
  • Here, select the largest portions of the data used - these typically include Temporary Internet Files, Windows Update, Temporary FilesRecycle Bin, Delivery Optimization Files, and others.
  • Click OK - the process should be finished shortly.

How to fix windows update error 0x800f0987 disk cleanup
How to fix windows update error 0x800f0987 disk cleanup

Fix 3. Run SFC and DISM scans

Perform both SFC and DISM, which will find any corrupted system files that are preventing the update.

  • Type cmd in the Windows search box.
  • Right-click on Command Prompt and select Run as administrator.
  • When UAC asks you whether you want to make changes, agree by pressing Yes.
  • Next, copy and paste the following commands, pressing Enter each time:
    sfc /scannow
    DISM /Online /Cleanup-Image /CheckHealth
    DISM /Online /Cleanup-Image /ScanHealth
    DISM /Online /Cleanup-Image /RestoreHealth
    (Note: if you get an error executing the last command, add /Source:C:\RepairSource\Windows /LimitAccess to it and try again.)
  • Restart your computer.

How to fix windows update error 0x800f0987 sfc dism
How to fix windows update error 0x800f0987 sfc dism

Fix 4. Reset Windows Update components

Resetting Windows Update components can fix deeper issues related to update services.

  • Open Command Prompt as administrator.
  • Stop the Windows Update-related services by running the following commands one at a time, pressing Enter after each one:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
  • Rename the SoftwareDistribution and Catroot2 folders by running the following commands:
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 Catroot2.old
    Note: If your Windows installation is not on the C drive, replace "C" with the appropriate drive letter.
    regsvr32.exe /s atl.dll
    regsvr32.exe /s urlmon.dll
    regsvr32.exe /s mshtml.dll
    netsh winsock reset
    netsh winsock reset proxy
  • Restart the Windows Update-related services by running the following commands:
    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver
  • Reboot your computer.

How to fix windows update error 0x800f0987 reset windows update components
How to fix windows update error 0x800f0987 reset windows update components

Fix 5. Install the update manually

If automatic updates fail, manually installing the update can sometimes bypass issues and complete the process.

  • Type in Updates in Windows search and press Enter.
  • Select View update history.
  • Find the update that failed with the 0x800f0987 error and copy its KB number.
  • Open your browser and go to Microsoft Update Catalog.
  • Within the search bar, type in the KB number and click Search.
  • Find the correct version of the update for your operating system (to check this, right-click on Start and pick System. Under Device specifications and check the System type) and click Download.
  • Use on-screen guidelines to finish the installation process and restart your computer.

How to fix windows update error 0x800f0987 install manually
How to fix windows update error 0x800f0987 install manually

Fix 6. Try Clean Boot

A Clean Boot helps identify if background applications or services are causing conflicts with Windows Update.

  • Type msconfig in Windows Search and press Enter.
  • Click on the Services tab and check the Hide all Microsoft Services box.
  • Click Disable all to disable non-Microsoft services, then click the Startup tab.
  • Open the Task Manager, disable all startup items, and close the Task Manager.
  • Go to the Boot tab and mark the Safe boot option.
  • Click OK on the System Configuration window and restart your computer.
  • Try installing the update again.

How to fix windows update error 0x800f0987 clean boot
How to fix windows update error 0x800f0987 clean boot

Fix 7. Use Media Creation Tool

Media Creation Tool reinstalls Windows while keeping your files and apps intact, which can resolve persistent update errors.

  • Visit the official Microsoft website and download Windows 10 installation media (Windows 11 version).
  • Double-click the installer and select Yes when UAC shows up.
  • Agree to terms.
  • Select Upgrade this PC now and click Next.
  • Windows will start downloading the needed files.
  • Agree to the terms once again and click Next.
  • Before installing, make sure that you are happy with your choices (otherwise, you can click Change what to keep option).
  • Finally, click Install to begin the upgrade process.

How to fix windows update error 0x800f0987 use media creation tool
How to fix windows update error 0x800f0987 use media creation tool

Bottom line

To fix Windows update error 0x800f0987, you can start with basic checks and then move on to more detailed fixes such as resetting update components or repairing system files. If these steps do not resolve the issue, consider using an automated repair tool to identify and fix underlying Windows problems.

Frequently asked questions

The error 0x800f0987 typically indicates that Windows 10 or Windows 11 is unable to install updates due to missing or corrupted files. This can prevent your system from receiving important updates and security patches.

To resolve error 0x800f0987 on Windows 10, you can try running the Windows Update Troubleshooter, which can automatically identify and fix issues related to Windows updates. Additionally, ensure that your system files are intact by running the System File Checker (SFC) tool.

Yes, in Windows 11, you can use the Command Prompt to run 'DISM /Online /Cleanup-Image /RestoreHealth' followed by 'sfc /scannow' to repair corrupted files that may be causing error 0x800f0987.

Did this fix work for you?
Chris Lawson

Written & verified by

Registry & System Configuration Expert
Registry editing Group Policy configuration Advanced system settings Boot repair Windows configuration

Chris Lawson is a Windows registry and advanced configuration expert who tackles the deep-level fixes that most troubleshooting guides avoid. His work covers safe registry editing, Group Policy configuration, advanced system settings, boot repair, and low-level Windows configuration that requires precision to get right. Chris provides step-by-step registry edits and configuration changes backed by thorough testing, with clear explanations of what each change does and how to undo it if needed. His guides are trusted by power users and IT professionals who need reliable instructions for advanced Windows management.

0 Comments

Be the first to comment

Still worried? Run a free check.

Paste any URL or domain — we'll scan it against 4.2M known threats in 10 seconds.

View full scanner → Add to your website →