

For this article, I am using an 8GB memory card which reduces to 2MB while creating a bootable drive.Ĭlick on the Windows button (left-bottom corner) and search for CMD and open it as Run as administrator. Your disk drive may or may not be shown on MY COMPUTER.

The Firstly step is to connect your corrupted disk drive(Pen drive, Memory card, Hard drive) to the computer through USB cable. And be very careful about selecting the disk drive to format in CMD. Disconnect other external devices if possible to reduce the risk of formating the wrong disk drive. So please backup of your all data before going to format your disk drive using the Diskpart command line partition tool. How to format disk partition with DiskPartįollow the below steps to fix your corrupted disk drive with the help of the Diskpart Command-line tool.ĭisclaimer: This process will erase all your data and impossible to undo the changes. How to format disk partition using DiskPart.Must Read: How To Fix boot loop Issue In Samsung devices There are many other situations as well where the Diskpart format command will solve your issue with your pen drive, memory card, SSD, and even with your hard drive as well. Now the only to fix this is to partition or format the pen drive using Diskpart to restore its space. But after installing the Linux OS on my PC, when I connectthe same pen drive to my computer, the size of memory is reduced to 2MB. So I have created a bootable pen drive for installing the Linux operating system on my PC. In this tutorial, I am going to fix my corrupted pen drive by using the DISKPART format command-line tool. So if your disk drive is not responding when you connect it to your computer then you can fix it by doing repartition/format using the Diskpart Windows command-line tool. Windows Diskpart command-line tool can fix the corrupted disk drive by partitioning it again. So the only method is left to fix your corrupted disk drive is the Windows Diskpart Format command-line tool.

But these two methods will fail if your Disk drive is corrupted. To format the disk drive, you can use the Windows Disk Management user interface tool, or you can directly go to the My Computer and right-click on the disk drive and select the Format. Diskpart is a powerful Windows CMD command that can be used to manage drives, create a partition on your disk drive(SD card, Pen drive, hard drive, SSD, etc).
