Friday, June 06, 2014

recover died USB stick

ref: http://superuser.com/questions/338059/recovering-a-partially-formatted-usb-thumb-drive

  1. Click on the Start Orb.
  2. Type cmd into the search box.
  3. Shift + Right Click on the CMD icon.
  4. Click on Run as Administrator.
From here, we are going to type in diskpart and run the following commands.
C:\Windows\system32>diskpart

Microsoft DiskPart version 6.1.7601
Copyright (C) 1999-2008 Microsoft Corporation.
On computer: DYGEAR-PC

DISKPART>
From here we are going to type list disk to find the current drives connected to the computer.
DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online           14 GB      0 B
  Disk 1    Online           74 GB      0 B
  Disk 2    Online          698 GB      0 B   *
  Disk 3    Online           15 GB      0 B
The 15GB drive is the drive we are looking for, as that's the size of our USB Thumb Drive. So to select that drive, we run the command select disk 3.
DISKPART> select disk 3

Disk 3 is now the selected disk.
If you are not sure if this is your drive, you can request details about the drive by running the command detail disk after you have selected the disk.
DISKPART> detail disk

Corsair Voyager Mini USB Device
Disk ID: 00000000
Type   : USB
Status : Online
Path   : 0
Target : 0
LUN ID : 0
Location Path : UNAVAILABLE
Current Read-only State : No
Read-only  : No
Boot Disk  : No
Pagefile Disk  : No
Hibernation File Disk  : No
Crashdump Disk  : No
Clustered Disk  : No

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 4                             Removable     15 GB  Healthy
After we have correct drive, we can select any partitions on the drive select by doing select volumeand then the volume number like in our case select volume 4.
DISKPART> select volume 4

Volume 4 is the selected volume.
From here, we will try to recover the drive to a useable state. We are going to attempt to reformat the drive first. FORMAT RECOMMENDED OVERRIDE is the safest way to format your drive back to a normal state.
DISKPART> FORMAT RECOMMENDED OVERRIDE

DiskPart has encountered an error: The system cannot find the file specified.
See the System Event Log for more information.
Should that not work, such as shown above, we can try to run a format command that tells it how to format the drive in our case we use FORMAT FS=NTFS LABEL="Windows7" QUICK COMPRESS.
DISKPART> FORMAT FS=NTFS LABEL="Windows7" QUICK COMPRESS

DiskPart has encountered an error: The system cannot find the file specified.
See the System Event Log for more information.
In our case, this still does not work. So we attempt to clean the whole drive with the command CLEAN ALL.
DISKPART> clean all

DiskPart has encountered an error: Incorrect function.
See the System Event Log for more information.
my command prompt not responding after this command. i quit diskpart Ctrl+C. remove USB stick and now its fixed :)
Related Posts Plugin for WordPress, Blogger...