How to Completely Wipe Hard Drive in Windows 10?

You can think about the complete cleaning of data from the hard disk of your Windows 10 computer if you want to sell your old computer or throw out your equipment. Before the computer will be transferred to other hands, you must completely clean the hard drives from data (among them may be personal and/or confidential data).

Every user should understand that deleting files from a disk and formatting have nothing to do with safe disk cleaning. When deleting a file from the disk and from the recycle bin, and even formatting the entire partition, it is still possible to recover user data from the disk. To do this, there is even a special class of programs that allow you to recover data after accidentally deleting or formatting a disk. Even the simplest and free tool from this class of programs allow you to recover all data with almost 100% probability.

In order to guarantee the erase of all the data from the HDD, you need to overwrite the data in all sectors on it with new data (zeros). After that, even professional programs for recovering information from disks won’t be able to recover data.

The traditional way of hard disk cleanup in Windows is formatting. However, simple formatting is not enough to safely wipe data. Especially for more reliable data deletion when formatting a disk in Windows Vista and higher, the built-in format utility has a special attribute /P:count. In this attribute, you can specify how many times each sector of the volume should be overwritten by zeroes.

For example, to format and overwrite the hard disk with zeros 5 times, run the command:

format D: /fs:NTFS /p:5



Proceed with Format (Y/N)?

Press Y and wait until formatting is complete (depending on the number of passes and disk size, this may take a long time).

how to erase a hard drive

Tip. The /p parameter doesn’t work together with the /q (fast formatting) parameter.

According to the information on the Microsoft page, the /p parameter is redundant, since Starting from Vista and above, the format command always overwrites the disk with zeros when performing full formatting.

You can use the format command to write an additional disk or partition with zeros, but not the system C: drive.

To securely wipe the data from the system disk on which Windows is installed, you need:

  1. Boot you device from the Windows installation disk (recovery disk or LiveCD). At the stage of choosing the OS language to install, press the Shift+F10;
  2. In the command window that opens, run the command: Diskpart
  3. Run the list disk command to list the mounted disks;
  4. Find the ID of your system hard disk (by size) that you want to clean and select it (for example, Disk 1): select disk 1
  5. List the partitions: list partition
  6. Write down the drive letters assigned to your partitions and close the diskpart session by running the command: exit

clean computer hard drive

  1. For each of the drive letters defined above, run the command: format e: /fs:NTFS /p:2 , (replace e: with your drive letter). The format command used in this way will format the E drive with the NTFS file system and write zeros to each disk sector twice.

You can also use the free tools to safely remove data. For example, DBAN (Darik’s Boot and Nuke or Secure Erase. These utilities are ISO images that you need to burn to any CD/DVD disc or USB flash drive using Rufus and boot your computer from them. There are several disk cleaning methods and each of these programs provide a different level of deletion reliability.

wipe hard disk

The Secure Erase program some time ago was “approved” by the National Security Agency and also supports all SSD drives.

For wipe you SSD drives, you can use special programs from vendors. For example, Samsung has this utility called Magician. Download the Samsung Magician image, write it to USB and boot from it. Select the Secure Erase item for your SSD.

how to completely wipe a hard drive

I enjoy technology and developing websites. Since 2012 I'm running a few of my own websites, and share useful content on gadgets, PC administration and website promotion.
Cyril Kardashevsky

One comment

  1. Thank you finally some decent instructions not telling me to download a bunch of nonsense programs

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.