How to Clear the Cache in Windows 10

Do you experience unusual errors or crashes on your Windows 10 PC? Or have you noticed that something is taking away your PC’s storage space? Then, it might be time to clear the cache. The Windows operating system relies heavily on temporary files to perform its tasks. Cache files may become damaged or so huge that they affect your computer’s performance.

You can use several ways to clear the cache, which can be confusing. Luckily, in this article, you will learn the necessary steps to clear the cache using different methods. Keep on reading to find out!

How to Clear the Cache in Windows 10

There are a couple of basic methods that you can use to clear the cache on your Windows 10 PC.

Use Settings

In Windows, you have the option of clearing the cache or deleting temporary files through Settings. Here’s how:

  1. In the bottom left corner of the desktop, select the Start menu (the Windows logo).
    How to Clear the Cache in Windows 10 1 1
  2. Go to the Settings icon.
    How to Clear the Cache in Windows 10 2
  3. Select the System option on the menu bar.
    How to Clear the Cache in Windows 10 3
  4. Click on the Storage option.
    How to Clear the Cache in Windows 10 4
  5. After the Storage option, click Configure Storage Sense or run it now.
    How to Clear the Cache in Windows 10 5
  6. Go to the option that says, Free up space now and click clean.
    How to Clear the Cache in Windows 10 6
  7. Wait until the scan has finished.
    How to Clear the Cache in Windows 10 7

Disk Clean Up

The Disk Cleanup program can also clear cache or temporary data. Follow these steps to do so:

  1. Open the Run box by pressing the Windows key and the R key simultaneously on your keyboard.
    Disk Clean Up 1
  2. Enter cleanmgr.exe into the command line and press Enter.
    Disk Clean Up 2
  3. Then choose a location where you want to proceed.
    Disk Clean Up 3
  4. After that, click Ok.
    Disk Clean Up 4
  5. Go to the Clean up system files option.
    Disk Clean Up 5
  6. Select All Items and click on OK.
    Disk Clean Up 6
  7.  Click the Delete Files option.
    Disk Clean Up 7
  8. Wait until the cleaning process is finished.
    Disk Clean Up 8

Use Third-Party Apps

This is the simplest method for clearing your Windows 10 computer’s cache. Using software like CCleaner is as simple as clicking two buttons:

  1. Download and Install the CCleaner app.
    Use Third Party Apps 0
  2. Launch CCleaner
    Use Third Party Apps 2
  3. Click on Analyze in CCleaner.
    Use Third Party Apps 3
  4. Select Clean All from the drop-down menu.
    Use Third Party Apps 4

How to Clear the Cache Memory in Windows 10

A long-standing and frequently reported method of clearing your Windows memory cache is to utilize a custom shortcut that “should” do so on Windows 10 and earlier Windows versions.

  1. Go to your desktop.
    How to Clear the Cache Memory in Windows 10 1
  2. Right-click and select Shortcut.
    How to Clear the Cache Memory in Windows 10 2
  3. Type the following and press Next:
    %windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks
    How to Clear the Cache Memory in Windows 10 3
  4. Provide an appropriate name for the shortcut.
    How to Clear the Cache Memory in Windows 10 4
  5. Click on Finish.
    How to Clear the Cache Memory in Windows 10 5

Once generated, the shortcut will be available for use. Double-click the shortcut any time you wish to initiate the procedure.

How to Clear the DNS Cache in Windows 10

Microsoft Windows 10’s DNS cache can be flushed to fix DNS-related issues. Errors such as “404 – Page not found” or “Unable to access this page because it has changed” are examples of possible problems.

Again, you can do this in two ways. Windows Command Prompt is the first option.

  1. Click on Start, then put cmd into the search box.
    How to Clear the DNS Cache in Windows 10 1
  2. Choose Run as Administrator from the context menu when you right-click Command Prompt.
    How to Clear the DNS Cache in Windows 10 2 1
  3. Enter the command ipconfig /flushdns (make sure a space precedes the slash).
    How to Clear the DNS Cache in Windows 10 3
  4. A command box will be displayed briefly, and the DNS cache will be flushed.
    How to Clear the DNS Cache in Windows 10 4

The second option is PowerShell in Windows. Here’s how:

  1. Click Start and type powershell into the search box.
    How to Clear the DNS Cache in Windows 10 5
  2. Pick Windows PowerShell.
    Type in the following command and hit Enter.
    Clear-DnsClientCache
    How to Clear the DNS Cache in Windows 10 7

How to Clear the Password Cache in Windows 10

Accessing secured file shares or starting RDP connections on the network will require that you preserve your credentials. Windows will remember your passwords for the next time you log in if you choose to do so. If you want to clear this password cache, you can do it in two ways.

You can use the control panel by following these steps:

  1. Open the Control Panel and select User Accounts.
    How to Clear the Password Cache in Windows 10 1
  2. The Credential Manager option may be found at the center of the page.
    How to Clear the Password Cache in Windows 10 2
  3. Choosing the Manage Windows Credentials type brings up a list of your stored credentials for network shares, remote desktop connections, or mapped drives.
    How to Clear the Password Cache in Windows 10 3
  4. The Remove option may be found by expanding one of the entries in the list and clicking on it will delete the cache.
    How to Clear the Password Cache in Windows 10 4

Or you can use the Run Command. Here’s how:

  1. Open the Run box by pressing the Windows key and R simultaneously.
    Disk Clean Up 1
  2. Press Enter to execute the following command,
    rundll32.exe keymgr.dll, KRShowKeyMgr
    How to Clear the Password Cache in Windows 10 5
  3. Your stored usernames and passwords will be shown to you in a separate window. Choose one of the items and click Erase to remove a stored network credential.
    How to Clear the Password Cache in Windows 10 6 3

