DISKPART Commands to format pen drive

Need to know before starting from scratch

Disk partitioning: the process of creation of two or more regions on secondary storage devices like the hard disk.

Fat32: fat32 was introduced by a window. Back in Windows 95. Fat32 stand for file allocation tabl32. Fat32 is mostly used on flash drives, external hard drives, etc.

 

Description

If your pen drive fails when you try to format through windows file explorer, there is one option. You can use the command prompt to format the pen drive. You can use the DISKPART tool to format the pen drive in the command prompt.

DISKPART Commands to format pen drive

 

In this post, we will be using the DISKPART command line, now let’s get started

To open or Start DISKPART

1.    type CMD on start

2.    run command prompt by right click and "Run as administrator"

3.    give permission yes, which will open the command prompt

4.    Type DISKPART.

Alternative

1.    “Win + R” and type CMD

2.    Inside CMD type “DISKPART”

3.    Click on yes

 

In my case, I have a 14GB pen drive as shown below. In this article, I will delete the 14 GB size pen drive. I will format it in fs=fat32. So, let’s get started.

 

In the command prompt, we see

DISKPART> list disk

Disk ###  Status         Size     Free     Dyn  Gpt
--------  -------------  -------  -------  ---  ---
Disk 0    Online          465 GB      0 B
Disk 1    Online           14 GB      0 B

DISKPART> select disk 1

Disk 1 is now the selected disk.

DISKPART> clean

DiskPart succeeded in cleaning the disk.

DISKPART> create partition primary

DiskPart succeeded in creating the specified partition.

DISKPART> select partition 1

Partition 1 is now the selected partition.

DISKPART> format fs=fat32 quick

100 percent completed

DiskPart successfully formatted the volume.

DISKPART> exit

Leaving DiskPart...

 

I Hope You Like my post on DISKPART Commands to format pen drive If it is Helpful Please don't forget to share my post with your friends.



Post a Comment

0 Comments