Clear Windows Junk
Forensic Windows Disk Cleaner with Restart Manager Process Unlocking
01.The Problem & Why Naive Implementations Fail
Stock disk cleaners and commercial tools either hide what they delete, silently break application folders, or fail silently when files are locked by background processes.
02.Architectural Solution & Engineering Decisions
Engineered an honest cleaner that measures folder sizes recursively before deletion, never traverses reparse points/junctions, and integrates with the Windows Restart Manager API to safely signal window owners holding locked files.
Key Architectural Highlights
Windows Restart Manager Integration
Leverages native Windows APIs to discover exact PIDs locking temporary files, offering graceful shutdown and automatic relaunch.
Zero-SDK In-Place Compilation
Builds directly using the C# compiler already present on all Windows installs (csc.exe), requiring no external SDK or NuGet packages.
82-Point Mutation Assertions
Comprehensive self-test suite covering age filtration, junction safety, and process close gates.