It’s always a worry when you get rid of a PC or hard drive that all sorts of personal data could be sitting on it waiting to be stolen. This is even more important when it comes to business computers.
There have always been a huge variety of hard disk wiping packages available from third-parties, but did you know that Windows 7 has it’s own free in-built tool for securely erasing, not just whole hard disks, but specific folders as well?
The cipher.exe tool has been around for years now and is used for managing the EFS (Encrypted File System) feature that preceeded Bitlocker and was first introduced with Windows 2000. It’s run from the Command Prompt (as an Administrator).
With Windows 7 though Microsoft have added a new switch to the tool, and it’s one you should definitely use with care!
The command is Simply cipher /w x:\folder where you would substitute x:\folder for the location you want wiped, for instance your D:\ drive or your C:\Users\Mike Halsey\Music folder.
This will write a series of 0s, 1s and then random characters to every sector of the drive or folder to securely erase the data that’s stored there. Believe me, if you do this casually you’re not going to get your data back afterwards.
Microsoft say that this feature is here for clearing empty folders and drives that need to be erased, and it’s an excellent way to save money on expensive third-party software.
So the next time you’re upgrading your hard disk, don’t waste your money, just cipher the thing instead.
Enjoyed the article?: Then sign-up for our free newsletter or RSS feed to kick off your day with the latest technology news and tips, or share the article with your friends and contacts on Facebook or Twitter.Related Articles:
Freeware Securely wipe hard diskHardwipe, Erase Hard Drives Securely
Steam Mover, Automated Tool To Move Games And Apps To Other Drives
Defrag all Hard drives at once in Windows
Backup And Restore USB Flash Drives With USB Image Tool


Think I’ll stick with Boot’n'Nuke
*nods*, DBAN is a great tool, it can be found here – http://www.dban.org/download (it goes without saying, use with care!)
You’ll need to delete everything on the drive PRIOR to using the /W switch. The switch doesn’t actually delete anything.
This switch only overwrites “available unused disk space on the entire volume”. If you have contents in the location, they won’t be overwritten, per the /w switch documentation.
This switch is also available on Windows XP.
Mike, please do us the favor of NOT writing here any more, before you are able to at least the manuals.
As was already stated, it’s not important where the drive is mounted if you use /w as _all_ unallocated space gets wiped.
cipher.exe /w c: will overwrite nothing important, just the empty reported blocks. No allocated blocks will be touched, meaning it does NOT delete anything!
So the tool will not ‘wipe’ a drive as understood by the masses.
For my part, I have no use for a tool that will delete all data found on a machine (DBAN/Boon’n'Nuke), so this article has been very helpful. All I want to do is ensure there’s nothing remaining on a drive that used to be my primary but I now have in an external case for my clients to use to send me video files. cipher /w:j:\ was perfect.