Free Windows tool · one window
Find the copies. Keep the one that matters.
Latch finds byte-identical files, shows what the near-misses have that each other lacks, and merges them instead of guessing. Duplicates removes confirmed extras to the Windows Recycle Bin in one confirmed action. Compare reconciles two folders — including two unlocked encrypted vaults — and writes a receipt you can verify later. Litter identifies abandoned downloads and accumulated leftovers without deleting them. Drives names what is holding a volume and proves the eject.
- Free
- No account
- Opt-in metrics
- Recycle Bin, not silent delete
- Read-only litter review
Why both, in one window
Cleaning a drive and releasing it are the same job
A duplicate finder stores one hash per file, so the moment it says “identical” there is nothing left to show you. Latch keeps the inside of the file — content-defined chunks — so “are these the same?” and “what is missing from this one?” come out of the same scan. And the drive pane is not a bolt-on: a hard link cannot cross volumes, so the volume list decides what the clean-up pane is allowed to offer.
Identical copies, removed in one confirmed action
Length from the directory listing first, then a 128 KiB sample, then a full BLAKE3 hash only for what survives. Remove all exact groups re-hashes each extra and sends it to the Windows Recycle Bin — the kept copy is never touched, and a file that changed since the scan is refused.
Near-misses, which are the dangerous ones
config_backup_FINAL.py differing from config.py in four lines is not a duplicate. Latch labels each pair identical, contains, extends or diverged, and shows a chunk map: green blocks exist in both copies, amber only here. Merge all writes one union per group. Exact copies are not merge candidates — they have nothing different inside; the near-duplicate pass is what finds the cases that do.
Merge, without overwriting
Merging writes a union beside the original: a real 2-way text merge with conflict markers only where both sides changed the same region, or a chunk splice for anything else. Existing files are never overwritten, and every action writes to an undo journal first.
Copy, then prove it
Compare names what is missing between two folders or mounted vaults. Copy missing writes only those files, never overwrites, and records a receipt with the BLAKE3 of every adopted file. Verify re-reads them months later and exits non-zero if anything is gone or changed.
Make it exact
Mirror one folder onto the other — one direction, no surprises
Mirror A → B copies every path that exists only in A, then removes every path that exists only in B. Copy first, verify each copy, then remove extras. A same-path file with different bytes is a conflict and stops the run; Latch never overwrites it.
- A is truth
- Only the target changes. The source is never written to.
- One-way, repeatable
- No deletion history is needed: B is made equal to A on every run. Two-way sync needs stored deletion tombstones, and is deliberately not claimed.
- Extras
- B-only paths go to the Recycle Bin after confirmation, or to a reversible
.latch-trashfolder with--trash. Network and encrypted mounts may not have a bin; the confirmation says so. - Backups protected
- An exact match spanning two drives is listed under BACKUP COPIES — PROTECTED, not reclaimable. The batch buttons skip it;
latch dup --allow-cross-volumeis the explicit override.
Identify, never delete
Litter review: here is what accumulated, and why
A drive collects stories, not just duplicates. Four failed attempts to download one movie, a 4 KB truncated copy from a copy that ended years ago, a crash dump, an old installer, an empty folder. Litter groups those into incidents and explains the evidence — then stops. There is no delete, move or quarantine button in this view.
- Abandoned attempts
- Partials are grouped by target name, not listed as isolated files. Three
movie.mp4fragments become one story: how many attempts, how large, how old, and whether a completed copy exists. Recent partials are labelled may be in progress, never abandoned. - Possible truncated copy
- A 4 KB namesake in one folder and a much larger one in another is a candidate, not a verdict. It is reported at medium confidence with both paths, sizes and ages; content is never read for this rule.
- Generated stores and dumps
Thumbs.db,.DS_Store, crash dumps, old installers, old temporary files and empty folders. Hidden and system are labels, never evidence by themselves.- Browser data
- One report-only item per browser profile. Cookies and local storage are database contents owned by the browser; Latch shows the footprint and leaves the clearing to the browser's own privacy screen.
- Nothing changes
- The report is metadata-only: names, paths, sizes, timestamps and attributes. It is available in the Litter tab and as
latch litter <folders> --json. Secrets, Windows, program directories and active browser profiles are excluded from enumeration.
The other pane
It asks Windows which program, instead of guessing
Every other tool of this kind hunts for processes that look like they might be holding a drive. Latch goes and reads the accusation, and labels every match with how it was found.
- reported
- Windows' Restart Manager named this process against a specific file on the drive. Authoritative, and it needs no admin rights.
- likely
- A process whose command line or executable path names this drive. A guess, and it is never shown as proof.
- not measurable in this session
- Neither probe would answer. The card says so, gives the reason and the way out. It never reports “nothing is holding it” on the strength of a probe that could not see.
The holder probe is the PowerShell engine included with Latch. It ships inside the download, so the button works with no separate install. Close blocker & eject sends a normal close request and waits — it never force-kills, because killing a vault or a database mid-write is how you damage the thing you were protecting.
Get it
Free, and yours to keep
Two downloads, both from this page's own folder. The first is the whole thing: the windowed app plus the holder engine inside it. The second is the PowerShell engine on its own, for anyone who would rather not run a binary at all.
Download latch-app.zip — the windowed app
- Download
latch-app.zip— 14,611,067 bytes, sha2565a4d884c39ff24c3d558b5c997fc5325ec931113e77d01a10ce5eeb08c8f255e.- Inside
latch-gui.exe(the window),latch.exe(the same engine as a command line), aREADME.md,TOS.md, and aLatchfolder holding the holder-probe engine and its installer.- Needs
- Windows 10 or 11. No admin rights, no installer, no runtime to download. The binaries are unsigned, so SmartScreen will ask once — that is what an unsigned build looks like, and it is why the small PowerShell download below exists.
Download latch.zip — the PowerShell engine only
- Download
latch.zip— 91,098 bytes, sha256c6c12fef67ae4b8db914b0a28f735014730a4203ee90b75fc596d0f89a3a593f.- Inside
Latch.ps1(the forwarder), the holder-probe engine (window, console report and self test), its offline/privacy module, the shortcut installer, the icon, aREADME.mdthat states the limits, and a screenshot.- Needs
- The Windows PowerShell that already ships with Windows (5.1). No admin rights, no install, no network connection. To re-point the shortcut after moving the folder, re-run the installer inside the bundle.
- Safe to try
- The bundle's own self test runs with no side effects:
powershell -File .\Latch.ps1 -SelfTest. All 78 checks pass on a machine with its drives visible.
The record
Measured, not claimed
- 2,849 files, 792 MiB, 0.6–1.6 s for a full scan including near-duplicate search, on the machine this was built on. 58% of the bytes in that tree were never opened, and the window prints that figure.
- 130 MiB reclaimable and 54 diverged pairs found in the same tree — pairs that share 57–86% of their content and would be reported as duplicates by an ordinary finder.
- 194 automated tests cover the engine: exact versus diverged verdicts, union completeness, a byte-exact splice of a 60 KiB insertion into a 1.2 MiB binary, hard-link and quarantine with undo, Recycle Bin removal, refusal to act on a file that changed after the scan, and refusal to eject the system drive.
clippy -D warningsis clean. - The published download was tested after it was built. The zip above was extracted to a clean folder and its self test run from there: all 78 checks passed.
- What was not tested, and why. No live eject was performed while building this, because the only removable drive attached had media in it and ejecting it unasked is a side effect, not a test. The eject path and its guards are covered by tests; the final IOCTL pair is exercised the first time you press the button.
Scope
What it does, and what it leaves alone
- Nothing is silently deleted. Exact copies are removed only after a confirmation and a fresh hash check, and go to the Windows Recycle Bin (restorable). Hard-link and Quarantine are alternatives; Quarantine does not free space until you empty it. Every link/quarantine run is journaled and reversible from the command line.
- The Litter tab is read-only. It identifies abandoned attempts, truncated-copy candidates, generated stores, dumps and empty folders. It never deletes, moves or quarantines, and browser data is report-only.
- A hard link cannot cross volumes, so Latch marks those findings and offers quarantine instead of failing after you press the button.
- The system drive is never ejected, at any setting. Windows reports most USB SSDs as fixed disks, so ejecting one needs
--forceon the command line — deliberately not a button in the window. - A union of a structured binary may not parse. A byte-level splice of a .docx is content-complete but the container may not open; Latch re-parses the output and labels it unsafe to adopt when it does not. For containers, use the entry diff: a zip's central directory gives you “which documents are inside one and not the other” without decompressing anything.
- ZIP64 archives are not parsed yet, and the archive diff says so instead of guessing.
- Holder evidence needs Windows' own plumbing. On a machine where WMI or the Restart Manager cannot be queried, the card says “not measurable in this session” and names the reason rather than blaming a process.
Take it, and tell us what it got wrong
It is free and it is small. The most useful thing you can send back is a pair it merged badly, or a drive it failed to name a holder for when Windows had plainly recorded one. Those are the failures this tool exists not to have.
