February 24, 2018, 08:03:19 PM
Welcome, Guest. Please login or register.

"640 K ought to be enough for anybody." -- Bill Gates

Author Topic: Fix USB (unreadable / format error) using DISKPART  (Read 16149 times)

Offline 0E 800

  • If something can corrupt you, you're corrupted already.
  • Top Hat Member
  • Elite
  • ********
  • Posts: 961
  • Internets: +154/-0
  • ??? ???????? ?s ?? ??c?c??-???
Fix USB (unreadable / format error) using DISKPART
« on: August 06, 2014, 01:50:13 PM »
What up THS'cats -

I had a USB thumb drive that I was having problems with.
When I plugged it in, Windows reconised there was a drive and the drive would show up in Explorer. However, when I tried to access it, I was prompter to format. In the format dialog box where it shows the drives size - it was blanked out. When I tried to format it, it error'd and wouldnt let me format it.

Same thing when using Disk Manager.

This has happened before, so typically I just plug the USB into a linux box and format it using Gparted. Well, linux could see the drive just fine, but Windows still couldn't format or recognize the drive size.

This problem I encountered was due to the difference between MBR and GPT - I even had to install a special program in linux called Fixparts (http://www.rodsbooks.com/fixparts/) in order to repair it.

So to fix this issue I had to use a Windows program called Diskpart.exe and here is what I did to fix it:

Press WinKEY + X  - this opens special start menu items
Click on Command Prompt (Admin)
Type in command promt:
Code: [Select]
Code: [Select]
list disk
Code: [Select]
select disk X ; Where X is your USB drive
Code: [Select]
Code: [Select]
create partition primary
Code: [Select]
format fs=fat32 quickor format fs=ntfs quick
Code: [Select]
Code: [Select]
Code: [Select]
Hope this helps someone in the future.
"He who passes not his days in the realm of dreams is the slave of the days."

Offline TAPE

  • Top Hat Member Moderator
  • Elite
  • ********
  • Posts: 1249
  • Internets: +193/-0
Re: Fix USB (unreadable / format error) using DISKPART
« Reply #1 on: August 07, 2014, 02:02:48 AM »
Good info 0E, diskpart is handy to know of.

I for one always seem to manage to fubar my usb drives and need to use diskpart to retrieve 'lost space'

Will keep this post in mind for future use !
Take all the advice you like and then tell everyone to **** off and do your own thing -- Gitsnik