[Windows 7] Recover an accidentally formatted partition

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Post Reply
Posts: 1
Joined: 02 Mar 2020, 21:59

[Windows 7] Recover an accidentally formatted partition

#1 Post by DarkSwan »


i have an hard disk that has a partition with a Windows 7 installation (a NTFS partition) that was formatted and i need to recover it. This hard disk has not be used after the format and i hope to recover the lost partition :)

I’ve created an image with ddrescue to avoid any other wearing on it and i’m using that image to experiment with testdisk.

Here is after a deep scan:


I suspect that the partition i want to recover is the third one (because the second one has no file in it, listed with P option).


The problem is that using the P option "List files" show me this error.


I am missing something, are there any other steps?

Thanks for all the help!

Sponsored links

User avatar
Site Admin
Posts: 5289
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France

Re: [Windows 7] Recover an accidentally formatted partition

#2 Post by cgrenier »

Do you have deleted and recreated an NTFS partition ? Or do you reformat the partition ?
If you have reformated the partition, the partition table is unchanged, so use PhotoRec to recover your data.
Be careful to store the files on another disk to avoid overwriting the lost data.
Unfortunately it will not recover the original filenames.

Post Reply