I have tried steps on two posts in this superuser thread: Recovering a Partially Formatted USB Thumb Drive
These are my attempts:
Attempt 1: referring to user LJD200's post
I ran these commands on CMD as administrator:
list disk
select disk
clean
The 'clean' command resulted in this error:
DiskPart has encountered an error: Access is denied.
See the System Event Log for more information.
I then continued to run these commands:
convert mbr
create partition primary
format fs=fat32 QUICK
Again, I saw this error:
DiskPart has encountered an error: The system cannot find the file specified.
See the System Event Log for more information.
Attempt 2: referring to user Mark Tomlin's long post
These are the commands I ran:
list disk
select disk X
detail disk
And cmd showed detail of the usb drive:
Kingston DataTraveler 3.0 USB Device
Disk ID: XXXXXXXX
Type: USB
Status:Online
Path: 0
Target: 0
LUN ID: 0
Location Path : UNAVAILABLE
Current Read-only State : No
Crashdump Disk : No
Clustered Disk : No
I then continued running these commands:
select volume X
FORMAT RECOMMENDED OVERRIDE
which yielded DiskPart has encountered an error: The system cannot find the file specified. See the System Event Log for more information.
Then I continued with this command:FORMAT FS=NTFS LABEL='xx' QUICK COMPRESS
and the same error appeared.
I then ran:select disk x and clean all and the error was:
DiskPart has encountered an error: Access is denied. See the System Event Log for more information.
After that, I ran list partition and cmd showed There are no partitions on this disk to show
I followed Mark's steps to run these commands:
ONLINE DISK
ATTRIBUTES DISK CLEAR READONLY
CLEAN
where the last command returned the same error as clean all
Finallly, I ran convert mbr and create partition primary.
At this point, the status of the usb drive on Disk Management showed that it was "RAW, Healthy(Active, primary partition).
Any advise from here is greatly appreciated as I've been stuck at this for quite some time. Thanks!