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.

When using DISKPART I accidentally used the CLEAN command on my portable WD 500gb HDD. Now it is not showing as a drive in my computer, though shows as unallocated space in Disk Management.

Thanks for your help

share|improve this question

2 Answers 2

up vote 5 down vote accepted

testdisk might be able to fix that.

  1. Download System Rescue CD (live cd) and burn it to a disk or just download testdisk
  2. run testdisk
  3. choose to create a log file
  4. choose the disk that you ran clean on
  5. choose intel
  6. choose analyze
  7. choose quick search
  8. confirm to preceed
  9. testdisk should find the deleted partition
  10. confirm to save the partition table.
  11. check for files.
share|improve this answer
    
Thanks, but I have a little understanding on these, can you please specify some steps.. –  eagleye Sep 11 '12 at 15:54
    
This assumes they need to recover data, not just get the drive back up. For recovery, Testdisk rocks. But beware that if your drive was pretty full then it may take days to recover all the data on it. It is also likely to be in a random order, not in the nice, neat folders you may have had. –  techturtle Sep 11 '12 at 16:10
1  
YESS!! It is back :) –  eagleye Sep 11 '12 at 16:10
1  
Excellent, it is always nice when we can so easily undo. LOL –  Dave York Sep 11 '12 at 17:25
    
This is true. Back up your data. –  Marcks Thomas Sep 11 '12 at 21:34

You'll need to recreate a partition and format it. Diskpart is capable of doing both:

  • select disk 1 or whatever number refers to your hard drive, use list disk to find out.
  • create partition primary will create one large partition. Use help create partition primary for more options.
  • select partition 1
  • format quick to create the file system. Once again, check help format for more options.

And finally, if there's data on the disk that needs to be recovered, don't do this!

share|improve this answer
    
Hey you said format? I have datas in the portable!! –  eagleye Sep 11 '12 at 16:11

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.