How To Clear All Cache In Windows 11 And Increase Performance

October 13, 2024 | 4 minutes read |

Is your computer running slower than usual? Are you running out of disk space? Clearing your system’s cache can help improve performance and free up valuable storage. In this detailed guide, I’ll walk you through the process of clearing various types of cache on Windows 10 and 11, all without using any third-party software.

Walkthrough Video


Clear Temporary Files

Temporary files can accumulate quickly and take up significant space. Here’s how to remove them:

  1. Press Windows key + R, type “%temp%” (including the percent signs), and hit Enter. Windows run (%temp%)
  2. Select all files (Ctrl + A) and press Delete.
  3. If a window appears asking for permission, check “Do this for all current items” and click “Continue.” Confirm file deletion inside %temp% folder
  4. Some files may be in use and can’t be deleted. That’s normal – just skip those. Confirm file deletion inside %temp% folder

Delete Prefetch Files

Prefetch files help programs load faster but can be safely deleted:

  1. Press Windows key + R, type “prefetch” and press Enter.
  2. Click “Continue” if prompted for administrator permission.
  3. Select all files (Ctrl + A) and press Delete.
  4. If prompted, check “Do this for all current items” and click “Skip” for any files that can’t be deleted.
Task Manager

Clear Microsoft Store Cache

To reset the Microsoft Store app:

  1. Press Windows key + R, type “wsreset.exe” and press Enter.
  2. Wait for the command prompt window to close automatically.

Clear Temporary Files in System Storage

Windows has a built-in tool to clear various temporary files:

  1. Open Settings and search for “Storage settings.”
  2. Click on “Temporary files.”
  3. Select the items you want to remove. It’s safe to select everything except “Downloads” (unless you want to clear your Downloads folder).
  4. Click “Remove files” and confirm.
Task Manager

Use Disk Cleanup

The Disk Cleanup tool can help remove additional unnecessary files:

  1. Search for “Disk Cleanup” in the Start menu and open it.
  2. Select all items in the list and click “Clean up system files.”
  3. In the new list that appears, select all items again.
  4. Click “OK” and then “Delete Files” to confirm.
Task Manager

Clear Location Cache

If you use location services:

  1. Go to Settings > Privacy & Security > Location.
  2. Click the “Clear” button next to “Location history.”
Task Manager

Flush DNS Cache

To clear your DNS resolver cache:

  1. Open Command Prompt or Terminal.
  2. Type “ipconfig /flushdns” and press Enter.

Clear Browser Cache

For the three most popular browsers:

  1. Click the three dots on the top right corner > Settings > Privacy, search, and services.

  2. Under “Clear browsing data,” click “Choose what to clear.”

  3. Set “Time range” to “All time” and select only “Cached images and files.”

  4. Click “Clear now.”

    Task Manager

  1. Click the three dots on the top right corner > Settings > Privacy and security > Clear browsing data.

  2. Set “Time range” to “All time” and select only “Cached images and files.”

  3. Click “Clear data.”

    Task Manager

  1. Click the menu icon on the top right corner > History > Clear Recent History.

  2. Set “Time range to clear” to “Everything” and select only “Cache.”

  3. Click “OK.”

    Task Manager

Clear Activity History

To clear your Windows activity history:

  1. Go to Settings > Privacy & Security > Activity History.
  2. Click “Clear” under “Clear activity history.”
  3. Optional: Uncheck “Store my activity history on this device” to prevent future accumulation.
Task Manager

Clear File Explorer Cache

To reset File Explorer’s cache:

  1. Open File Explorer.
  2. Click the three dots > Options.
  3. In the “General” tab, click “Clear” under “Privacy.”
Task Manager

Clear System Restore Cache (Optional)

This will delete all restore points. Skip this step if you want to keep your restore points.

  1. Search for “Create a restore point” and open it.
  2. Click “Configure” > “Delete” > “Continue.”
  3. Click “Close” > “OK” > “OK.”
Task Manager

Clear Clipboard Cache

To clear copied items from your clipboard:

  1. Search for “Clipboard settings” and open it.
  2. Click “Clear” next to “Clear clipboard data.”

Set Up Storage Sense for Automatic Cleanup

To automate cache clearing in the future:

  1. Go to Settings > System > Storage > Storage Sense.
  2. Enable “Keep Windows running smoothly by automatically cleaning up temporary system and app files.”
  3. Turn on “Automatic User content cleanup.”
  4. Configure the options below according to your preferences.

Tips for Maintaining a Clean System:

Regularly run these cleanup processes, perhaps once a month. Use Storage Sense to automate some of the cleanup tasks. Be cautious when deleting files and always ensure you understand what you’re removing. Consider using the built-in Disk Defragmenter (for HDDs) or Optimize Drives (for SSDs) tool to keep your drives running efficiently. Uninstall programs you no longer use to free up additional space.

Conclusion

By following these steps, you can significantly reduce the amount of unnecessary data on your system, potentially freeing up gigabytes of space and improving your computer’s performance. Remember, while cache files serve a purpose in improving system and application performance, regular cleanup can help maintain a balanced and efficient system.

Suggested

Transform Your Keyboard: Custom Media Controls...

Are you tired of constantly alt-tabbing between windows just to pause your music? Or perhaps you have a keyboard without …

Read More

The Best Free Screenshot Tool for Windows: ShareX...

Are you tired of basic screenshot tools that lack features? Looking for a powerful, free solution for all your screen capture …

Read More

Batch Rename Files The Easy Way

Organizing and managing files can be a tedious task, especially when you have a large number of files that need to be …

Read More