Windows Delete File Securely / Permanently Delete File Data

by on December 17, 2008 · 3 comments· LAST UPDATED December 17, 2008

in , ,

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.

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 3 comments… read them below or add one }

1 Spaceshippie December 17, 2008 at 5:20 pm

I would recommend Eraser http://www.heidi.ie/eraser/ it’s open source, complies with US DoD 5220-22.M methods and it installs it self as part of the context menu in explorer.

Reply

2 nixCraft December 17, 2008 at 5:32 pm

Spaceshippie.

Thanks for sharing eraser. The FAQ has been updated.

Reply

3 Jacki December 21, 2008 at 11:56 am

Good Information

Reply

Leave a Comment

Tagged as: , , , , , , , , , , , , , ,

Previous Faq:

Next Faq: