5.3.2 DOS Command Line Mode
To run Active@ KillDisk in command line mode:
- With the PC power off, insert the Active@ KillDisk for Hard Drives USB / floppy disk into drive A:
- Start the PC by turning on the power. The screen will display the Microsoft DOS prompt.
- At the DOS prompt, display Active@ KillDisk for Hard Drives parameters by typing: A:\>KILLDISK -?
A list of parameters will be displayed. Explanations of the parameters can be found in the table below.
Command Line Parameters
Parametrs Short Default Options no parameter With no parameter, the DOS Interactive screens will appear. -erasemethod=[0-16]
0 - One pass zeros (1 pass)
1 - One pass random (1 pass)
2 - US DoD 5220.22-M (3 passes, verify)
3 - US DoD 5220.22-M ECE (7 passes, verify)
4 - Canadian OPS-II (7 passes, verify)
5 - HMG IS5 Baseline (1 pass, verify)
6 - HMG IS5 Baseline (3 passes, verify)
7 - Russian GOST p50739-95 (2 passes, verify)
8 - US Army AR380-19 (3 passes, verify)
9 - US Air Force 5020 (3 passes, verify)
10 - Navso P-5329-26 RL (3 passes, verify)
11 - Navso P-5329-26 MFM (3 passes, verify)
12 - NCSC-TG-025 (3 passes, verify)
13 - German VSITR (7 passes, verify)
14 - Bruce Schneier (7 passes, verify)
15 – Peter Gutmann (35 passes, verify)
16 - User Defined Number of Passes (random) and pattern
-passes=[1 - 99]
Number of times the write heads will pass over a disk area to overwrite data. Valid only for User Defined method (-em=16). -verification=[1 - 100]
Set the amount of area the utility reads to verify that the actions performed by the write head comply with the chosen erasemethod (reading 10% of the area by default). It is a long process. Set the verification to the level that works for you. -retryattempts=[1 - 99]
Set the number of times that the utility will try to rewrite in the sector when the drive write head encounters an error. -erasehdd=[80h - 8Fh]
Name the hard drive to be erased. By default, the utility erases the first logical drive encountered. -eraseallhdds
Erase all hard disk drives. -ignoreerrors
Do not stop erasing each time a disk error is encountered. When you use this parameter, all errors are ignored. -clearlog
Use this parameter to clear the log file before recording new activity. When a drive is erased, a log file is kept. By default, new data is appended to this log for each erasing process. The log file is stored in the same folder where the software is located. -logpath=["fullpath"]
Path to save application log file. Can be either directory name or full file name. Use quotes if full path contains spaces. -certpath=["fullpath"]
Path to save erase/wipe certificate. Can be either directory name or full file name. Use quotes if full path contains spaces. -noconfirmation
Skip confirmation steps before erasing starts. By default, confirmation steps will appear in command line mode for each hard drive or USB / floppy as follows:
Are you sure?
-log Save report and error events to a log file. -beep
Beep after erasing is complete. -wipeallhdds
Wipe all hard drives. -wipehdd=[80h-8Fh]
Name the hard drive to be wiped. -test If you are having difficulty with Active@ KillDisk for Hard Disks, use this parameter to create a hardware information file to be sent to our technical support specialists. -batchmode
Execute in batch mode based on command line parameters with no user interaction. -userpattern=[fullpath]
Valid only for User Defined method (-em=16). -help or -? Display this list of parameters.
Parameters -test and -help must be used alone. They cannot be used with other parameters.
- Key the command and parameters into the DOS screen at the prompt.
Here is an example: A:\>killdisk.exe -eh=80 -bm
In the example above, data on device 80h will be erased using the default method (one pass zeros) without confirmation and return to the DOS prompt when complete.
Here is another example: A:\>killdisk.exe -eh=80 -nc -em=2
In this example, erase all data on device 80h without confirmations, using US DoD 5220.22-M method, and show a report at the end of the process.
Here is an example with the wipe disk command: A:\>killdisk.exe -wa -bm -em=15 -nc
Wipe all deleted data and unused clusters on all attached drives without confirmation using Gutman's method and return to the DOS prompt when complete.
- Press [Enter] to complete the command and start the process.
After operation has completed successfully information on how drives have been erased is displayed on the screen.