How to Fix Windows 10 Error 0x80240020: Step-by-Step Solutions That Work

Windows 10 users sometimes encounter error code 0x80240020 during updates. This error usually indicates a problem with the update process or with system files. It can prevent important updates from installing correctly, which may affect your computer’s performance and security.

Fixing this error requires a few simple troubleshooting steps. Most of these steps can be done without advanced technical knowledge. By following these instructions carefully, you can resolve the issue and keep your system up to date.

This guide covers easy-to-follow steps starting from quick checks to more detailed fixes. Take your time to work through each method to find the best solution for your system.

Make sure to read through the entire article before starting, so you understand why each step is important.

Quick Note: Prerequisites and Initial Checks

Before diving into complex solutions, ensure the following:

  • Internet Connection: Make sure your PC is connected to the internet. A stable connection is necessary for downloading updates.
  • Free Disk Space: Check that you have enough free space on your system drive (usually C:). Updates need space to download and install.
  • Windows Version: Confirm your Windows 10 version by going to Settings > System > About. Some updates require the latest version of Windows.
  • Restart Your PC: Sometimes, simply restarting your computer can fix temporary glitches affecting updates.

Step 1: Run the Windows Update Troubleshooter

The Windows Update Troubleshooter is a built-in tool designed to detect and fix common update problems automatically.

  1. Click on the Start menu and select Settings (the gear icon).
  2. Go to Update & Security and then click on Troubleshoot in the left menu.
  3. Select Additional troubleshooters (if available).
  4. Find and click on Windows Update, then click Run the troubleshooter.
  5. Follow the on-screen instructions. The tool will check for issues and attempt to fix them automatically.

This step is important because it can resolve common problems without needing manual fixes.

Step 2: Clear the Windows Update Cache

Sometimes, corrupted files in the Windows Update cache cause error 0x80240020. Clearing this cache forces Windows to download fresh update files.

  1. Press Windows + R to open the Run dialog box.
  2. Type services.msc and press Enter to open the Services window.
  3. Scroll down and find the service named Windows Update.
  4. Right-click on it and select Stop.
  5. Next, open File Explorer and navigate to C:WindowsSoftwareDistributionDownload.
  6. Select all files and folders inside the Download folder and delete them.
  7. Return to the Services window, right-click Windows Update, and select Start to restart the service.

Clearing the cache removes possibly corrupted update files, allowing Windows to download fresh copies that may fix the error.

Step 3: Reset Windows Update Components Manually

If clearing the cache does not work, resetting all Windows Update components can help fix deeper issues.

Follow these steps carefully:

  1. Press Windows + X and select Command Prompt (Admin) or Windows PowerShell (Admin).
  2. Type the following commands one by one, pressing Enter after each:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
ren C:WindowsSoftwareDistribution SoftwareDistribution.old
ren C:WindowsSystem32catroot2 catroot2.old
net start wuauserv
net start cryptSvc
net start bits
net start msiserver

These commands stop update services, rename folders where update files are stored (forcing Windows to recreate them), and then restart the services.

This fixes potential corruption in update components that might be causing error 0x80240020.

Step 4: Run System File Checker (SFC) and DISM Tools

Corrupted system files can interfere with Windows Update. Running built-in repair tools can fix these files.

  1. Open Command Prompt (Admin) as explained in Step 3.
  2. Type the following command and press Enter:
sfc /scannow

This command scans and repairs protected system files. It may take several minutes to complete.

If the problem persists after SFC completes, run the DISM tool:

  1. In the same Command Prompt window, type these commands one at a time, pressing Enter after each:
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth

These commands check the health of your system image and repair any detected corruption, which can help fix update errors.

Step 5: Manually Download and Install the Update

If Windows Update continues to show error 0x80240020, you can try downloading the update manually.

Here’s how:

  1. Go to the Microsoft Update Catalog website.
  2. Search for the specific update using its KB number (this info is usually shown in the update error message).
  3. Download the appropriate update file for your system (32-bit or 64-bit).
  4. Run the downloaded file and follow the installation instructions.

Manual installation bypasses Windows Update’s automatic process and can fix issues related to update delivery.

Alternative Methods and Advanced Options

If the above steps do not resolve the error, you may consider the following:

  • Create a New User Account: Sometimes, user profiles get corrupted. Creating a new Windows user account can help determine if this is the cause.
  • Perform a Clean Boot: This starts Windows with minimal drivers and startup programs, eliminating interference from third-party software.
  • Use the Media Creation Tool: This tool allows you to upgrade or reinstall Windows 10 without losing your files.

Frequently Asked Questions (FAQs)

What does error 0x80240020 mean in Windows 10?

This error usually means there is a problem with the Windows Update process, often caused by corrupted files or services not running properly.

Is it safe to delete files from the SoftwareDistribution folder?

Yes, deleting files from the SoftwareDistributionDownload folder is safe. Windows will recreate necessary files when you check for updates again.

Will resetting Windows Update components delete my personal files?

No, resetting Windows Update components only affects update-related files and services. Your personal files and programs remain intact.

How often should I run the Windows Update Troubleshooter?

It’s a good idea to run the troubleshooter whenever you experience update problems. It can quickly fix common issues.

Can antivirus software cause update errors?

Yes, some antivirus or firewall settings may block update processes. Temporarily disabling antivirus software during updates can help troubleshoot this.

When Nothing Works

If you have tried all the steps above and still see error 0x80240020, consider the following final options:

  • Contact Microsoft Support: Visit the official Microsoft support page for assistance.
  • Use System Restore: Restore your PC to a previous state when updates were working correctly.
  • Perform a Repair Install: Use the Windows 10 Media Creation Tool to repair your system without losing data.
  • Backup and Reinstall Windows: As a last resort, backup your files and perform a clean installation of Windows 10.

Conclusion

Error 0x80240020 in Windows 10 can be frustrating, but it is usually fixable with the right approach. Start with simple fixes like running the troubleshooter and clearing the update cache, and then move on to more advanced steps if needed.

Understanding why these steps matter helps you troubleshoot more effectively and keep your system healthy. Always ensure your PC has enough space and a stable internet connection before updating.

By following this guide patiently, you should be able to resolve the update error and keep your Windows 10 system running smoothly and securely.

Leave a Reply