Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧹 Disk Manager Pro

A lightweight, zero-dependency Windows disk cleanup and file analysis tool
Built with pure PowerShell + WinForms. No installation required.

Platform PowerShell License Status Admin


✨ Features

Feature Description
📊 Dashboard Real-time disk space overview for all drives with color-coded progress bars
🗑️ App Cache Cleaner Safely removes cache from Chrome, Edge, Discord, Spotify, VS Code, CapCut, DaVinci...
🧽 System Cleanup Clears Windows Temp, Prefetch, Recycle Bin, Windows Update caches
🔍 Large File Finder Powered by Everything Search — finds files >512MB in seconds across the whole disk
🔁 Duplicate File Finder Scans entire drives (or All Drives) using a 2-pass algorithm (size filter → MD5 hash)
⚙️ Draggable Tabs Rearrange tabs in any order — preference is saved and restored on next launch
🌙 Dark / Light Theme One-click theme toggle, saved to config automatically
📋 Activity Logs Full history of all cleanup actions with timestamps
♻️ Recycle Bin Safe All deletions go to Recycle Bin — nothing is permanently deleted

🚀 Quick Start

1. Download or clone this repository:

git clone https://github.com/ThanhTamSys/disk-manager-pro.git
cd disk-manager-pro

2. Double-click Run.bat → Click Yes on the UAC (Admin) prompt.

⚠️ Administrator rights are required to clean system cache folders (Windows Temp, Update caches, etc.)


📁 File Structure

disk-manager-pro/
├── Run.bat                  # 🚀 Launcher — double-click to start
├── DiskManager.ps1          # 💻 Main application (PowerShell + WinForms)
├── es.exe                   # ⚡ Everything Search CLI (bundled, no install needed)
├── DiskManager.config.json  # ⚙️  Auto-generated config (theme, tab order, settings)
├── Readme.txt               # 📖 Bilingual user guide (English + Vietnamese)
├── validate.ps1             # 🧪 Syntax validation script
└── logs/                    # 📋 Auto-generated cleanup activity logs

⚡ Everything Search Integration (Recommended)

The bundled es.exe is the Everything Search CLI by voidtools. It is already included — no separate download needed for the CLI.

However, for ultra-fast indexed searches (especially the Duplicate File Finder and Large File scanner), you should install the Everything GUI application:

📥 Download Everything (GUI): https://www.voidtools.com/downloads/

Recommended: Everything 1.4.1 (stable) or newer — any recent stable release works fine.

❓ Do I need to open Everything manually before running this app?

No. The app handles this automatically:

  • When launched, it checks if Everything is already running in the background.
  • If Everything is installed but not running, the app silently starts it automatically (Everything.exe -startup).
  • If Everything is not installed, the app falls back to PowerShell directory scan without any error — it just runs slower.

You only need to install Everything once. After that, forget about it — the app manages the rest automatically.

How it works:

Scenario Speed Behaviour
✅ Everything installed (running or not) Near-instant App auto-starts it if needed, then uses es.exe index
⚠️ Everything not installed 🐢 Slower Silently falls back to PowerShell directory walk

The app never connects to the internet, sends any data, or requires an account. Everything indexing is 100% local on your machine.

Why not bundle the full Everything installer?

Everything's GUI installer is ~2.5MB and requires a Windows service to index your drives. Bundling it would bloat the repo and require uninstall management. The recommended approach is to let users install it themselves — the fallback always works without it.


🔁 Duplicate File Finder — How it works

Step 1: es.exe lists ALL files on selected drive(s) instantly (< 2 seconds)
         └─ Falls back to PowerShell walk if Everything is not installed

Step 2: Group by file size → discard all unique sizes (eliminates ~95% of files)

Step 3: MD5 hash only the remaining size-match candidates

Step 4: Group by hash → files with identical hash = true duplicates

Step 5: Display in color-coded groups → Auto Keep Newest → Recycle Selected

All deletions go to the Recycle Bin — you can restore anything accidentally deleted.


🖥️ Requirements

Requirement Details
OS Windows 10 / Windows 11
PowerShell 5.1+ (built into all modern Windows)
.NET Framework 4.5+ (built into Windows 10/11)
Admin rights Required for system cache cleanup
Everything GUI Optional — recommended for fast scans

🏷️ Tags

windows powershell disk-cleaner system-cleanup winforms duplicate-finder
file-manager cache-cleaner everything-search dark-mode no-install utility
disk-analyzer windows-tools powershell-gui free-tool open-source


📄 License

MIT License — free to use, modify, and distribute.


Made with ❤️ using PowerShell + WinForms — No bloat. No telemetry. No internet required.

About

A lightweight, high-performance Windows disk analyzer and cleanup tool built with PowerShell & WinForms. Featuring super-fast duplicate finder and draggable tabs.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages