How to Clear Cache in Windows 10 and 11


key Takeaways

  • Turn on Storage Sense to auto clear cache in Windows 10 and 11, go to settings> search for storage in the settings search bar and click on storage> click on storage sense> check on the temporary file and click clear now
  • Search disc cleanup in the windows search bar and open it, select drive and press ok, select the file type, and click on to run
  • Clear DNS cache, open cmd as administrator and paste the command

Over time while using a windows pc, lots of cache and temporary junk files arg stored in the PC. This junk file may create some issues and might reduce the performance of your PC data transfer speed and even overall performance.

To get rid of them you need to clear the cache in Windows PC, do to that safety follow below given steps,

1. Clear cache using storage sense 

Microsoft's built-in storage sense program is designed to clear junk and unused cache files automatically. 

But it only runs if there is low space remaining in your PC storage to free up some space to make sure the PC runs at its best.

Overall it's a great tool to use to get rid of clutter in pc automatically,

To turn on and use storage sense,

In Windows 11

1. Open settings by the Star menu

2. Click on system and select storage 

3. Click on storage sense and turn on the toggle automatically for user content cleanup 

4. Scroll down to clear manually using storage sense 

If you want to clear cache without storage sense then click on the temperature field and click on the remove button.

In Windows 10

1. Open settings 

system option in setting

2. Click on system 

configure storage sense in windows setting

3. Click on storage and open the link location in the top configure storage sense or run it now

4. Here you can turn on Storage Sense or run it manually by pressing clear now button located in the bottom section 

clear now using storage sense windows

To clear the cache without storage sense click on the temporary file option located in the storage settings windows 

It includes,

  • 1. Recycle bin file
  • 2. Temporary file 
  • 3. Thumbnail 
  • 4. Temporary Internet file
  • 5. Direct x shader cache

Select the clearing option and press the remove file button.

2. Use the disc cleanup tool

Windows has built-in app for quick clear cache and temporary files of each partition drive of Windows,

To use it,

1. Search disc cleanup in the windows search bar 

disc cleanup in start menu

2. Click on disc cleanup 

select drive for clear cache

3. Select drive and press ok

clear cache in selected drive

4. Select the file type and press ok to start cleaning 

3. Clear DNS cache 

To clear cache related to domain name system DNS to ensure that web browser and web page work seamlessly in windows PC,

1. Open cmd by typing in the windows search bar

2. Click run as administrator 

3. Type ipconfig /flushdns and press enter 

ipconfig flush command incmd

4. The message appear successfully flushed dns cache

4. Clear Microsoft store cache

If you are facing some error or problem in the Microsoft Store app then clearing the cache might help to get rid of them,

1. Open the run app by pressing window+ R and typing wsreset.exe and pressing enter 

2. A blank window will appear to clear the Microsoft Store cache and close automatically 

clear Microsoft store command in run

When Windows closes then it signs that the Microsoft store cache is cleared successfully.

photo of abhishek tiwari who is founder and owner of abinfox

Abhishek Tiwari

With real time experience and a computer science degree, Abhishek possesses a profound understanding of windows 11/10 and everyday tech and its potential to solve problems. Learn More