Verified Fix

How to Fix Windows Error 0x80240020

If you are encountering error 0x80240020 on Windows, this guide will help you resolve it.

Quick Summary

The error code "0x80240020" in Windows Update typically indicates that an update download has completed, but there's a problem preventing the installation process from starting or completing successfully. This often signifies corrupted update files or a stalled update process, preventing Windows from finalizing the installation.

Common Causes

  • Corrupted Update Files: The downloaded update files may be incomplete, damaged, or corrupted during the download process. This can happen due to network interruptions, disk errors, or other software interfering with the download.
  • Insufficient Disk Space: The system may lack sufficient disk space on the system drive (usually C:) to extract and install the downloaded update files. Windows requires temporary space to unpack and apply updates.
  • Conflicting Applications: Some third-party applications, especially antivirus software or system optimizers, might interfere with the update process. These programs may incorrectly identify update files as threats or prevent necessary system changes.
  • Windows Update Service Issues: The Windows Update service or related components might be malfunctioning or stopped. This can prevent the system from properly detecting, downloading, and installing updates.

Step-by-Step Fixes

Method 1: Run the Windows Update Troubleshooter

Step 1: Open the Settings app (Windows key + I).

Step 2: Navigate to Update & Security > Troubleshoot.

Step 3: Click on Windows Update and then Run the troubleshooter. Follow the on-screen instructions.

Step 4: Restart your computer after the troubleshooter completes.

Method 2: Delete the Contents of the SoftwareDistribution Folder

Step 1: Stop the Windows Update service. Open Command Prompt as Administrator (search for "cmd", right-click, and select "Run as administrator").

Step 2: Type the following commands, pressing Enter after each one:

net stop wuauserv

net stop cryptsvc

net stop bits

net stop msiserver

Step 3: Open File Explorer and navigate to C:\Windows\SoftwareDistribution.

Step 4: Delete all the files and folders within the SoftwareDistribution folder.

Step 5: Restart the Windows Update and related services by running the following commands in the Command Prompt (as Administrator), pressing Enter after each one:

net start wuauserv

net start cryptsvc

net start bits

net start msiserver

Step 6: Restart your computer and try running Windows Update again.

Method 3: Free Up Disk Space

Step 1: Open File Explorer.

Step 2: Right-click on your C: drive and select Properties.

Step 3: Click on Disk Cleanup.

Step 4: Check the boxes for the types of files you want to delete (e.g., Temporary files, Recycle Bin). You can also click on Clean up system files.

Step 5: Click OK and confirm the deletion. Ensure you have at least 20 GB of free space.

Step 6: Empty your Recycle Bin.

Method 4: Disable Antivirus Software Temporarily

Step 1: Temporarily disable your antivirus software.

Step 2: Attempt the Windows Update again.

Step 3: After the update completes (successfully or unsuccessfully), re-enable your antivirus software.

Note: Be extremely cautious when disabling your antivirus software, as it leaves your system vulnerable. Only disable it temporarily for the update process.

Method 5: Use the Media Creation Tool for an In-Place Upgrade

Step 1: Download the Media Creation Tool from the official Microsoft website.

Step 2: Run the Media Creation Tool and select Upgrade this PC now.

Step 3: Follow the on-screen instructions. It will download the latest version of Windows and reinstall it, keeping your files and applications.

Step 4: Ensure to choose the option to keep your personal files and apps during the upgrade process. This is the key to doing an "in-place upgrade" rather than a clean install.

Download Repair Tool →