How to Clear Update Cache on Windows 11

Clear Unwanted Files on Windows PC. Here is the Comprehensive Guide to Clear Update Cache on Windows 11.

Clearing this cache is important, whether you do it to resolve update errors, free up space, or simply maintain your system’s performance. In this guide, we’ll explore these methods to clear the cache, as well as a bonus method for those who love automation. Let’s get started.

Should you Clear the Update  Cache on Windows 11?

Before we get started, let’s understand why you would want to clear the update cache on Windows 11. Clearing the update cache has several benefits:

1. Resolve Update Issues

If you’re unable to find a new update that you saw moments ago, clearing the update cache should bring it back.

2. Fresh Start for Updates

Clearing the update cache means that you have a fresh start for every new update. This decreases the chances of update files getting mixed up, which could lead to fatal errors.

3. Improve System Performance and Free Up Space

Aside from a safe update experience, clearing the cache also frees up disk space and improves system performance. Although most of the files are automatically deleted after installing an update, there are still some that hang around.

Top Ways to Clear Update Cache on Windows 11

There are several ways you can clear the update cache on Windows 11. Whether you are someone who prefers a user interface or a command-line approach, there’s an option to suit your needs. In this article, we’ll be looking at three ways, including two user interface approaches and a command-line approach.

Method 1: Using File Explorer

The most straightforward way to clear the update cache is using File Explorer. But before you do that, you need to stop the Windows update service. Follow the steps below.

  1. Press the Windows key + R to open a Run prompt.
  2. Type in services.msc and press Enter.run services.msc
  3. Now, scroll down and find Windows Update. Press the W key to skip to all instances starting with W.
  4. Right-click on Windows Update and select Stop.stop Windows Update
  5. Open the Run prompt again, type in the following command, and press Enter: %windir%\SoftwareDistribution\open the software distribution folder
  6. Delete all the files and folders in the SoftwareDistribution directory. Press Ctrl + A and select the trash icon. You might want to empty the recycle bin.delete all the Software Distribution contents
  7. Now, go back to the Services window or open it again if you have closed it.
  8. Find Windows Update, right-click on it, and select Start.start Windows Update
  9. Restart your computer.restart your pc

Method 2: Using Command Prompt

If you don’t want to keep switching between multiple windows to do this process, the Command Prompt is here for your rescue. A few simple commands and you are good to go. Follow the steps below.

  1. Press the Windows key + Q and search for Command Prompt.
  2. Now, select Command Prompt and click on Run as administrator.run command prompt as administrator
  3. Click Yes on the UAC prompt to continue.
  4. Now, execute the following commands one after another:
net stop wuauserv
net stop bits
cd %windir%\SoftwareDistribution
del /f /s /q *.*
net start wuauserv
net start bits
  1. clear the update cache using command prompt
    After the cleanup is complete, restart your computer.restart your pc

What do each of these commands do?

The first command stops the Windows Update service and the second stops the Background and Intelligent Transfer Service service. The third and fourth commands navigate to the SoftwareDistribution directory and delete all the files in there.

Finally, the last two commands restart the Windows Update service and the Background and Intelligent Transfer Service service, respectively.

Method 3: Using Disk Cleaner

The Disk Cleaner is, perhaps, an even more straightforward option to clear the update cache on Windows 11. It comes built-in with Windows, so you don’t have to worry about installing additional software. Here’s how to use it:

  1. Press the Windows key + Q and search for Disk Cleanup.
  2. Now, select Disk Cleanup and click on Run as administrator.run Disk Cleanup as administrator
  3. Use the “Drives” drop-down to select your Windows drive (typically C:) and click OK.select your Drive letter
  4. In the Disk Cleanup window, select Windows Update Cleanup and click OK.delete update cache using Disk Cleanup
  5. Once done, you can close the Disk Cleanup window.
  6. After the cleanup is complete, restart your computer.restart your pc

Bonus: Create a *.BAT File for Single-Click Execution

Who doesn’t love automation? Let’s see how you can streamline this process and clear the update cache with a single click on Windows 11. All you need to do is create and save a .bat file. Here’s how to do it:

  1. Press the Windows key + R to open a Run prompt.
  2. Type in notepad and press Enter.open Notepad
  3. Copy and paste the following text into Notepad.
:: Stop Windows Update services
net stop wuauserv
net stop bits
:: Delete the update cache
cd %windir%\SoftwareDistribution
del /f /s /q *.*
:: Restart Windows Update services
net start wuauserv
net start bits
echo Update cache cleared and services restarted. Press any key to exit.
pause >nul
  1. Click File > Save As.click on Save as
  2. In the Save as type dropdown, select All files (*.*).
  3. Name the file ClearUpdateCache.bat and save it to the desired location.save the bat file
  4. Close the Notepad window.
  5. Now, navigate to the location where you saved the .bat file.
  6. Right-click on the saved .bat file and select Run as administrator.run the bat file as administrator
  7. Follow any prompts to allow the script to run with administrative privileges.clear update cache using bat file
  8. Restart your PC for the changes to take effect.restart your pc

Frequently Asked Questions

Why should I clear the update cache on Windows 11?

Clearing the update cache can resolve update issues, provide a fresh start for updates, and improve system performance by freeing up disk space.

How often should I clear the update cache on Windows 11?

It depends on your system’s performance and any issues you encounter with updates. There’s no set frequency, but I would recommend doing it after every update to maintain smooth operation.

Do I need administrative privileges to clear the update cache?

Yes, you will need administrative privileges to stop services and delete system files.

Final Words

That’s it for this guide. We hope that it has helped you clear the update cache on your Windows 11 machine. If you want to do this often, we recommend creating a .bat file and running it as needed. Again, if you have any further questions, let us know in the comments section below.

If you've any thoughts on How to Clear Update Cache on Windows 11, then feel free to drop in below comment box. Also, please subscribe to our DigitBin YouTube channel for videos tutorials. Cheers!

Share
Mehtab Ansari
Mehtab Ansari is a tech writer specializing in smartphone reviews, how-to guides, features, news, and troubleshooting. He started his writing journey in 2022 and has since been sharing insights and engaging with a growing community of tech enthusiasts and people alike. Passionate about the latest advancements in consumer technology, he dedicates his time to exploring new gadgets and innovations. When not immersed in the tech world, you can find him hitting the gym or watching his favourite YouTube videos.

Leave a Reply

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