Formatting a drive(HDD or SSD) is the same as buying a new one as the process erases all the data. When you format your hard drive, you can clean internal as well as external storage media.
In the Articulated Paragraph, we explain how you can format a hard drive using the command prompt. Before proceeding further, make sure you backup all available data to prevent data loss. Follow the steps below to format a drive:
Let’s get Started !!
Open Command Prompt As Administrator
Search for command prompt, right click and run as Administrator.
Once command line is open, type ‘diskpart‘ and press Enter.
Type List Disk
The above command will open a Diskpart window. In this window, type ‘list disk‘ and press Enter. It will list all the available drives.
Select the Drive to Format
Now type ‘select disk (disk number)‘ as shown above. Specify the drive number which needs to be formatted.
Clean the Disk
In this step, type ‘clean‘. This command will permanent delete all files and folders, and successfully clean up the disk.
Create Partition Primary
Format the Drive
Now format the drive with FAT or NTFS file system. Type ‘format fs=ntfs‘ and press Enter.
Assign a Drive Letter
To assign a drive letter, you can type ‘assign‘ as shown below.