How to clear all cache on windows 10 | Ultimate Guide


👤 Diwas Poudel    🕒 Jan 8 2021    📁 Fix    📜 0 comment

Table of Content

Cached Data plays important role in any type of technology from the operating system, database, CDN, web application, etc. Clearing the cache is one of the processes of reducing used disk space and clearing cache improves overall system performance. Windows 10 is not the same as the previous version, it can do a lot of tasks smoothly and one reason for its performance is cache. Using too much cache can degrade the performance of the system, so sometimes we need to clear cache manually.

What Is Cached Data?

Cached Data is temporary data stored in the computer for faster accessing those data when needed. These data may be rapidly used data stored by the application so that they can directly use that without the need of doing lots of complex computations.

Benefits of Cached Data

  • Cache data helps to improve the performance and throughput of the system.
  • To make the system more responsive.
  • Free up Space
  • Troubleshooting issues.

When to Clear Cached Data in Windows 10?

  • When you feel degrade in system performance.
  • When you are running low on storage space.

There is a various place in windows 10 for clearing cache data. Some of the few caches available on windows 10 are as follows.

  • Temporary Files Cache
  • Windows Store Cache
  • Prefetch Files
  • Login History and Application History Caches
  • DNS Resolver cache
  • Web Browser Cache
  • File Explorer Cache
  • Location Cache
Also Read: Do Windows 10 need Antivirus?

Clearing temporary Files Cache Windows 10

Windows 10 creates temporary files for applications that you are using. These files are created for holding information related to the application that is currently in use. Most of the time, it gets cleared when you close the application and some remain there as trash.

1. Goto Search Bar and search "Storage Settings" and select "Storage Settings" from the list

It will give you how your storage is used and how much free space is available.

storage-settings

2. Click on "Temporary Files".

It will scan all available temporary files present in your system. Here you can clearly see "how large my temporary files ?"

temporary-files

3. Then carefully check on the box that you want to clear and click on "Remove Files".

Removing These files may take a longer time.

Here you can basically clear the following things:

  • Windows Update Cache
  • Windows Upgrade Log Files
  • Temporary Internet Files
  • Thumbnail Cache
  • Temporary Files
  • Windows Defender Non Critical Files
  • Recycle Bin
  • DirectX Shade Cache 
  • Windows Error Reports and Feedback Diagnostics
  • Delivery Optimization Files: They are files previously downloaded which can be removed if the delivery optimization service has not currently been used.
Don't Miss: Check your mobile Processor 

Clearing Windows Store Cache

Windows 10 has Microsoft Store which provides lots of apps related to work, productivity, gaming, and social networking, and many more. It has free as well as paid apps. When you installed or updates store apps then window 10 may store Cache which may sometimes cause a problem like apps not downloaded the issue, slow download speed, etc. so it's better to clear this cache.

You can clear cache using registry, command, and from UI. But a simple solution is from the command line.

Let's do it:

1 Press Win + R key combination from keyboard. Run Wizard will get a popup.

2 Type WSReset.exe and press Ok.

Then you will just see a black command prompt screen, It clearing the store apps cache internally, so do not wait for this do other your tasks. After a few minutes, Microsoft Store will open.

Clearing DNS Resolver cache in Windows 10

Let's do it.

1 Press Win + R key combination from keyboard. Run Wizard will get a popup.

2 Type cmd and press Ok

3 Then type ipconfig /flushdns in command prompt and press Enter.

Clearing Prefetch Cache in Windows 10

I prefer clearing prefetch only for reducting some small amount of disk space, but not for performance intention. Also, from the Microsoft blog, prefetch files help to keeps track of computer start information and program you commonly open. So, if you clear those files then your computer may take a little more time for windows startup and other commonly used applications.

Lets clear it:

1 Press Win + R key combination from keyboard. Run Window will open.

2 Type prefetch and press Ok.

Then, it will ask for permission to access. Just click "ok".Then you will get prefetch files.

3 Press Ctrl + A to select all files and press Shift + Delete key combination. 

This will prompt and ask "Do you want to delete" and press Ok. This deletes all your prefetch from your computer.

Clearing Windows and UserWise Temporary Files Cache Windows 10

Actually, temporary files created by Windows Operating System are located at %system%\Windows\Temp folder .It can be cleared in the following ways.

1 Press Win + R key combination from keyboard. Run Window will open.

2 Type temp and press Ok.

Then, it will ask for permission to access. Just click "ok".Then you will get prefetch files.

3 Press Ctrl + A to select all files and press Shift + Delete key combination. 

Now, let's clear temporary files created by the user while running software. They are located at  %userprofile%\AppData\Local\Temp Folder.It can be cleared in the following ways.

1 Press Win + R key combination from keyboard. Run Window will open.

2 Type &temp& and press Ok.

Then, it will ask for permission to access. Just click "ok".Then you will get prefetch files.

3 Press Ctrl + A to select all files and press Shift + Delete key combination. 

Most of the files get deleted and some files which are currently in use by an application will not be deleted so just skip these files.

Clearing Web Browser Cache and Cookies

Web Browser caches static assets of the website so that when next time you visit the same sites then static assets are loaded from caches. Some assets expire within a few days and some remain there for a year. The same happens for all the web browser from Google Chrome, Firefox, Edge, Opera, and all other browsers.

Here, I will show how to clear those cache from Google Chrome Browser and the same will apply to other browsers as well.

Static Assets are the content of the website which does not change rapidly.It includes HTML,CSS,Javascript and Images.

Clearing Windows Event Log Information

Windows event log can provide a full record of various users' activity. Anyone who has login the system can know the private information of the user by accessing the event log file. Therefore you can surely routinely delete the event log if you want to protect your privacy. So make habit of clearing those stuff.

Steps:

1 Goto Run and type: eventvwr.msc and press the Ok button.

Windows Event Box will get a display.

2 Goto Windows Logs Section and Right Click on Application > Clear Log > Clear

Same do for Security as below

3 Goto Windows Logs Section and Right Click on Security > Clear Log > Clear

Also do the same for "Setup", "System", "Forwarded Events" etc.

Clearing System Restore Cache

System Restore requires "snapshotof certain system files and settings and saves it creating restore points. And only restore those files only.

Clearing Windows 10 Update Cache

Sometimes Windows Update Cache creates a problem while installing and downloading Windows updates in Windows 10. Windows Update Cache may use several GB of disk space and suppose if an update is applied then also that cache may not get cleared. So, let's delete those stuff manually.

1 Press Win + R and type: services.msc in the search bar and click the Ok button
2 Find Windows Update and then right-click on it and click on the Stop button.

3 Press Win + R and paste "C:\Windows\SoftwareDistribution\Download" without quote and delete content present in that folder.

So, you have successfully deleted all Microsoft Update files present in your system which you have downloaded so far, and ready to be applied.

Clearing File Explorer Recent Files Cache

Steps:

1 Press Win + E button to open file explorer

2 Then in Menu Bar click on File > Change Folder and Search Options

3 Then click on the "Clear" button