Using the command line tool cipher.exe built into Windows 7, can it be used to securely wipe a USB attached drive?
Asked
Active
Viewed 1.1k times
7
-
2Try sdelete instead? http://technet.microsoft.com/en-us/sysinternals/bb897443 – Zoredache Jan 14 '11 at 01:11
3 Answers
5
Yes, but it may be slow compared to other tools that do the same job.
cipher /w:X
Substitute the drive letter X for your flash drive.
Remember this only overwrites free space, so delete all files first.
-
1Most free-space wipe tools I've seen, including `sdelete` and `cipher /w` work the same way: they create a really big file and fill it with random data (which they most likely obtain using `CryptGenRandom`). I don't see why would `cipher` be slower than others. – u1686_grawity Jan 14 '11 at 12:31
-
-
2
You can also use sdelete from http://technet.microsoft.com/en-us/sysinternals/bb897443
jftuga
- 3,177
- 1
- 19
- 23
0
Just commenting the answer given already (comments cannot be styled).
This is part of help printout for cipher.exe
Displays or alters the encryption of directories [files] on NTFS partitions.
CIPHER /W:directory
/W Removes data from available unused disk space on the entire
volume. If this option is chosen, all other options are ignored.
The directory specified can be anywhere in a local volume. If it
is a mount point or points to a directory in another volume, the
data on that volume will be removed.
Is this true that only NTFS file system can be "cipher-ed"?
What about FAT32 format which is used lately for UEFI compatibility?
Seems better to use special utilities for wiping.
snayob
- 4,384
- 1
- 16
- 22