In most cases you can write a small batch file to launch killdisk with the parameter to erase all drives (-ea) as well as the 'exclude removable drives' parameter (-xr).
However, some removable disks report themselves as being fixed disks and this command will not work on those specific drives. They will be erased along with the other drives.
If you include these 2 files when making the boot disk (using the startup scripts tab) the computer will boot and run killdisk with the command line parameters to erase all drives (-ea) and exclude the USB stick (-xd=…).
As soon as the computer boots in bootdisk, these 2 files will determine the physical disk to exclude and launch the program with these parameters. It does not matter if the USB stick reports itself as removable or fixed if you use these files.
|
Addendum. The 2 files are just a batch file to copy the exe to the program files folder and run it to get the physical drive that bootdisk booted from. The batch file uses that information to launch killdisk with the erase all drives parameter and exclude the 1 drive we booted from. It also sets the log and certificate file folders to the USB image. BE VERY CAREFUL WITH THIS. |
Comments
0 comments
Please sign in to leave a comment.