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.

How to Clear the Cache in Windows 10

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).
  2. Go to the Settings icon.
  3. Select the System option on the menu bar.
  4. Click on the Storage option.
  5. After the Storage option, click Configure Storage Sense or run it now.
  6. Go to the option that says, Free up space now and click clean.
  7. Wait until the scan has finished.

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.
  2. Enter cleanmgr.exe into the command line and press Enter.
  3. Then choose a location where you want to proceed.
  4. After that, click Ok.
  5. Go to the Clean up system files option.
  6. Select All Items and click on OK.
  7.  Click the Delete Files option.
  8. Wait until the cleaning process is finished.

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.
  2. Launch CCleaner
  3. Click on Analyze in CCleaner.
  4. Select Clean All from the drop-down menu.

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.
  2. Right-click and select Shortcut.
  3. Type the following and press Next:
    %windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks
  4. Provide an appropriate name for the shortcut.
  5. Click on Finish.

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.
  2. Choose Run as Administrator from the context menu when you right-click Command Prompt.
  3. Enter the command ipconfig /flushdns (make sure a space precedes the slash).
  4. A command box will be displayed briefly, and the DNS cache will be flushed.

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

  1. Click Start and type powershell into the search box.
  2. Pick Windows PowerShell.
    Type in the following command and hit Enter.
    Clear-DnsClientCache

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.
  2. The Credential Manager option may be found at the center of the page.
  3. Choosing the Manage Windows Credentials type brings up a list of your stored credentials for network shares, remote desktop connections, or mapped drives.
  4. The Remove option may be found by expanding one of the entries in the list and clicking on it will delete the cache.

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

  1. Open the Run box by pressing the Windows key and R simultaneously.
  2. Press Enter to execute the following command,
    rundll32.exe keymgr.dll, KRShowKeyMgr
  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 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.
  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.
  4. Right-click in the open window, go to the New sub-menu, then pick D-WORD (32 bit) Value.
  5. Type EnableSuperfetch as the new value.
  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.
  7. Click OK to confirm.
  8. Once the file has been saved, restart your computer.

How to Clear the Java Cache in Windows 10

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

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.
    w
  2. Select Run as administrator by right-clicking the result.
  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
  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.
  5. To remove the icon cache files, type the following command and press Enter.
    del iconcache*

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.
  2. Open a command prompt with elevated privileges.
  3. To examine the ARP cache, type in arp -a
  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 Cache in Windows 10 Using Command Prompt

  1. In the Windows search bar, type cmd.
  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.
  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.

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!

Disclaimer: Some pages on this site may include an affiliate link. This does not effect our editorial in any way.