September 24, 2017, 03:28:53 AM
Welcome, Guest. Please login or register.

Feds Seize KickassTorrents Domains, Arrest Alleged Owner -- https://goo.gl/FRHbEJ

Author Topic: Fix USB (unreadable / format error) using DISKPART  (Read 14868 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]
diskpart
Code: [Select]
list disk
Code: [Select]
select disk X ; Where X is your USB drive
Code: [Select]
clean
Code: [Select]
create partition primary
Code: [Select]
format fs=fat32 quickor format fs=ntfs quick
Code: [Select]
active
Code: [Select]
assign
Code: [Select]
exit
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: 1247
  • 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'
(http://geekswithblogs.net/ilich/archive/2013/04/26/recovering-unallocated-space-of-a-usb-flash-drive.aspx)


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