Tuesday, September 28, 2010

Using Diskpart on your Windows CD to Zero Out Your Hard Drive

One easy way to zero out your hard drive, i.e., writing zeros to your hard drive to wipe out any data (e.g., before you sell your old computer on EBay, donate it to Goodwill, etc) is to use Diskpart.exe, a utility that is shipped on every Microsoft Windows Installation CD.

Here are the step-by-step instructions on how to use Diskpart:
  1. Insert your Windows CD into the optical drive and boot into a command prompt.

  2. Type diskpart to load the utility.

  3. Type list disk. Diskpart will list all the hard drive(s) on your computer.

  4. Type select disk x (where x=the number of the disk you want to zero out). Diskpart will return "Disk x is now the selected disk."

  5. Type clean all and Diskpart will completely zero out the entire disk.

4 comments:

  1. great tip .. thanks for posting

    ReplyDelete
  2. i agree; thank you for the instructions!

    ReplyDelete
  3. Awesome, thanks for that, excellent tip.

    ReplyDelete
  4. I would recommend using a third party program rather than rely on the 'OS' of a drive to 'zero' a drive.

    ReplyDelete