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.
|
migrated from security.stackexchange.com Sep 6 '12 at 20:56
|
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:
So just copying a sufficiently large but innocuous file over the top will suffice. Update You could delete the file then use cipher
It's probably quicker to just copy a big file over the sensitive file, but safer to clear unallocated space. |
|||||
|
|
Piriform's CCleaner offers an option to wipe out free space. File Shredder allows to wipe out a particular file "on deletion time" **EDIT: Found something on MS' sysinternas. SDelete. Haven't tried but could give it a try. |
|||||||||||
|
|
If you consider Powershell to be built-in, then it is possible to write a script let, maybe using This stack overflow question might be useful. |
|||
|
|
I'm stealing this answer from Alfabravo, but I think the best answer to this question involves SDelete. I say that because Sarpeta's question is partly about doing things "the Microsoft way" and SDelete is more or less an MS product. Like many other Sysinternals tools, it's something that MS really ought to fold into Windows instead of making us download it separately. |
|||
|
|