Sunday, October 5, 2014

Shredding files in windows


Is there a built-in cmd command/utility on Windows that can shred files (delete and overwrite with random data) without the need to use third party software? In linux i would use shred. It a wonderful tool that not only deletes files, but also destroys any "residue" left on the disk by overwriting the data.


Answer



Probably not. Unless they added one in Win 8


I recently purchased a new Pc with Win 7, the manufacturer bundled a third party shredder application. I infer that either there isn't one as standard (and I've never heard of one) or (less likely?) that the manufacturer added some unnecessary bloatware without the usual sliver of justification.


It's hard to prove a negative though.




Notes:



  1. Shred only overwrites a file, it doesn't seek out fragments and copies of the data in unallocated disk space (caused by editing etc).


  2. You don't need to overwrite a file more than once. Statements to the contrary have been thoroughly debunked long ago.


  3. It doesn't matter what you overwrite it with.



So just copying a sufficiently large but innocuous file over the top will suffice.




Update


You could delete the file then use cipher




  1. Quit all programs.

  2. Click Start, click Run, type cmd, and then press ENTER.

  3. Type cipher /w:driveletter:\foldername, and then press ENTER. Specify the drive and the folder that identifies the volume that contains the deleted data that you want to overwrite. Data that is not allocated to files or folders will be overwritten. This permanently removes the data. This can take a long time if you are overwriting a large space.



It's probably quicker to just copy a big file over the sensitive file, but safer to clear unallocated space.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...