How to Format a Hard Drive with Command Prompt: Beginner’s

Mohammed Raza
1
Formatting a Hard Drive Banner

Formatting a hard drive can be essential for cleaning up storage or preparing it for a new operating system. In this post, we'll walk you through the process of formatting a hard drive using the Command Prompt in Windows. This method is straightforward and effective, even for beginners.

Step 1: Open Command Prompt

To begin, you need to open the Command Prompt with administrative privileges.

  1. Search for "cmd" in the Windows search bar.
  2. Right-click on Command Prompt and select "Run as administrator."
Opening Command Prompt as administrator

Step 2: Open Diskpart

Once the Command Prompt is open, you’ll need to use the Diskpart utility.

  1. Type the following command and press Enter: diskpart
Executing diskpart command

Step 3: List Disks

To see all the disks connected to your computer, type:

list disk

This command displays all available drives.

List of disks in Diskpart

Step 4: Select the Disk

Identify the disk you want to format from the list. For example, if you want to format Disk 1, type:

select disk 1 Selecting Disk 1 in Diskpart

Step 5: Clean the Disk

To remove all partitions and data from the selected disk, type:

clean Executing clean command

Step 6: Create a New Partition

Now, you need to create a new partition. Type the following command:

create partition primary Creating a new primary partition

Step 7: Format the Partition

Next, format the partition using the following command. You can choose between NTFS and FAT32 formats:

format fs=ntfs quick

or

format fs=fat32 quick Formatting the partition

Step 8: Assign a Drive Letter

Finally, assign a drive letter to the formatted partition:

assign letter=E

(Replace "E" with your preferred letter.)

Assigning a drive letter

YouTube Video Tutorial

For a visual guide, check out this YouTube video:

Watch the YouTube Video Tutorial

Other Posts

check out our post on How to install Free fire offline in android.

Conclusion

You’ve successfully formatted your hard drive using the Command Prompt! This method is efficient and allows you to manage your drives effectively. If you have any questions or need further assistance, feel free to leave a comment below!

Tags:

Post a Comment

1 Comments

Post a Comment

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Check Now
Ok, Go it!