HomeWinBuzzer TipsHow to Clear Caches in Windows 10

How to Clear Caches in Windows 10

We show you how to clear your cache in Windows 10, including the DNS cache, Windows Store cache, location cache, and temporary files.


Just like clearing your browser cache, when you clear a cache in it can improve performance, free up disk space, and increase stability. Today we're going to show you how to clear your cache in Windows 10, focusing on four key areas: disk cache, DNS cache, Store cache, and Store cache.

What is the cache in Windows 10?

The Windows 10 cache, or really collection of caches, are locations in which the operating system stores data so that it can access it faster in the future. For example, Windows might store file thumbnails in a cache so that it doesn't have to generate them again every time you open .

However, while your PC caches are intended to speed things up, they can have the opposite effect if they become more bloated. They can also store corrupted or incorrect files that slow down or cause issues on your PC. As a result, it's good practice to clear caches in Windows 10 every now and then.

Here's how to clear the computer cache in Windows 10:

How to Delete Temporary Files in Windows via the Disk Cleanup Tool

Windows stores a lot of temporary files by default, from thumbnails to your recycle bin items and Direct X shader cache. Here's how to delete those temporary files using the intuitive Disk Cleanup tool:

  1. Open Disk Cleanup

    Press Start and then type “Disk Cleanup”. Click the top result.

    Windows 10 - Open Disk Cleanup

  2. Wait for Disk Cleanup to scan your temporary files

    Windows 10 - Disk Cleanup calculating Space

  3. Tick “Temporary files” and press “Clean up system files”

    Windows 10 - Disk Cleanup - Select Files - Clean Up System Files

  4. Tick “Temporary files” again and press “OK”

    Windows 10 - Disk Cleanup - Select Files - Accept

  5. Delete your temporary files in Windows Disk Cleanup

    A prompt will warn you that your files will be permanently deleted. Click “Delete Files” if you're happy with that.

    Windows 10 - Disk Cleanup - Delete Files

How to Clear DNS Cache in Windows 10

The DNS cache doesn't have much impact on your storage space, but it does experience issues often that can lead to a loss of internet connection. Flushing the cache often resolves this.

  1. Open Command Prompt as an administrator

    Press Start and type “Command Prompt”. On the right-hand side of your Start menu, press “Run as administrator”.

    Windows 10 - Open Elevated Command Prompt

  2. Type the Windows 10 flush DNS command

    In your Command Prompt window, type the following and press Enter:

    ipconfig /flushDNS

    You'll receive the message “Successfully flushed the DNS Resolver Cache” once the process is completed. This should only take a second or two.Windows 10 - Elevated Command Prompt - Enter the Command

How to Clear the Windows Store Cache in Windows 10

If you're experiencing crashes or other issues with your Windows clearing its cache can be helpful, too. To do this, we use the WSReset tool.

  1. Open WSReset

    Press Start and then type “WSReset.exe”. Click the top result.

    Windows 10 - Open WSRese.exe

  2. Wait for WSReset to clear the Windows Store cache

    A black terminal window will appear with a blinking white cursor. The process will take a minute or two, so all you need to do is wait a minute or two for the process to complete. Once it's done, it will automatically close and the will open.

    If the process doesn't complete, you may want to clear the Windows store cache using one of the methods mentioned in our dedicated tutorial.

    Windows 10 - WSRese.exe - Running

How to Clear the Windows Location Cache

The final method area to clear a cache in Windows 10 is your store of location data. The location cache is already stored for a limited amount of time but clearing it manually could help to resolve issues and claw back a tiny bit of disk space.

  1. Open Settings

    Press the “Start” button, then click the settings cog, above the power button. Alternatively, press Windows + I.

    Windows 10 - Open Settings

  2. Click “Privacy”

    Windows 10 - Settings - Open Privacy

  3. Click “Location” in the sidebar and press “Clear”

    Windows 10 - Settings - Privacy - Clear Location

How to Clean up the WinSxS Folder and Disable Reserved Storage

If you need to free up even more disk space, consider following our tutorials on how cleanup the WinSxS folder and how to disable reserved storage. If more drastic measures are required, you can also use CompactOS compression to free up 2-5GB more.

Last Updated on February 14, 2022 7:43 pm CET

Ryan Maskell
Ryan Maskellhttps://ryanmaskell.co.uk
Ryan has had a passion for gaming and technology since early childhood. Fusing the skills from his Creative Writing and Publishing degree with profound technical knowledge, he enjoys covering news about Microsoft. As an avid writer, he is also working on his debut novel.
Table of Contents: