8 Ways to Clear Cache in Windows 11

Want to find out different ways to clear cache in Windows 11?

Caches are temporary files that your computer saves in order to improve its performance. Although cache proves to be beneficial as it helps load your web pages faster, it can also be the cause of why your PC may suddenly start freezing.

Caches on your computer tend to accumulate and, at one point, will take a lot of space in your storage or become corrupted. It can then start to interfere with your PC performance, resulting in it taking longer to shut down and causing numerous glitches, etc.

Windows 11 has multiple types of cache that a user should clear from time to time to improve the user experience by freeing up storage space. Fortunately, there are several easy ways to clear cache in Windows 11. In this post, we’ve covered a variety of approaches. To learn them, all you have to do is read till the end.

So, let’s get right to it!

1. Use the Disk Cleanup.

The most common and helpful way to clear the cache on your computer is through Disk Cleanup. Windows 11 comes with a built-in app known as Disk Cleanup, which helps clear out different types of cache from your PC.

Here’s how to do it:

  1. To start, click on the Search icon from the taskbar and type Disk Cleanup in the search bar. 
  2. Next, click Open from the right pane. 
Disk Cleanup Windows 11
  1. From the pop-up window, select the Drive you wish to clear the cache from. 
  2. Then, check the boxes next to the files you want to delete under the Files to Delete section. 
  3. After that, click on Clean up system files and then OK
Ways to Clear Cache in Windows 11
  1. A confirmation box will appear. Press Delete files and wait for your files to be deleted from the system.

This method will specifically clear the cache files that you select. If you only wish to delete the temporary cache files, head to the following method. 

2. Delete the Temporary Cache.

The numerous programs you run on your PC create temporary files for their own use. Even though these help your programs run quickly, an excessive buildup of temporary cache can slow down your computer. So, it’s a good practice to delete this temporary cache once in a while. 

To do so, follow these steps:

  1. Firstly, press the Windows key + R from your keyboard. 
  2. A Run dialogue box will appear. Type %temp% and click OK.
run command box
  1. Then, click on the three dots icon from the top bar to expand its options.
  2. After that, click on Select all
  3. Next, select the Trash can icon
temp folder in User App Data
  1. A prompt box will appear. Now, check the box for Do this for all current items and select Continue to delete all the temporary cache files from your computer.
Ways to Clear Cache in Windows 11

3. Remove the Temporary Cache Files from System Storage. 

The cache on your computer is present in various types of files. So, if your PC is still lagging after deleting the files only in the temp folder, it’s time to clean up the cache files from your entire system storage. 

To delete cache files from the storage settings, follow the steps below: 

  1. Start by going to the Start Menu and typing in Storage settings
  2. Then, click on Open from the right pane of storage settings.
  3. Next, select Temporary files
storage settings Windows
  1. Now, scroll down and check the boxes next to the files you want to delete. You may either select all or specific ones you wish to get rid of. 
  2. After that, click on Remove files
Ways to Clear Cache in Windows 11
  1. Then, select Continue from the confirmation dialogue. 

4. Flush the DNS.

The cache that your operating system stores also includes the websites you open. This helps your computer to load these websites faster on subsequent visits. However, with time, the DNS cache may pile up to such an extent that it may cause DNS cache poisoning or DNS Server Not Responding.

A preventive method to save your computer from such attacks is to flush the DNS. Follow the steps below to remove the DNS cache from your PC:

  1. Begin by launching Windows Command Prompt by clicking the Start Menu and typing in ‘cmd’. 
  2. Next, select Run as Administrator from the right pane of Command Prompt. 
command prompt as administrator
  1. A confirmation message will show up. Click Yes to continue. 
  2. Once in the Command Prompt, type the following command and press Enter from your keyboard. 
ipconfig/flushdns

A Successfully flushed DNS Resolver Cache message will show up, letting you know that your computer has cleared your DNS cache. 

5. Clear Windows Update Cache. 

If you’re having trouble downloading or installing a Windows Update, deleting the Windows Update cache may help solve this issue. Clearing this cache can free up hard drive space that can be used to download and install the latest version of Windows 11

Below are the steps you need to follow:

  1. First, press the Windows key + R to open the Run command
  2. Now, type in services.msc and press Enter
  3. After that, scroll down and locate Windows Update. Right-click on it and select Stop
Stop Windows update services
  1. Next, head to the C:\Windows\SoftwareDistribution\Download folder. 
  2. Then, select all files and folders by pressing Ctrl and A simultaneously.
  3. Now, Press Delete from your keyboard to delete the selected items. 
  4. Once again, launch the Run command and type in services.msc.
  5. Lastly, locate and right-click on Windows Update and then click on Start.
start windows update services

6. Clear Location Cache. 

A large amount of location data kept on your computer slows down its speed while also reducing storage space. So, the location cache should also be cleared once in a while to boost your PC performance. 

Here’s what you need to do:

  1. To begin, launch the Settings app by pressing Win + i from your keyboard. 
  2. From the left pane, click on Privacy & Security
  3. Then, locate and select Locations under App permissions.
privacy and security settings
  1. Now, find Location history and click on the Clear button next to it.
Ways to Clear Cache in Windows 11

7. Clear Microsoft Store Cache. 

If you’re facing an issue with downloading, updating, or opening Microsoft apps, it’s possible that the Microsoft Store cache has accumulated. Microsoft Store also lets you delete this cache to empty up space, which may help resolve your problem. 

Follow the steps mentioned below to clear the Microsoft Store cache from your computer:

  1. Firstly, press the Windows key + R to launch the Run command
  2. After that, type in wsreset.exe and hit Enter
run command in Windows 11
  1. A black window will appear and close automatically, letting you know that your Microsoft Store cache has been deleted. 

8. Delete the Cache Automatically with Storage Sense.

Rather than clearing out different caches from your computer one by one, Windows 11 has made it easy for you to delete your caches automatically. With the help of a built-in feature known as Storage Sense, you can now clear cache automatically by setting it regularly at a specific time. 

Follow the steps below to do so:

  1. Firstly, open the Settings app by pressing the Windows key + i.
  2. Next, select System from the left pane.
     
  3. After that, scroll down to find Storage
  4. Then, turn on the toggle for Storage Sense if you have it turned off and click on Storage Sense. 
storage settings in Windows 11
  1. Afterward, check the box under Cleanup of temporary files
  2. Now, turn the toggle on under Automatic User content cleanup
  3. Under the Run Storage Sense option, select how frequently you want Storage Sense to run automatically.
  4. Lastly, set a time to Delete files from my recycle bin if they’ve been there for a long time, and Delete files in my downloads folder if they haven’t been opened for more than options. 
storage sense in Windows 11

That’s it! Now you know eight different and easy ways to clear cache in Windows 11. Hopefully, by now, you’ve succeeded in clearing cache and freeing up some storage space from your PC. If you have further confusion or queries, let us know in the comments section below. We will try our best to help you out. 

If this guide helped you, please share it. 🙂

Author

  • Aimen Choudhry

    Aimen Choudhry is an architecture student who has always been fascinated by science. She now finds her therapy researching and writing about the latest technology and the issues that come alongside. Otherwise, you’ll find her playing video games, listening to music, or watching fantasy/sci-fi movies.

Leave a Reply

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