Forum Discussion
How to clear all cache and junk files from my Windows 11/10 computer?
- Jan 12, 2026
+1 for PC cleaner. It can clear all caches and junk files in one click. I am using CleanMate twice per month and it can free up 20 GB space by deleting cache and junk files. You can try it here:
https://www.devshowto.com/clear-cache-and-junk-files-from-windows
Using Chrome command-line launch parameters to clear cache and junk files isn't directly supported through a specific parameter. However, you can automate clear all cache and junk files on Windows 11 by using command-line options or scripts that delete Chrome's cache directories.
Close Chrome: Make sure Chrome is not running.
Delete cache folders: Use command-line commands to clear all cache and junk files on Windows 11.
Example batch script:
@echo off
taskkill /IM chrome.exe /F
rmdir /s /q "%LOCALAPPDATA%\Google\Chrome\User Data\Default\Cache"
rmdir /s /q "%LOCALAPPDATA%\Google\Chrome\User Data\Default\Code Cache"
rmdir /s /q "%LOCALAPPDATA%\Google\Chrome\User Data\Default\Media Cache"
start chrome
This script kills Chrome, deletes cache folders, and then restarts Chrome.
Alternative: Use Chrome's built-in command-line argument for incognito mode:
chrome --incognito
But note, this doesn't clear cache; it just opens Chrome in incognito mode, which doesn't save cache during that session.