How to Clear the Ram Cache in Windows 10

Running out of RAM isn’t a primary concern unless you’re using a high-end setup. It takes up more memory if you have a lot of apps on your device. Stopping programs can indeed help free up RAM, but this isn’t always the case, and in those situations, it’s required to delete cache memory and reclaim space in the RAM. Again, there are a couple of methods for doing so.

Restart Your PC

Your data is stored on a hard drive without the need for external power. When you shut down your computer, all of your files are stored and ready to be accessed when you restart.

Your computer’s memory capacity is unique. To keep things in order, it must be supplied with a steady stream of electricity at all times. Everything in your computer’s system memory gets erased each time you shut it down.

Turning your PC off is the fastest way to erase the Windows memory cache. Whether you restart it or shut it down and restart it manually, the small break in power will delete the data housed therein.

Deactivate the Windows Superfetch

In most cases, it’s okay to leave Superfetch on, but if you’re experiencing frequent slowdowns, excessive RAM utilization, or a delayed startup, you might want to disable Superfetch first.

  1. Open the Register Editor by pressing Win + R on your keyboard, typing regedit, and clicking OK.
    Deactivate the Windows Superfetch 1
  2. Select Yes when prompted by the User Access Control dialog box.
  3. In the Registry Editor, browse to HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters.
    Deactivate the Windows Superfetch 3
  4. Right-click in the open window, go to the New sub-menu, then pick D-WORD (32 bit) Value.
    Deactivate the Windows Superfetch 4
  5. Type EnableSuperfetch as the new value.
    Deactivate the Windows Superfetch 5
  6. EnableSuperfetch should be set to 0 if you wish to deactivate Superfetch entirely. Double-click the EnableSuperfetch value, then under Value data, adjust it to 1 to enable apps, 2 to enable it for booting (or 3 to enable it entirely) if you’d like to make changes.
    Deactivate the Windows Superfetch 6
  7. Click OK to confirm.
    Deactivate the Windows Superfetch 7
  8. Once the file has been saved, restart your computer.
    Deactivate the Windows Superfetch 8

How to Clear the Java Cache in Windows 10

  1. Open the Java Control Panel.
    How to Clear the Java Cache in Windows 10 1
  2. Under the General tab, go to Settings, which is located in the Temporary Internet Files section.
    How to Clear the Java Cache in Windows 10 2
  3. The dialog box titled Temporary Files Settings will display.
    How to Clear the Java Cache in Windows 10 4
  4. Select Delete Files.
    How to Clear the Java Cache in Windows 10 3
  5. The dialog box Delete Files and Applications will appear.
    How to Clear the Java Cache in Windows 10 5
  6. Click on OK. This clears the cache of all downloaded applications and applets.
    How to Clear the Java Cache in Windows 10 6

How to Clear the Icon Cache in Windows 10

To clear the icon cache database in Windows 10, shutdown any active applications and then perform the following steps:

  1. Open Start and type Command Prompt into the search box.
    How to Clear the DNS Cache in Windows 10 1w
  2. Select Run as administrator by right-clicking the result.
    How to Clear the ARP Cache in Windows 10 1
  3. To get to the location of the icon cache database location, use the following command and press Enter.
    cd %homepath%\AppData\Local\Microsoft\Windows\Explorer
    How to Clear the Icon Cache in Windows 10 3
  4. To close File Explorer, use the following command and press Enter:
    taskkill /f /im explorer.exe
    When you exit File Explorer, your desktop backdrop and taskbar will vanish, leaving you with a black screen, which is normal; the black screen is only temporary. Close File Explorer before deleting the icon cache files. Otherwise, you will be unable to complete the task.
    How to Clear the Icon Cache in Windows 10 4
  5. To remove the icon cache files, type the following command and press Enter.
    del iconcache*
    How to Clear the Icon Cache in Windows 10 5

How to Clear the ARP Cache in Windows 10

  1. Type cmd in the Windows start bar, then right-click on the command prompt and select Run as administrator.
    How to Clear the ARP Cache in Windows 10 1
  2. Open a command prompt with elevated privileges.
    How to Clear the ARP Cache in Windows 10 2
  3. To examine the ARP cache, type in arp -a
    How to Clear the ARP Cache in Windows 10 4
  4. To clear the ARP cache, type arp -d. The -a parameter causes the program to show the ARP cache, whereas the -d flag causes it to delete it.
    How to Clear the ARP Cache in Windows 10 3

How to Clear Cache in Windows 10 Using Command Prompt

  1. In the Windows search bar, type cmd.
    How to Clear the DNS Cache in Windows 10 1
  2. Right-click on the Command Prompt and select Run as administrator.
    When you launch cmd.exe as administrator, your commands will have elevated permissions and run from the system32 directory rather than as the currently logged-in user.
    How to Clear the ARP Cache in Windows 10 1
  3. Now, you can type in a cleaning command to clear a specific cache type. You have numerous options for cleaning your PC’s hard disk or cache memory. One example is the method mentioned above to clear the DNS cache using the command prompt.
    How to Clear the DNS Cache in Windows 10 3

Clear All the Cache

Clearing the cache is a good solution if you’re experiencing different issues with your Windows PC. The reason Windows maintains a cache is to aid in the performance of your computer, but if it is overflowing, it may be causing problems. Along with decelerating your hard disk, cache files can create program incompatibilities, which could result in crashes.

Have you ever cleared the cache? What is your preferred method? Comment below!

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button