Erase Hard Disk.
DOS Command Line Mode

How to erase hard drive? Windows7 logo   How to erase hard drive? Intel logo

5.3.2 DOS Command Line Mode

To run Active@ KillDisk in command line mode:

1. 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 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] -em= 0 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] -p= 3 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] -v= 10 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] -ra= 5 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] -eh=   Name the hard drive to be erased. By default, the utility erases the first logical drive encountered.
-eraseallhdds -ea   Erase all hard disk drives.
-ignoreerrors -ie OFF Do not stop erasing each time a disk error is encountered. When you use this parameter, all errors are ignored.
-clearlog -cl   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"] -lp   Path to save application log file. Can be either directory name or full file name. Use quotes if full path contains spaces.
-certpath=["fullpath"] -cp   Path to save erase/wipe certificate. Can be either directory name or full file name. Use quotes if full path contains spaces.
-noconfirmation -nc   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 -bp   Beep after erasing is complete.
-wipeallhdds -wa   Wipe all hard drives.
-wipehdd=[80h-8Fh] -wh=   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 -bm   Execute in batch mode based on command line parameters with no user interaction.
-userpattern=[fullpath] -u   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.

2. 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.

3. 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.

Before < DOS Command Line Mode > Next

This document is available in PDF format, which requires Adobe® Acrobat® Reader
(Free download):

Size: 714 KB

USER'S GUIDE (Console)
Size: 683 KB

KillDisk Datasheet
Size: 2,44 MB

Data Recovery

Data Utility

Data Security

Data Backup

CD/DVD Tools