SystemCleanerPro is a transparent, open-source Windows maintenance solution built with PowerShell and Batch. Designed as a lightweight alternative to proprietary utility tools, it automates daily, weekly, and monthly system purges across 30+ categories without compromising user privacy or critical system registries.
graph LR
Launch([SystemCleaner.bat]) --> Admin{Elevated?}
Admin -- No --> Request[Auto-Request Admin Privileges]
Admin -- Yes --> ModeSel[Select Cleaning Tier]
ModeSel --> Quick[Quick Mode: Daily Temps & Caches]
ModeSel --> Deep[Deep Mode: Logs & Dev Artifacts]
ModeSel --> Full[Full Mode: DISM & Component Purge]
Quick --> Log[Generate Timestamped Log]
Deep --> Log
Full --> Log
| Tier | Duration | Scope & Target Artifacts |
|---|---|---|
| Quick Mode | ~30s | %TEMP%, %SystemRoot%\Temp, Browser Caches (Chrome, Edge, Firefox, Brave), DNS Cache Flush, DirectX Shader Cache, Icon/Thumbnail Caches. |
| Deep Mode | ~2-5m | Everything in Quick + Prefetch, Windows Update Downloads, Memory Dumps, Developer Caches (npm, pip, yarn, NuGet, Maven), Application Caches (VS Code, Discord, Teams). |
| Full Mode | ~5-15m | Everything in Deep + DISM Component Cleanup, Event Log Clearing, $Windows.~BT Upgrade Residuals, Automated cleanmgr, Restore Point Pruning. |
- 🔒 Zero-Registry Mutation: Does not modify registry hives or user credential stores.
- 🛡️ Verification First: Executes
Test-Pathchecks before any file operation. - 📜 Full Audit Trace: Writes detailed
[OK],[SKIP], and[FAIL]status output toDesktop\CleanerLogs\.
# Run preset Quick mode from PowerShell (Admin required)
.\SystemCleaner.bat Quick
Maintained by Diwakar Yadav