Page 1 of 1

Formatted hard drive problem during windows installation

Posted: 27 Jul 2018, 07:44
by Labib376
Hello,I was trying to reinstall my windows.during installation,I accidently formatted my data using disk clean.then it made an unallocated device but I seperated them with different partition and installed my windows. A good thing is, I haven't overwritten any file

So,is it possible to recover my files?please reply. I am almost dying

Re: Formatted hard drive problem during windows installation

Posted: 27 Jul 2018, 08:23
by cgrenier
How do you know if you have overwritten data or not ?
How many partitions had your harddisk before the diskclean ?
If you disk had a single partition or if you created a partition bigger than the old partition that was holding your data, run PhotoRec, enable the expert mode in Options, start a recovery on the whole disk, use a blocksize of 512 bytes, use the default options otherwise.
If it's not the case, use testdisk to recover your old partition as described in https://www.cgsecurity.org/testdisk.pdf

Re: Formatted hard drive problem during windows installation

Posted: 27 Jul 2018, 16:58
by Labib376
You are true bro.I had 4 partition before but now I have created 5 partition accidently.
As I have done that, Is there a Possibility to retrieve my formatted data?

Re: Formatted hard drive problem during windows installation

Posted: 28 Jul 2018, 18:05
by cgrenier
I hope that not too much data have been lost due to formatting the various partitions.
Try TestDisk, Analyse, Quick earch, Deep Search, for each partition found, use 'p' to list its files.
If it's a partition you want to recover, use the arrow keys to switch it to P(rimary) or L(ogical).
On next screen, choose Write, confirm, Quit and restart your computer.