Command-line tool
SDelete
winget/Microsoft.Sysinternals.SDelete
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Securely delete file/directory from disk, or clean the free space on a volume/physical disk. sysinternals
At a glance
- Type
- Command-line tool
- Install on
- Windows
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
winget install --id Microsoft.Sysinternals.SDelete -e
Delete files with 3 [p]asses
sdelete -p 3 path\to\file1 path\to\file2 ...
Delete folders and its [s]ubdirectories with 1 pass (default)
sdelete -s path\to\directory1 path\to\directory2 ...
Clean the free space of volume D: with 3 [p]asses
sdelete -p 3 D:
Browse
Related command-line tools
- scrub
Writes patterns on magnetic media to thwart data recovery - MoveFile
MoveFile (Windows package; no description in the winget index) sysinternals - dua-cli
View disk space usage and delete unwanted data, fast cleaner requirescmd ssd harddisk harddrive disk fast… - Strings
Find printable strings in an object file or binary. sysinternals - Sigcheck
Sigcheck (Windows package; no description in the winget index) requirescmd sysinternals detectfilearchitecture… - croc
Securely send things from one computer to another go cli file-sharing file-transfer data peer-to-peer transfer… - BGInfo
BGInfo (Windows package; no description in the winget index) sysinternals - Desktops
Desktops (Windows package; no description in the winget index) sysinternals
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents