best disk eraser for use in win7pe
#1
Posted 03 May 2012 - 07:41 PM
What is the best script around for a disk eraser app in win7pe?
Need it to be secure delete so nothing can be recovered
thanks
#2
Posted 04 May 2012 - 07:18 AM
Reboot and use secure erase.Hi all
What is the best script around for a disk eraser app in win7pe?
Need it to be secure delete so nothing can be recovered
See:
http://reboot.pro/13601/
steve6375's Nuke:
http://www.rmprepusb...-your-hard-disk
BTW in Vista and 7 the common "format" command without the /q switch does wipe the contents of the partition (though it will be anyway slower than secure erase ATA command).
Wonko
#3
Posted 04 May 2012 - 09:19 AM
http://al-jo.zxq.net/WipeDisk.7z
and one for DiskWipe:
http://al-jo.zxq.net/DiskWipe.7z
that can be used while running a Win7PE.
#4
Posted 04 May 2012 - 09:26 AM
http://www.gaijin.at/dlwipedisk.php
up to 14 diffrent possibilitys for wiping in this little exe
there be very useful programs like wipefile too and so on ..
wipefile it is good for killing files who can be psych on harddisk..
it was easily fully overwritten
and who we be on this point.. it was not get a kill-dir ? a dos/cmd proggy
for killing folders who cant normal deleting ? it is good on usb-stiks who have bugs like i think..
knows anyone killdir.exe (or was it a com ) ?
best regards
Blacky
Edited by Blackcrack, 04 May 2012 - 09:36 AM.
#5
Posted 04 May 2012 - 11:47 AM
#6
Posted 04 May 2012 - 08:01 PM
And wipedisk works but doesn't do what I need
The disks I am trying to wipe have been encrypted with truecrypt (sorry should of said that in post 1!) - so even though it says it has wiped the disk, the truecrypt bootloader is still present
Looks like I will have to stick to using diskpart clean option to remove this manually first before running a tool - unless anyone knows a tool which will blitz the bootloader as well as securely erasing the disk
#8
Posted 05 May 2012 - 06:55 AM
.... and MUCH slower than native ATA commands .DBAN
simple, effective, easy to build into GRUB4DOS or syslinux bootloader menu. and your choice of wipe methods
@darrenrose
Really, you have anyway to boot from an "external device" to wipe a "system" disk, this external device may well have a dual boot option, and when you want to wipe a disk you boot to this second option, be it Secure Erase, DBAN or another "self-standing" tool.
To recap:
- Safe Erase (and/or any mini Linux distro with hdparm) use internal commands and write zeroes using native device commands in the fastest possible way.
- DBAN, as well as many other tools give you the (senseless) possibility to use other (completely UNneeded) wiping methods at the cost of MUCH more time needed
Wonko
#9
Posted 05 May 2012 - 06:55 AM
Try changing the topic description to:
“best ‘encrypted with Truecrypt’ disk eraser for use in win7pe”
Ps. Is it not possible to remove the encryption with Truecrypt before wiping?
Edit:
There is a script for latest Truecrypt here:
http://al-jo.99k.org/TrueCrypt.7z
Another program that can “wipe” is MiniToolsPartitionWizard & a script is here:
http://al-jo.99k.org...titionWizard.7z
Attached Files
#10
Posted 05 May 2012 - 10:42 AM
yes I could use truecrypt to unencrypt the drive first - but it takes several hours to unencrypt - hence why I don't want to do it this wayPs. Is it not possible to remove the encryption with Truecrypt before wiping?
was just hoping for a simple solution - not a problem will stick with using diskpart to remove the truecrypt header and then use another method to wipe the disk
#11
Posted 05 May 2012 - 10:43 AM
.... and MUCH slower than native ATA commands .
@darrenrose
Really, you have anyway to boot from an "external device" to wipe a "system" disk, this external device may well have a dual boot option, and when you want to wipe a disk you boot to this second option, be it Secure Erase, DBAN or another "self-standing" tool.
To recap:
- Safe Erase (and/or any mini Linux distro with hdparm) use internal commands and write zeroes using native device commands in the fastest possible way.
- DBAN, as well as many other tools give you the (senseless) possibility to use other (completely UNneeded) wiping methods at the cost of MUCH more time needed
Wonko
Can you give me a link to secure erase or safe erase - as did google it but couldn't find what you meant
#12
Posted 05 May 2012 - 12:21 PM
Hmmm.Can you give me a link to secure erase or safe erase - as did google it but couldn't find what you meant
Explanation:
I already gave to you appropriate links:
RE-READ, this time slowly, my previous post (#2 in this thread, a direct reply - that you seemingly ignored - to your initial post/question) AND click on the links given there (they were given for a reason ).
Further explanation:
There are two links in that post, the first one links to a thread where:
- a question similar to your one was asked
- a comparison of time taken by Secure Erase and DBAN is present (including links to them)
- the *need* to secure erase and the *how* to do it is dicussed extensively
- several approaches were tested
- a working - easy to use solution - was given by member steve6375, making use of Secure Erase
And yes, you google-fu (though unneeded in this occasion) is low , at least in my google , the FIRST result searching for "Secure Erase" (without quotes) leads to this page (not-so-casually it's homepage):
http://cmrr.ucsd.edu...cureErase.shtml
Wonko
#13
Posted 05 May 2012 - 12:24 PM
Checked http://cmrr.ucsd.edu...cureErase.shtml = seems to be quite old and not updated for a long time - was looking for something more current and supported
original question clearly stated a disk eraser to run in win7pe - obviously the reason I may have missed your post is that neither of your suggestion do this
#14
Posted 05 May 2012 - 12:49 PM
#15
Posted 05 May 2012 - 01:30 PM
there are some users (other then DarrenRose) interested in just that, there is a summary of eraser/wiper scripts here:
http://al-jo.zxq.net/WipeDisk.7z
http://al-jo.zxq.net/DiskWipe.7z
http://al-jo.99k.org...titionWizard.7z
and a new one, HardWipe:
http://al-jo.zxq.net/HardWipe.7z (Must be used with “Run with Runscanner”, see attachment.)
Attached Files
#16
Posted 05 May 2012 - 04:03 PM
You (like BTW everyone else) are very welcome to :Thanks Wonko - yes I did miss you original link - sorry - but drop the attitude problem
Checked http://cmrr.ucsd.edu...cureErase.shtml = seems to be quite old and not updated for a long time - was looking for something more current and supported
original question clearly stated a disk eraser to run in win7pe - obviously the reason I may have missed your post is that neither of your suggestion do this
- ask the "wrong" questions ("chosen method" instead of "goal")
- ignore advice not strictly corresponding to your question
- use wiping methods and apps that are slower (and less comprehensive) than the method you chose
- assume that latest is always better (native ATA commands are INSIDE the disk, placed there by their manufacturers - that should know what they are doing)
Wonko
#17
Posted 05 May 2012 - 04:05 PM
I want it in Win7pe as once the wipe is done, an image will be applied from the same place - so saves time etc if all can be done from one place
#18
Posted 06 May 2012 - 10:33 AM
None (or not one entirely reliable) as you might have gathered had you read the given thread.I accept that using ATA Commands is better - so sticking to my requirements, what app that runs in win7pe would give me disk wiping with ATA commands?
The issue is that we do have a hdparm Win32 port that could work from a PE BUT seemingly the HAL (actually the "standard" MS disk driver ATAPI.SYS) locks it's functions.
So one could use it nonetheless if the PE uses a non-locking disk driver (Uniata was suggested, but seemingly noone tested it) and in any case since even Uniata is not really universal it is not a "surely working" solution.
READ the given thread, we have evidence (by cdob ) that "manufacturer" drivers do not "freeze" the ATA device, in which case using hdparm under a Win32 would be possible, but - as I see it - it is not (yet) a "one-size-fits-all" solution.
And - again - if you are looking for speed, *anything* not using native ATA commands will be slower.I want it in Win7pe as once the wipe is done, an image will be applied from the same place - so saves time etc if all can be done from one place
How much slower?
We miss some serious benchmarking, but steve6375 gave in that thread a couple of values from experiments.
2.5" 250GB HDD took 82 mins to erase using HDDErase
I do not expect any Win32 app to be significantly faster than DBAN, so if you compare the 3.5x60=210 minutes with 82 or 85 of the ATA erase, you could take your decision.with DBAN the same 2.5" 250GB drive took 3.5hrs (instead of 85 mins with HDDErase).
If we take this report as example:
Method #1 (wiping from 7PE with *any* wiping utility but hdparm/native ATA): 230.9 minutes
- 0.9 minutes ->booting the PE
- 200 minutes.>wiping
- 30 minutes (say) -> deploying the image
Method #2 : 116.1 minutes
- 0.2 minutes -> booting HDDerase
- 85 minutes ->wiping
- 0.9 minutes ->booting the PE
- 30 minutes (say)->deploying the image
Even a simple dd-like tool would do, and - as said - you can even use the built-in format command (though cannot say if it will be any faster - or better said how much slower - than a dd-like tool or specific wiping tool).
If you:
- delete all partitions
- create new one
- format it without the /q switch
- wipe first 2048 sectors
- access the disk in dik manager (initialize the disk)
- create new single partition extending over the whole disk
- format it without the /q switch
If you are after "simpler" this is the simplest way.
If you are after "speed" you will have to test the various wiping solutions (there are tens of them).
Wonko
#19
Posted 06 May 2012 - 02:25 PM
All was using one pass zeros (except M$) & Recuva was the recovery program.
Wiping time: about 10 minutes for all (20 minutes for M$ 2-pass).
Result:
DiskWipe: 10 of 210 files was recoverable
WipeDisk: 23 of 247 files was recoverable
PartitionWizard: 23 of 246 files was recoverable
HDDLLF: 17 of 17 files was recoverable
HardWipe: 0 of 0 files was recoverable
Note: there where 265 files from start.
Also tested M$ Disk Format Utility with these switches:
format [driveletter]: /x /fs:ntfs /p:2 (2 pass)
result: 20 of 264 files was recoverable
Not so “scientific” tests, but perhaps an indication?
#20
Posted 06 May 2012 - 02:34 PM
P.S. do we have a script for hardwipe? as this looks like a good choice
#22
Posted 06 May 2012 - 02:54 PM
#23
Posted 06 May 2012 - 03:27 PM
@al-jo
If you are into experimenting, can you try the following? (on the same UFD)
Presuming that the UFD is physical drive 1
dsfo .PHYSICALDRIVE1 0 0 C:mybackup.imgthis will make an image of the UFD.
Run this batch, save it as "makesparse.cmd") with command line makesparse.cmd C:mybackup.img :
@ECHO OFF SETLOCAL ENABLEEXTENSIONS if %1.==. goto :eof CALL :getsize %1 mksparse C:heapsofzeroes.img %Size% GOTO :EOF :getsize ECHO Image has size %~z1 bytes pause Set Size=%~z1 GOTO :EOF
It should create a SPARSE image of the same size of the backup/UFD as C:heapsofzeroes.img.
Now:
dsfi .PHYSICALDRIVE1 0 0 C:heapsofzeroes.img
Can you recover anything with Recuva?
(links to tools used are in the Mkimg/Mbrbatch thread: http://reboot.pro/?showtopic=3191 )
How long does it take?
Can you try again creating instead of a sparse image a "full sized" image with fsz?
Wonko
#24
Posted 06 May 2012 - 03:44 PM
I get "the software must be re-installed . the installation either did not suceed or has been corrupted by a virus or hard-disk fault"
#25
Posted 06 May 2012 - 04:32 PM
I'm getting the same message if I don't "rightclick" on HWIPE, choose "run with runscanner" & choose a profile.
@Wonko
Tried to do as described (but don't know what it has to do with this topic) & mybackup.img is 2GB but the heapsofzeroes.img is only 16Kb.
Got this error: failed to create sparsefile
the cmd file attached
Attached Files
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users