Accidentally ran diskpart clean and lost all data

1mran5haik

Reputable
Mar 22, 2015
4
0
4,510
Guys,

I was running win 7 with 4 partitions, one(partition A) only for OS. Later, I thought to upgrade to win 8.1. While installing it didn't allowed me to install on any partition cause it want the partition in GPT. I thought i can run diskpart clean on one particular partition, so I selected one volume(partition) and ran clean command, but it still cleaned all the partitions.

Long story short, I lost my data, cannot boot my OS until I install OS on freshly created single partition. I am scared to follow as it might be difficult to recover the old data once new installation is created. I am struck at this point where all the partitions merged into one unallocated partition (Check the link). "http://www.dedoimedo.com/images/computers_new_1/windows-7-install-size.jpg"

What should I do now? I found the solutions here "http://www.tomshardware.com/forum/299074-32-accidently-diskpart-clean-command" but I am confused when to run them cause they seem like when the OS is installed. Please advice

Thanks in advance
 
Hi

1) dont panic
2) leave PC switched off
3) find someone with sufficient skill & knowlwdge to help you

I would use gparted or parted magic Linux boot cds (or bootable usb memory stick)
to run Test Disk from http://www.cgsecurity.org/wiki/TestDisk
with luck this will find partition information & make partitions come back

If this failed I would use PhotoRecovery on same disk to find some files.
This works best with photo's or short office documents and does not recover file names

If really important data exists I would clone problem hard drive to another hard drive of similar size (or larger)
then work on the cloned disk
.
A hard disk costs a lot less than a data recovery company
The above Linus live cds include cloning software.

But you need some one who knows what they are doing.
If an expert is experienced with other equivalent cloning & recovery software that is OK

diskpart is a powerfull but dangerous product in the hands of some one who does not know what they are doing
you have to understand about hard disks, partitions and MBR & GPT type partitions

(GPT partition only required for bootable hard drives exceeding 2TB and then requires a 64 bit version of Vista or 7 , 8 or 10)
(You could have told Windows 8.1 install to format and install on any partition of suitable size if the hard drive does not exceeding 2TB)

regards
Mike Barnes
 

1mran5haik

Reputable
Mar 22, 2015
4
0
4,510


Thanks for the solution, I ran testdisk using gparted live. in both quick analyze and deep search I can see the all lost partitions but when i select any one of them, I don't see the write option. I only see "quit" or "deeper search". I ran deeper search and still see only partitions, can do nothing when i select them, just "quit" Any ideas?

Please advice