Releases: Armi1014/TempCleaner
TempCleaner v0.6.0
What's changed
- Added config-file support through
TempCleaner.config.jsonand-ConfigPath. - Added opt-in cleanup targets for DirectX shader cache, Delivery Optimization cache, and Windows Error Reporting queues/archives.
- Added safer non-admin behavior with user-only fallback and allowlisted cleanup roots.
- Fixed non-interactive preset handling so explicit CLI switches like
-WhatIfand-DisableNotificationsare preserved. - Added Pester test coverage and a GitHub Actions workflow that runs the suite on pushes and pull requests.
- Clarified that
Run-TempCleaner.batis only a launcher; the cleanup engine is PowerShell-based. - Added a README terminal preview and repository line-ending rules.
Verification
- Local Pester: 24 passed, 0 failed, 1 skipped.
- GitHub Actions Pester run for
0353020: passed. - Manual launcher dry-run verified
WhatIf: true,UserOnly: true, and no deletion performed.
v0.5.0
TempCleaner v0.3.0 – PowerShell Edition
🚀 TempCleaner v0.3.0 – PowerShell Edition
This release brings a full PowerShell rewrite of TempCleaner with presets, safer automation, and much better UX.
✨ Highlights
-
✨ Brand-new PowerShell port
- Presets:
Basic,Full,Custom - Supports
-WhatIffor safe dry-runs - Remembers your last-used settings so you can automate without touching the script
- Presets:
-
🗂️ Per-run logging
- Every run creates a timestamped log inside
logs/ - The log file path is printed at the end for quick access
- No more log file clashes or guessing what happened
- Every run creates a timestamped log inside
-
📊 Progress + summaries
- Live ASCII progress bars for each cleanup target
- Color-coded summary at the end:
- ✅ What was cleaned
⚠️ Which files were locked- 📦 Estimated space freed
-
🖥️ Friendly UI touches
- Cyan banner + guided mode selector for first-time use
- Optional desktop notification when cleanup finishes
- Safe thumbnail-cache cleanup: Explorer is only restarted when necessary
🧪 How to use
-
Download the release ZIP and extract it so
TempCleaner.ps1andRun-TempCleaner.batstay together. -
Launch via the BAT (
Run-TempCleaner.bat). It uses PowerShell in bypass mode so you don’t have to change execution policies manually. -
Pick your mode the first time (Basic/Full/Custom). TempCleaner stores your defaults for future runs.
-
Automate it, e.g. via Task Scheduler or another batch file:
:: Safe dry-run Run-TempCleaner.bat -Silent -WhatIf :: Real cleanup Run-TempCleaner.bat -Silent
v0.2 – Rework
🧹 TempCleaner v0.2.0 – Configurable & Automation-Ready
A major upgrade to the safe Windows Temp Cleaner.
Now fully configurable, smarter, and ready for scheduled use.
🔄 What’s New
- Added config section for logging, folder deletion, prompts, and silent mode
- Introduced command-line flags
/silentand/detailed - Improved logging system (summary or detailed)
- Optional subfolder deletion for complete cleanup
- Stronger path safety checks for all drives
- Added admin privilege detection and warning
- “Silent mode” skips prompts for automation or Task Scheduler use
🧱 Version
v0.2.0 — Minor feature update after prototype v0.1.
📄 Notes
Safe to use on Windows 10/11.
All operations logged locally to cleanup_log.txt.
Run as Administrator for full access.
TempCleaner v0.1
Full Changelog: https://github.com/Armi1014/TempCleaner/commits/v0.1