6 Ways to Clear Cache on Windows 11 PC/Laptop

How to Clear Cache in Windows 11

Clear cache on your Windows 11 PC/laptop periodically to free up storage, improve system performance, and fix minor errors.

Cache is a collection of temporary files stored on the system by various applications and programs to perform tasks faster on subsequent attempts. This includes Windows and browser caches. Over time, the cache might start to take up a lot of storage space and affect the performance of your Windows 11 PC, therefore it is recommended that you delete it periodically.

Also read: How to solve the “This PC can’t run Windows 11” error

However, there is no specific location on the system where all caches are stored and can be deleted in one go. These can be stored in different folders depending on the application or program that created them.

Why Should I Clear Cache on My Windows 11 PC/laptop?

Clearing and clearing Windows 11 cache will not cross your mind until you run into problems with Windows 11 system performance. Regularly clearing cache offers various benefits as follows:

  • Clearing Disk Space: When cache files are allowed to accumulate over time, it may start to take up a large portion of your hard disk. If your system runs out of memory, clearing cache will help free up disk space.
  • Improve Performance: If the storage space is low, it will slow down the system. Therefore, clearing the cache will improve system performance.
  • Preventing Errors: Cache files can get corrupted over time, causing various errors, some of which can crash Windows. Periodic cache cleaning prevents this error and keeps your system healthy.

Now that you understand the importance of clearing system cache, let’s take a look at the different ways you can clear cache in your Windows 11.

How to Clear Cache on Windows 11 PC/Laptop

There are various built-in programs and features that help clear cache in your Windows 11 PC/Laptop along with clearing it manually from its storage location.

  1. Delete Temporary Cache Files
  2. Clear Cache via App Settings
  3. Clear Cache with Disk Cleanup
  4. Clear DNS Cache
  5. Clear Location Cache
  6. Clear Microsoft Store Cache

1. Delete Temporary Cache Files

These files are created by the application while running various tasks and should ideally be deleted automatically after the task is run. However, this doesn’t happen often and you are asked to manually remove it.

The folder will fill up again quickly as the app keeps creating these temporary files. Hence it is suggested that you clean it regularly.

To clear the Temporary Cache file, press WINDOWS+R to run the Run command, type %temp% in the text field, and press ENTER or click “OK” at the bottom.

How to Clear Cache in Windows 11-1

You can also navigate to the following path to open the folder where the temporary files are stored. In the following path, replace “USER” with the account you are using to log into Windows.

C:UsersUSERAppDataLocalTemp

Once in the temp folder, press CTRL+A to select all files and then press the DELETE key or right click on one of the files and select the “Delete” icon, to delete the files.

How to Clear Cache in Windows 11-2

A confirmation box may appear for some files, select the relevant response to complete the deletion process.

Also read: How to Make a Windows 11 Bootable USB

2. Clear Cache via App Settings

There are certain other temporary files that are scattered throughout the system but can be easily removed from Settings. Here are the steps:

  • To clear cache via Settings, right-click the “Start” icon on the Taskbar or press WINDOWS+X to launch the Quick Access menu, and select “Settings”. Or, you can press WINDOWS+i to launch the Settings app.
  • In the “System” Settings tab, scroll down on the right and select “Storage”.
  • Wait for Windows to scan and assess the temporary cache files stored on your system. Now, click on the “Temporary files” option at the top.
  • The various cache files will now be visible. Scroll down and select the files you want to delete and click on the “Remove files” option.
  • Finally, click “Continue” in the confirmation box that appears to complete the process.
How to Clear Cache in Windows 11-3

The selected file will now be deleted.

3. Clear Cache with Disk Cleanup

Disk Cleanup is a built-in utility that scans cache files and other temporary system files that can be deleted. Here’s how to clear cache with Disk Cleanup:

  • To clear the system cache with Disk Cleanup, search for the Disk Cleanup application in the Search menu, and click the relevant search result to launch the application.
  • You will now be asked to select the drive you want to clean. Click on the drop-down menu, select a drive and then click “OK” at the bottom. Disk Cleanup will now run a scan to identify cached files stored on your system.
  • Once the scan is run, select the files you want to delete under the “Files to delete” section and click “OK” at the bottom to delete them. Select the appropriate response if a confirmation box appears.

You can also delete system files with Disk Cleanup application. These files generally occupy quite a large amount of storage space and cleaning them will improve system performance.

  • To delete system files, click the “Clean up system files” option.
  • Now, select the drive where the system files are stored, which is most likely the “C:” drive. Now, wait for Disk Cleanup to scan and identify system files that can be deleted. Once it’s done scanning, select the files you want to delete under the “Files to delete” section and click “OK” at the bottom.
How to Clear Cache in Windows 11-4

Select the appropriate response if a confirmation box appears.

4. Clear DNS Cache

DNS (Domain Name System) servers store the domain names of previously visited websites to load them quickly on subsequent visits. Over time, these servers can fill up and entries may get corrupted, causing errors to load websites. Here is how you can clear DNS cache.

To clear the DNS cache, search for “Windows Terminal” in the Search menu and click the relevant search result to launch the application.

In the Windows Terminal app, the PowerShell tab will launch by default unless you have manually set “Command Prompt” as the default profile. To launch Command Prompt, click the arrow icon at the top and select “Command Prompt” from the menu. Alternatively, you can press CTRL+SHIFT+2 to launch Command Prompt.

In the Command Prompt, type the following command and press ENTER to run it to clear the DNS cache.

ipconfig/flushdns

How to Clear Cache in Windows 11-5

The DNS cache will now be cleared.

5. Clear Location Cache

You can also delete location activities stored in the system.

  • To clear the location cache, launch the “Settings” app as discussed earlier and select “Privacy & security” from the navigation pane on the left.
  • Now, select the “Location” option under “Apps permissions” on the right.
  • Next, search for “Location History” and click “Clear” next to it.
How to Clear Cache in Windows 11-6

Location activity stored in the system will be deleted.

6. Clear Microsoft Store Cache

When you access Microsoft Store and download an app, it creates a cache file. You can easily delete these files via a simple command. Let’s see how you do it.

To clear the Microsoft Store cache, press WINDOWS+R to launch the Run command, then type wsreset.exe in the text field, and click “OK” at the bottom or press ENTER.

How to Clear Cache in Windows 11-7

This will open a black window with no text that will disappear once the cache is cleared, and the Microsoft Store app will launch.

Also read: How to Create a System Restore Point on Windows 11 PC

The above method is the most effective in clearing cache on Windows 11 and will free up considerable storage space. Also, this method is useful if you encounter errors due to corrupted cache files.

That’s how to clear cache on Windows 11 PC/Laptop. I hope this article helped you! Thank you for visiting and don’t forget if you find this article useful, please share it with your friends too.

Leave a Reply

Your email address will not be published.