Q. I know how to delete a file securely using GNU/Linux and Open source tools under Linux. I’m looking for DoD 5520.22-M or NNSA NAP-14.x.secure compliant delete utility under Windows. How do I delete a file permanently under Windows XP or Server operating system with NTFS; so that no one can retrieve my data?
A. Linux does offers various programs such as shred or DOD 5220.22-M certified scrub utility.
sDelete: Permanently Delete File
You need to use SDelete which, implements the Department of Defense clearing and sanitizing standard DOD 5220.22-M, to give you confidence that once deleted with SDelete, your file data is gone forever. Visit this page to grab sDelete (47KB).
It works on following Microsoft operating systems:
- Client: Windows XP and higher.
- Server: Windows Server 2003 and higher.
Once downloaded open command prompt by visiting Start -> Run -> Type cmd and press [Enter] key.
To delete all data stored in a file called c:\docs\finical.xls, enter:
sdelete -p 10 -z c:\docs\finical.xls
To delete all data and files stored in a directory (folder) called c:\docs\excel, enter:
sdelete -p 10 -z c:\docs\excel
sDelete Quick help:
Usage: sdelete [-p passes] [-s] [-q] sdelete [-p passes] [-z|-c] [drive letter] -c Zero free space (good for virtual disk optimization). -p passes Specifies number of overwrite passes. -s Recurse subdirectories. -q Don't print errors (quiet). -z Cleanse free space.
Eraser Open Source Free Software
Eraser is an advanced security tool (for Windows), which allows you to completely remove sensitive data from your hard drive by overwriting it several times with carefully selected patterns. Works with Windows 95, 98, ME, NT, 2000, XP, Vista, Windows 2003 Server and DOS. Eraser is Free software and its source code is released under GNU General Public License. Uses the Guttmann (Default), Pseudorandom Data and US DoD 5220-22.M methods. Download Eraser software here.
A note about wiping a hard disk
Use Darik’s Boot and Nuke (“DBAN”) is a self-contained boot disk that securely wipes the hard disks of most computers. DBAN will automatically and completely delete the contents of any hard disk that it can detect, which makes it an appropriate utility for bulk or emergency data destruction.
🐧 3 comments so far... add one ↓
|Category||List of Unix and Linux commands|
|Disk space analyzers||df • ncdu • pydf|
|File Management||cat • cp • mkdir • tree|
|Firewall||Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04|
|Network Utilities||NetHogs • dig • host • ip • nmap|
|OpenVPN||CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04|
|Package Manager||apk • apt|
|Processes Management||bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time|
|Searching||grep • whereis • which|
|User Information||groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w|
|WireGuard VPN||Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04|