Due to plugging my 4 gb kingston pen drive in a system having virus my pen drive got corrupted . When I plug in my pen drive I am not able to format it or use in it any manner. I tried using DISKPART tool as given here.

but when using DISKPART tool my pen drive is not listed in the command prompt window. In my computer it is showing. But when i try to open it I get following error.. Please help

enter image description here


Open RUN and type this command


Here all the disks will be listed you can format by right clicking the usb device.enter image description here

| improve this answer | |
  • I tried this but was not able to do it. @vembutech – divya batra Feb 10 '16 at 9:34
  • its not happening ... The blue drive which is being shown is not present and with right click this menu is not opening – divya batra Feb 11 '16 at 6:12

Connect the pen drive to your pc

Assuming the letter assigned to the pen drive is L, enter image description here

RUN the command prompt As Administrator

Type the following command:

format /q /x L: and press enter enter image description here press the enter enter image description here enter image description here

format complete

| improve this answer | |
  • After doing this message is displayed Insert new disk for drive H: and press ENTER when ready – divya batra Feb 11 '16 at 7:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.