Back to All Systems
Systems & Forensic Disk ToolingTool

Clear Windows Junk

Forensic Windows Disk Cleaner with Restart Manager Process Unlocking

82 ChecksSelf-TestsMutation-tested test suite
0 FilesData LossReparse point & age filters
0 SDKsDependenciesCompiles via stock Windows C# compiler

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

1

Windows Restart Manager Integration

Leverages native Windows APIs to discover exact PIDs locking temporary files, offering graceful shutdown and automatic relaunch.

2

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.

3

82-Point Mutation Assertions

Comprehensive self-test suite covering age filtration, junction safety, and process close gates.

Verified Production Technologies

.NET
Clear Windows Junk — System Architecture & Case Study | Mohammed Abdul Wadudh Samdani