Glowing computer processor and motherboard hardware symbolizing Windows maintenance

How to Completely Clear Windows Update Cache to Fix Stuck Downloads & Free Space

If you have ever encountered a Windows update that refuses to finish downloading, gets perpetually stuck at a certain percentage (such as 0%, 74%, or 99%), or throws cryptic hexadecimal error codes like 0x80070002 or 0x800f081f, the root cause is almost always a corrupted Windows Update download cache.

Windows stores downloaded patch files in a system directory named SoftwareDistribution. Over time, incomplete downloads or interrupted installation attempts accumulate gigabytes of junk files in this folder. Clearing this cache completely resets the update pipeline and frees up valuable drive space on your primary C: drive.

⚠️ Important Safety Note: You cannot simply delete this folder while Windows Update background services are running. You must first stop the relevant services, remove the cached files, and restart the services as demonstrated below.

Step 1: Stop Windows Update Background Services

To safely modify the cache directories, we need to temporarily halt the background services that maintain file locks.

  1. Press Windows Key + S, type cmd, right-click Command Prompt, and select Run as administrator.
  2. Execute each of the following four commands one at a time:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
    
  3. Wait until each service reports that it has stopped successfully before entering the next command.

Step 2: Delete Cached Update Files (SoftwareDistribution)

Now that the services are paused, we can remove the downloaded files:

  1. Press Windows Key + R to open the Run box.
  2. Copy and paste this directory path and press Enter:

    C:\Windows\SoftwareDistribution\Download

  3. Press Ctrl + A to select all files and subfolders inside the Download folder.
  4. Press Shift + Delete to permanently remove them, and click Yes to confirm administrative permission.

Optional Pro Tip: If you want to reset the entire update database, navigate to C:\Windows\SoftwareDistribution, select everything inside, and delete it. Windows will automatically recreate clean versions of these folders.

Step 3: Clear the Catroot2 Directory

The Catroot2 folder contains cryptographic signatures and update signatures. Corrupt signatures often prevent Windows from verifying newly downloaded packages.

  1. In your administrator Command Prompt, rename the folder to force a reset:
    ren C:\Windows\System32\catroot2 catroot2.old
    
  2. Windows will create a fresh, clean catroot2 folder as soon as updates resume.

Step 4: Restart the Update Services

With the corrupted cache wiped clean, re-enable the services we halted earlier:

  1. In the Administrator Command Prompt, run:
    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver
    
  2. Exit Command Prompt and restart your PC.

Step 5: Check for Updates Anew

Once your computer boots up, open Settings (Win + I) > Windows Update and click Check for updates. Windows will now download pristine, uncorrupted update packages from Microsoft servers without getting stuck.

Frequently Asked Questions (FAQ)

Is it safe to delete the SoftwareDistribution folder?

Yes. The SoftwareDistribution folder only contains temporary download files and historical update logs. Windows will automatically recreate the folder the next time it scans for updates.

How much disk space can I save?

Depending on how long your PC has been running Windows without maintenance, clearing this folder commonly frees up between 5 GB and 25 GB of SSD storage.

How to Run SFC and DISM Repairs After Clearing Update Cache

Clearing the SoftwareDistribution cache removes stuck download files, but if corrupted core system files exist inside Windows, future updates will continue throwing error codes. Always pair cache clearing with native system repair tools:

  1. Open Command Prompt as Administrator (Win + S, type cmd, click Run as administrator).
  2. First, scan the Windows Component Store image by running:
    DISM.exe /Online /Cleanup-image /Restorehealth
  3. Allow the DISM progress bar to reach 100%. This repairs any corrupted servicing packages by pulling pristine replacements from Microsoft cloud servers.
  4. Next, verify operating system integrity by running:
    sfc /scannow
  5. Once both scans finish, restart your computer. Your Windows Update engine is now completely repaired and ready to install updates without stalls.
Alex Carter - Senior Systems Specialist

Written by Alex Carter

Alex Carter is a senior systems specialist and technical writer with over 8 years of hands-on experience in Windows diagnostics, network protocols, and software troubleshooting.

Learn more about our editorial standards →

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *