wipe hard drive

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 – https://dban.org/) or Secure Erase (https://cmrr.ucsd.edu/resources/secure-erase.html). 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

You may also like:

Deploy LGPO with MDT 2013 Local Group Policy (LGPO) of computer is configured through gpedit.msc snap-in, which does not provide the possibility to export/import settings. That...
Using PsExec to Run Commands Remotely The PsExec is an easy Windows utility to replace the telnet tool. It allows you to run programs and processes on remote systems, using all the feature...
How to Migrate User Profiles with User State Migra... One of the most popular tools to migrate user profiles from one Windows computer to another is the set of CLI utilities – User State Migration Tool (U...
How to Fix Can’t Connect to Proxy Server on ... In this article we are going to find out how to fix annoying problem on Windows 10. When you try to go in Web, it says Can’t connect to the proxy serv...
How to Mount Windows Folder into VMware ESXi In this article we will take a look on how to connect a network folder from Windows 2012 R2 Server as a datastore on the VMware ESXi host and use it t...

Add Your Comment