Reads the NTFS MFT directly
When run elevated it issues FSCTL_ENUM_USN_DATA to enumerate the Master File Table, listing millions of files in seconds instead of walking directories.
Read the signal, skip the noise.
Reads the NTFS MFT directly via FSCTL_ENUM_USN_DATA when elevated to enumerate millions of files in seconds, then renders a SpaceSniffer-style treemap so you can see exactly where the space went — single portable .exe.
./disksleuth --runAnalysis · Rust, eguiready, 0 errors · offlineWhen run elevated it issues FSCTL_ENUM_USN_DATA to enumerate the Master File Table, listing millions of files in seconds instead of walking directories.
Off NTFS or without admin it walks the tree with jwalk plus rayon across every core, so the fast path degrades gracefully rather than failing.
Groups files by size, then compares a 4 KB prefix hash, then a full content hash — cancellable and parallel — so only true duplicates get hashed in full.
The question is always the same: where did the disk space go? DiskSleuth answers it for Windows without making you wait on an indexing service or wade through a folder tree by hand. Pick a drive or folder, scan it, and the biggest directories and files are in front of you in seconds.
The treemap gives you the visual lay of the land; the tree and largest-file views give you the exact paths and sizes. On NTFS it can read the Master File Table directly when elevated, so even a million-file volume scans in a few seconds instead of minutes.
Download the latest release from:
https://github.com/Swatto86/DiskSleuth/releases
DiskSleuth is intended to be lightweight and portable. Download the release asset, run it, and choose a folder or drive to scan.
The treemap is best for spotting large clusters quickly. The tree/table view is better when you need exact paths and sizes.
The scan root is the drive or folder you choose. DiskSleuth reports sizes relative to that root and keeps the root as the top-level node.
The treemap turns disk usage into rectangles. Larger rectangles consume more disk space. Click or select areas to drill into the corresponding folder or file.
The largest-file view surfaces the biggest individual files. Use this when a few giant files are more important than overall folder structure.
The stale file workflow helps identify old data by modification age. This is useful for cleanup reviews, migration planning, or archive candidates.
On Windows NTFS volumes, DiskSleuth can use lower-level filesystem metadata to accelerate scans. Ordinary directory walking remains available where the fast path is not appropriate.
C:\.git clone https://github.com/Swatto86/DiskSleuth.git
cd DiskSleuth
cargo build --release
target\release\DiskSleuth.exe
Run tests:
cargo test
Enable verbose logging when debugging scan behavior:
$env:RUST_LOG="debug"
target\release\DiskSleuth.exe
Run DiskSleuth as Administrator or scan a narrower folder where your account has read permission.
Network paths, antivirus scanning, spinning disks, very deep trees, and permission errors can slow ordinary directory walking. Prefer local NTFS volumes for the fastest path.
Disk usage can change while a scan is running. Re-run the scan when measuring active build folders, caches, or downloads.
https://github.com/Swatto86/DiskSleuthhttps://github.com/Swatto86/DiskSleuth/releases