How to format a hard drive from Windows with CMD? - Step by step

What is the use of formatting a hard drive with CMD?

Of course, today's computing world stands out for offering excellent options with very easy to use interfaces. However, most people avoid command consoles, as they find them very complicated to use.

Even so, command consoles can be very useful in case of problems with programs. While with Ubuntu it is recommended to learn how to use the terminal, in the case of Windows you need to know the command console, also called CMD. With this tool you can make changes to the system.

With CMD it is also possible to format memory units, which is particularly useful in case of computer problems. It is a process that might seem complicated, but following the correct guide is very easy to do.

How to format a hard drive from Windows with CMD? - Step by step

How to format a hard drive from Windows with CMD? - Step by step

The formatting process with the Windows console might seem complicated, but it isn't. In any case it will be necessary to follow a series of steps to the letter. To do this, carefully read the following guide, with which you will learn how format a hard drive using CMD.

Part one

  1. The first thing to do is to open the Windows command window, also known as CMD. To do this, go to the initial section and type “CMD”.
  2. Once you have found the CMD console, right click on it and then on the option "run as administrator". After this process, the console will appear on the screen through which you can make multiple system configurations.
  3. To perform the formatting procedure, we will use the "Diskpart" tool, for which it will be sufficient to type "diskpart" on the command line, then press the "Enter" key.
  4. As you will see, the word will now appear on the screen "DISKPART", which means you are using this program inside the commands. The next step is to type List disk and press the "Enter" key again.
  5. After the previous step, the installed storage drives will appear on the screen. As you can see, each is assigned based on a number, the way you can recognize them is through their total size.
  6. Once you have correctly identified the hard drive you want to format, type the following “select disk n” (note that the n must be replaced by the hard drive number) and press “Enter”.

How to format a hard drive from Windows with CMD? - Step by step

Part Two

  1. The system will warn you that the hard disk has been selected successfully, now you just have to type the command "clean" and press the Enter key again.
  2. In the previous step you will have successfully removed the hard drive, however, you need to format it, to do so type "Create primary partition" and press Enter.
  3. You will need to look at the partition we just created, so type the following “partition list” command and hit the “Enter” key again.
  4. You need to choose the created partition, type "Select partition n" (remember that the letter n represents the partition number) press "Enter".
  5. Now type the word "active" and press the "Enter" key again.
  6. It is time to format the drive correctly, for this we will use the command “Fs format = NTFS”, press the "Enter" key again. When you do this, the hard drive will start formatting, a process that may take some time, please wait until it is finished.

Using the process shown above you can format storage drives very easily from the command prompt. This will erase all information on the drive. However, you can recover deleted files after doing it without any inconvenience.

add a comment of How to format a hard drive from Windows with CMD? - Step by step
Comment sent successfully! We will review it in the next few hours.