How To Clear Windows Update Cache on Windows 10/11

If Windows Update fails, gets stuck, or keeps downloading broken patches, clearing the update cache can solve a lot of headaches. Windows 10 and Windows 11 both store temporary update files on your drive. Over time, these can become damaged or outdated, causing errors and taking up unnecessary space. Deleting the Windows Update cache forces the system to grab fresh copies of updates and often clears up persistent problems.

Here’s exactly how to clear the Windows Update cache safely and correctly, whether you’re troubleshooting errors or just want to tidy up your PC.

What Is the Windows Update Cache?

The Windows Update cache is a folder on your PC where Windows stores downloaded update files before they are installed. This includes system updates, driver patches, security fixes, and sometimes even failed or partially downloaded files. The official location of this cache is C:\Windows\SoftwareDistribution\Download. Files here can quickly accumulate, especially if updates have failed or been retried multiple times.

Clearing the cache won’t remove installed updates or affect your system configuration. It simply deletes leftover files that Windows uses for storing and staging updates. When you clear the cache, Windows will redownload any needed files the next time you check for updates. This is a safe and widely used troubleshooting method for various Windows Update errors.

Why Clear the Windows Update Cache?

There are several good reasons to clear out the update cache. The most common is to fix update failures. If Windows Update repeatedly gets stuck, generates errors like 0x80070002, or claims that updates are missing or not applicable, a corrupted cache might be the cause. Deleting the cache forces Windows to fetch all update files again, which often resolves these issues.

Clearing the cache can also free up disk space. Update files, especially feature updates, can take up several gigabytes if they’re stuck in limbo. For users with limited SSD space, removing these cached downloads makes a noticeable difference. It’s also a good periodic maintenance step if you want to keep your system tidy and responsive.

Step 1: Stop Windows Update Services

You can’t clear the update cache while Windows Update services are running. If you try to delete files in the cache folder, Windows will block the operation or immediately recreate them. Here’s how to stop the necessary services:

  1. Press Windows + R to open the Run dialog, type services.msc, and press Enter.
  2. In the Services window, scroll down and find Windows Update.
  3. Right-click Windows Update and select Stop.
  4. Also stop the Background Intelligent Transfer Service (BITS) in the same way.

This temporarily disables update operations so you can safely clear the cache. Don’t worry, you’ll restart these services after deleting the files.

Step 2: Delete the Update Cache Files

With the services stopped, you can now remove the cached update files. Here’s how:

  1. Open File Explorer and navigate to C:\Windows\SoftwareDistribution\Download.
  2. Select all files and folders inside the Download folder (press Ctrl + A).
  3. Press Delete. You might need admin permission - click Continue if prompted.

You can also clear the DataStore folder inside SoftwareDistribution if you want to reset update history (optional). For most users, just removing the contents of Download is enough. Don’t delete the SoftwareDistribution folder itself, only its contents.

Step 3: Restart Windows Update Services

Once the cache is cleared, you need to restart the services you stopped earlier. Go back to the services.msc window, then:

  1. Right-click Windows Update and select Start.
  2. Do the same for Background Intelligent Transfer Service (BITS).

This will re-enable Windows Update. The next time you check for updates, Windows will rebuild its cache and redownload any updates that were pending. If you’re running a script or prefer the Command Prompt, you can use net start wuauserv and net start bits to start these services.

Alternative: Use Command Prompt or Batch Scripts

If you prefer using the Command Prompt, you can clear the update cache with a few commands. This is also helpful if the standard method fails due to file locks or permission errors.

Here’s a quick sequence:

  1. Open Command Prompt as administrator (search for cmd, right-click, and select Run as administrator).
  2. Stop services:
    net stop wuauserv
    net stop bits
  3. Delete cache contents:
    del /s /q %windir%\SoftwareDistribution\Download\*
  4. Restart services:
    net start wuauserv
    net start bits

This sequence does the same job as the manual steps above and can be saved as a batch file for repeated use.

After Clearing the Cache: What To Expect

Once you’ve cleared the Windows Update cache and restarted the services, you may notice that Windows takes longer to check for updates at first. This is normal - it’s rebuilding its database and downloading fresh files as needed.

If you were experiencing update failures or error codes, try running Windows Update again. In most cases, updates will now install correctly. If you deleted the DataStore folder as well, your update history will be reset, but all previously installed updates remain on your system. You can verify updates through Settings > Windows Update > Update history.

Precautions and Troubleshooting Tips

Clearing the update cache is generally safe, but keep a few things in mind. Only delete files when Windows Update services are stopped, or you’ll risk file corruption. Never remove the entire SoftwareDistribution folder unless specifically instructed by advanced troubleshooting guides.

If you still see update errors after clearing the cache, try running the built-in Windows Update Troubleshooter in Settings > System > Troubleshoot > Other troubleshooters. Also, check that your system date and time are correct, as mismatches can interfere with the update process. For persistent problems, there might be deeper issues with your Windows installation, and further steps like running sfc /scannow or repairing Windows may be needed.

Frequently asked questions

Will clearing the update cache remove installed updates?

No, clearing the cache only deletes temporary files. All previously installed updates remain on your system.

Is it safe to delete everything in the SoftwareDistribution folder?

You can safely delete the contents of the Download and DataStore folders inside SoftwareDistribution, but avoid deleting the entire SoftwareDistribution folder itself.

How often should I clear the Windows Update cache?

You don’t need to do this regularly. Only clear the cache if you're encountering update errors, or if disk space is tight and the folder has become very large.

Do I need to restart my PC after clearing the update cache?

No, a restart isn’t required if you stop and start the Windows Update services as described. However, restarting can help finalize changes if you notice any odd behavior.