How to Clear Your Cache on Windows 11

To improve your PC's performance and to keep it decluttered, you should regularly clear various caches on your PC. We'll show you how to do that in .

files are the temporary files created by various apps and services. Clearing these files usually doesn't cause any issues with your apps, as your apps will recreate them whenever they need. You can also set Windows to automatically clear cache files for you, as we'll explain below.

How to Use Disk Cleanup to Clear Cache

An easy way to remove various caches from Windows 11 is to use the built-in Disk Cleanup tool. This tool automatically finds and clears cache files for you.

To use the tool, open the “Start” menu and search for “Disk Cleanup”. Click the tool in the search results.

In the small “Disk Cleanup” window that opens, click the “Drives” drop-down menu and select the drive where you have installed Windows 11. Then click “OK.”

You will see a “Disk Cleanup” window. Here, in the “Files to Delete” section, enable all boxes so all your cache files are removed. Then, at the bottom, click “OK.”

In the prompt that appears, click “Delete Files” to confirm deleting your cache.

And that's it. The selected cache files are now removed from your PC.

How to Clear the Microsoft Store Cache

Like other apps, Microsoft Store also stores cache files on your PC. To remove these files, you will have to run a utility from the Run box.

To do so, first, open the Run box by pressing Windows+R keys together.

In the Run box, type the following and press Enter:


A blank black window will appear on your screen. Wait for this window to automatically close.

When the window closes, your Microsoft Store cache is removed.

How to Delete Your Location Cache

To clear location history on your PC, open the Settings app by pressing Windows+i keys together.

In Settings, from the left sidebar, select “Privacy & Security.”

On the “Privacy & Security” page, in the “App Permissions” section, click “Location.”

On the “Location” page, next to “Location History,” click “Clear.”

And that's it. Windows 11 will delete your location cache.

If you're also an Apple user, you may want to learn how to free up storage space on an iPhone or iPad.

How to Flush the DNS Cache

Start by opening the “Start” menu, searching for “Windows Terminal”, and clicking the app in the search results.

In Windows Terminal, type the following command and press Enter. You can use this command in both PowerShell and Command Prompt shells.

ipconfig /flushdns

You will see a success message when the DNS cache is deleted.

You're all set.

How to Automatically Clear Cache Using Storage Sense

With the built-in Storage Sense feature in Windows 11, you can automatically clear your PC's cache at a regular interval. You get to specify what cache types you'd like to clear, and the feature will only delete those cache files.

To use the feature, launch the Settings app by pressing Windows+i keys at the same time.

In Settings, from the left sidebar, select “System.”

On the “System” page, click “Storage.”

In the “Storage” menu, click “Storage Sense.”

At the top of the “Storage Sense” page, turn on the “Automatic User Content Cleanup” option. This enables the Storage Sense feature.

On the same page, configure the options for what cache files you'd like to be deleted. This includes automatically emptying the Recycle Bin, clearing the Downloads folder, and so on.

Storage Sense runs at the specified interval. If you'd like to run it right away, then scroll the current page to the bottom. There, click the “Run Storage Sense Now” button.

Storage Sense will declutter your PC using your specified options.

And that's how you go about clearing various caches on your Windows 11-based PC!

While you're at it, consider clearing the cache in Chrome and Firefox web browsers, too.

You might also like

Comments are closed.