0

I am looking for commands or methods whereby I can just write all zeros to the free space on a Pen drive on Windows OS. The existing files should not be affected.

There's a built in command called 'cipher' but it runs in 3 passes, first 0's then 1's and then random. So it defeats my purpose.

There might be Linux solutions using 'dd' but I am not much comfortable with Linux and would prefer a way on Windows.

There is a third party tool called CCleaner but it's not very clear if its Wipe mode writes all 0's or random data in its single pass.

Any further help would be great. I am using Windows 7 Ultimate 64 bit.

  • chrysocome.net/dd – Kamil Maciorowski Aug 16 '18 at 12:29
  • @KamilMaciorowski Does dd can figure out occupied space that it shouldn't touch ? @OP Why not to save content of flash drive then format it with unchecked Quick Format and then restore content back? – Alex Aug 16 '18 at 12:55
  • 1
    @Alex With a help of the filesystem, yes. dd can write to a new file until "no space left". Then you somehow sync, delete the file and sync again. – Kamil Maciorowski Aug 16 '18 at 13:04
  • @KamilMaciorowski Ohh, it interesting approach... Thank you ! – Alex Aug 16 '18 at 13:11
  • This looks like an XY problem. I remember your (now deleted) other question that I think is the X part, and my link to the Linux version of Y under it. It's now irrelevant whether it was good or not to delete the other question; but I think this question would benefit if you revealed your destination (X), not only one obstacle on the chosen path (Y). – Kamil Maciorowski Aug 16 '18 at 14:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.