sdelete -z C:
The basic syntax for the command is:
System administrators often need to clean up files on remote servers. SDelete does not have a native "remote" switch, so it is commonly paired with PsExec .
By default, SDelete performs one pass. For higher security, you can specify more passes using the -p attribute. sdelete64.exe -p 3 C:\Users\Admin\Desktop\tax_return.pdf Use code with caution. sdelete example
PsExec connects to the remote server and executes the SDelete command there.
Developed by Mark Russinovich, SDelete is a "secure delete" application. It doesn’t just rename or move a file to the Recycle Bin; it overwrites the file’s on-disk data using the bit-clearing standard. It also cleans the "slack space" (the unused space at the end of a file cluster) and can wipe the free space of an entire drive. Getting Started
SDelete v2.05 - Secure file delete Copyright (C) 1999-2021 Mark Russinovich sdelete -z C: The basic syntax for the
If you prefer to fill free space with random characters instead of zeros, use the -c switch. sdelete64.exe -c D: Use code with caution.
Would you like the exact command syntax for a specific scenario (e.g., network drive, wildcards, large folders)?
The most basic use of SDelete is wiping a specific file so it cannot be recovered by forensic software. sdelete64.exe C:\Users\Admin\Desktop\passwords.txt Use code with caution. For higher security, you can specify more passes
: If you want to suppress the startup banner and copyright message, add the -nobanner or -q flag to your command.
sdelete -p 3 -s C:\Secret\file.pdf