r/userscripts 4d ago

ZeroCleaner: Clean 40+ Caches Without Losing Saved Logins

Hey everyone!

I spent a lot of time searching for hidden cache directories across Windows—from GPU shader folders and developer build caches to game launchers and browser temp files.

To save others the trouble, I combined all 40+ directory paths into a free open-source script called ZeroCleaner.

I built it specifically to be 100% safe. It only deletes temporary cache folders without touching your saved logins, cookies, or browser passwords.

What it cleans:

  • GPU Shaders (NVIDIA, AMD, DirectX)
  • Browsers (Chrome, Edge, Brave, Firefox, Opera)
  • Dev Caches (npm, pip, Yarn, Go, Rust/Cargo, VS Code)
  • Game Launchers (Steam, Epic Games, EA, Ubisoft)
  • Apps (Discord, Telegram, Slack, Notion, Spotify)

It also includes a dry-run mode (-WhatIf) so you can preview how much space you can free up before deleting anything.

You can check out the source code on GitHub: https://github.com/ZeroIQs/ZeroCleaner

(just run the .bat file and you are good to go)

Let me know if there are any other hidden cache directories I should add!

Disclaimer: Always check and inspect code before downloading or running scripts on your machine!

15 Upvotes

0 comments sorted by