Version 2.0 replaces "ask Windows to make the disk read-only" with a real kernel write blocker. sherlockwb.sys is a filter driver that sits directly above the Windows USB storage driver. It refuses every command that can change a disk, starting with the very first command the disk receives, so no write can slip in before the app notices the disk.
The driver decides once, when Windows sets the disk up. With write blocking ON it attaches to every newly connected USB disk and reports the disk as write-protected, so Windows mounts it read-only and never tries to write in the first place. Flipping the switch never touches a disk that is already connected: forcing a mounted read-write disk to read-only is how Windows "Delayed Write Failed" errors and file system damage happen.
Microsoft signed the driver as Windows Hardware Compatibility Publisher, so it loads on a standard Windows 11 machine with Secure Boot on and test mode off. Windows checks Microsoft's signature again at install time, so a tampered copy is refused rather than installed. The driver ships inside the app: with a Pro licence it installs itself on first launch. Activating Pro installs it on the spot.
Command Policy
- Default
- Deny. Only commands known not to modify media pass. Anything unknown is refused, including commands that do not exist yet.
- Write, vendor-specific and undefined commands
- Refused.
- Read commands
- Allowed, except opcodes 0x42 (UNMAP) and 0x48 (SANITIZE), which modern disks use to discard data and to erase the drive.
- SYNCHRONIZE CACHE
- Answered by the driver itself and never sent to the drive. A blocked disk has nothing new in its cache to flush.
- ATA pass-through
- The driver reads the protocol field. Resets and anything that sends data to the drive are refused. Health (SMART) and identify reads still work.
- Commands that can change stored drive settings
- Passed only when every field is zero, which makes each one a defined no-op or a request the drive must reject. A real attempt to change a stored setting is refused and logged.
- Opening the disk
- Imaging tools need to open the disk to read it, so opens through Windows' normal I/O path are allowed. Opens that bypass that path are refused.
- Refusal log
- Every refused command is recorded in plain English with what it was trying to do, for example "Write to the disk", "Format the disk" or "Change the drive's settings".
Technical Details
- Driver
- sherlockwb.sys 3.1, a KMDF 1.31 lower filter on USB storage (USBSTOR) disks, written in Rust with Microsoft's windows-drivers-rs
- Signature
- Microsoft attestation signed (Microsoft Windows Hardware Compatibility Publisher)
- Signed for
- Windows 10 2004 through 22H2 and Windows 11 21H2, 22H2, 24H2, 25H2 and 26H1 (x64)
- Tested driver SHA-256
- FCE3B147DCF790B4B42C7C5C670BBE7A71D0FDA64803A9949077397B1061307C
