Undo the CLEAN command on the portable hdd : DISKPART
17,635
Solution 1
testdisk might be able to fix that.
- Download System Rescue CD (live cd) and burn it to a disk or just download testdisk
- run testdisk
- choose to create a log file
- choose the disk that you ran clean on
- choose intel
- choose analyze
- choose quick search
- confirm to preceed
- testdisk should find the deleted partition
- confirm to save the partition table.
- check for files.
Solution 2
If there's data on the disk that needs to be recovered, don't do this!
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, uselist disk
to find out. -
create partition primary
will create one large partition. Usehelp create partition primary
for more options. select partition 1
-
format quick
to create the file system. Once again, checkhelp format
for more options.
Related videos on Youtube
![pranav malayil](https://lh3.googleusercontent.com/-2QM3MP8qq0I/AAAAAAAAAAI/AAAAAAAAACk/5rBg2Xb5rsQ/photo.jpg?sz=256)
Author by
pranav malayil
Updated on September 18, 2022Comments
-
pranav malayil almost 2 years
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
-
pranav malayil almost 12 yearsThanks, but I have a little understanding on these, can you please specify some steps..
-
pranav malayil almost 12 yearsYESS!! It is back :)
-
pranav malayil almost 12 yearsHey you said format? I have datas in the portable!!
-
d4v3y0rk almost 12 yearsExcellent, it is always nice when we can so easily undo. LOL
-
Marcks Thomas almost 12 yearsThis is true. Back up your data.
-
Blue Smith over 11 yearsThanks @DaveYork so much, your tip saved my data and my life :D
-
om252345 almost 11 years@DaveYork on my laptop internal hard disk, I ran clean command on disk 1 i.e. My entire data is gone, there is lots of code, pictures of my life, I do not have any backup. Now I do not have Windows installation on my laptop,.please tell me how can I recover all data, I can not loose data.
-
LoneWOLFs about 10 yearsI did exactly this but it didn't detect my lost partition on the drive any idea what would have gone wrong? I am pretty sure I didn't write anything on the drive. :(
-
d4v3y0rk about 10 yearshow exactly did you lose the partition?
-
Muhammet Ali Asan over 8 yearsYou saved my life sir :) I got all my files back in the fastest way