Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Using the command line tool cipher.exe built into Windows 7, can it be used to securely wipe a USB attached drive?

share|improve this question

migrated from serverfault.com Jan 14 '11 at 1:17

This question came from our site for professional system and network administrators.

1  
Try sdelete instead? technet.microsoft.com/en-us/sysinternals/bb897443 –  Zoredache Jan 14 '11 at 1:11

2 Answers 2

up vote 5 down vote accepted

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.

share|improve this answer
    
Most 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. –  grawity Jan 14 '11 at 12:31
    
@ grawity, I did use the word "may"....somacon.com/p253.php –  Moab Jan 14 '11 at 15:31
    
cipher /w:X: with double point at the end for drive X! –  user185570 Jan 9 '13 at 6:58

You can also use sdelete from http://technet.microsoft.com/en-us/sysinternals/bb897443

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.