Here i want to explain about how to repair pen drive or usb flash drive with command prompt when it is corrupted.
Requirement For Repairing Your Corrupted USB Drive:
- Windows 7 Operating System (recommended)
- Corrupted Pen drive/ corrupted memory card with good card reader.[N.B. : when inserted,it shows the drive but no memory allocation is seen,no access facility is available,unable to format]
- A beautiful smile after success:-)
Insert Pen drive/USB flash drive (here I am using 1 GB corrupted memory card as demo) on Laptop/Desktop.Make sure the driver is showing.
Make sure you have UPS support on your computer for preventing power cut during format process.It is important before performing the task.Not only for this fact & it is also applicable while writing/burn CD/DVD otherwise these devices will be corrupted.
Click on Start button>Program>search for cmd >click on “Run as Administrator“
Now you will see this ….
Now type a command “DISKPART” & press Enter.It will provide you a new window like as below.
Carefully follow bellow given steps.:
- Type “LIST DISK” & press Enter.
wait 15 second…you will see your flash drive DISK Numder,Status,Size.
- Now select your Disk number by typing “SELECT DISK 2” press Enter.
(Remember : Carefully choose this selection,You must check the memory size & choose your pen drive disk.Here in demo the pen drive size is 1 GB approx. 953 MB & the numder of this Disk is 2.
So, I have choose select disk 2 for performing the targeted operation. If their is no view of disk except hard disk details then your only option is Customer care service for repair of mechanically damage pen drive.)
- Type CLEAN & press Enter.
- Type “CREATE PARTITION PRIMARY” press Enter.
- Then type “SELECT PARTITION 1“press Enter.
- after reply from PC,type “ACTIVE” press Enter.
- type “FORMAT FS=NTFS” press Enter.
Now your pen drive is formating…..please wait for completion.Total fenomena is viewed as below:
- After completion,type “ASSIGN” press Enter.
- Type “EXIT” for two times.
You are now seeing some memory are used,dont worry,it is ok. If you have some itching with this,just format it again in FAT32 file system in windows mode like as below:
Now you have completely new born Pen drive/USB flash drive/Memory card.
Note: After exit from CMD(dos) mode,If you want to make WIndows 7 installer Pen drive(must be 8 GB Pen/flash drive),just copy all files of Windows 7 DVD to this flash drive.Then,you can boot Windows 7 OS from this Pen drive.This is another method of making Windows 7 installer Pen drive.