Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a USB flash drive, which I may have mucked up, so I used DISKPART's CLEAN to clean it up. I created a simple volume, and tried to format it. (This is all using Windows' disk management.) I was told The system cannot find the file specified.

So I tried using DISKPART (as an admin):

DISKPART> select volume 9

Volume 9 is the selected volume.

DISKPART> format recommended

DiskPart has encountered an error: The system cannot find the file specified.
See the System Event Log for more information.

DISKPART>

As you can see, no luck.

When I plug the drive in, the computer makes a beep noise as though it has recognised something, but nothing appears in My Computer

How can I format the disk so I can use it again?

share|improve this question
    
is anything showing up in Device Manager? Try different usb port... –  Logman Nov 24 '12 at 14:42
    
@Logman I tried a different port, formatting still failed. The device appears under Disk Drives in Device Manager (properties says it's working properly), but still nothing in My Computer, and no formatting –  ACarter Nov 24 '12 at 15:06
    
try running CheckDisk? >chkdsk /r /f –  Logman Nov 24 '12 at 20:17
1  
In DiskPart do: 'SELECT VOLUME 6' then 'FORMAT RECOMMENDED', you format a volume, not a disk. –  Peter Hahndorf Nov 24 '12 at 21:24
1  
@PeterHahndorf you mean eventvwr. –  joneshf Sep 20 '13 at 15:56

2 Answers 2

In diskpart give a "SHOW DISK" "LIST DISK" to see which DISK the USB is.
Then give "SELECT DISK x" (x being the number of the USB drive as shown in the previous command.) Then do a "CLEAN".

Close diskpart. Open Windows DiskAdministrator GUI.
You should now see the USB disk as an EMPTY harddrive and be able to partition and format the USB disk as normal.

EDIT: I originally had the command LIST wrong as Matt pointed out in the comment.

share|improve this answer
    
This worked for me on Windows Server 2012R2. –  Eris Aug 19 at 18:06
    
Thanks, this worked a charm. Had to use LIST DISK instead of SHOW DISK on Windows 8.1 though. –  Matt Dec 16 at 22:16
    
@Matt It is LIST on all Windows versions. My mistake. Will edit answer. –  Tonny Dec 18 at 22:57

UNetbootin can create a bootable Live USB drive, or it can make a "frugal install" on your local hard disk if you don't have a USB drive. It loads distributions either by downloading a ISO (CD image) files for you, or by using an ISO file you've already downloaded.

Try using UNetbootin to format and create a live linux on your thumb drive directly. If this does not work, I would use UNetbootin to create a PartedMagic live cd/dvd/usb (device other than the one you are having troubles with) and boot to it and try to access the problem usb device and wipe it clean with Parted Magic.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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