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

I have a 1TB drive that initially was partitioned by windows with the 1st 1MB of space being system reserved and the rest of the hard drive used as storage. I went in attempting to delete the system reserved space as this is a secondary storage device, not the hard drive containing my OS. Needless to say, when I went to extend the partition to use the whole device my partition layout messed up and now I am unable to access any of the files on the hard drive. They should all still be there, I did not do a format, and even then that doesn't delete the actual data at first. I have been trying to recover the initial partition layout for a couple of days now with no luck. Using the testdisk tool, it was looking good at first as it recognized the partition I'm interested in (HDD1). But after the scanning finished, it proceeded to say that partition can't be recovered. I would appreciate any help anyone has to offer. Is there alternate more intense ways to try to rebuild the partition table and MFT? Or should I just give up and attempt to recover as much data off the drive as I can.

Thanks in advance,
Mat

Below is the log output from testdisk, the relevant info to that partition seems to be towards the end.

Do you use the TestDisk 64bit version?
Its only intended on systems lacking WOW64 as some features are missing!
In your case, it's recommended to use TestDisk 6.14WIP-32bit.

I went in attempting to delete the system reserved space as this is a secondary storage device, not the hard drive containing my OS.

It was not a good idea to touch this partition.
It's your boot partition, reserved for bitlocker and contains your windows start files.
It's a normal NTFS-partition without a drive letter.
This is on purpose in order that nobody is gonna touch it!

Currently your boot partition (system reserved) uses the whole space from your disk.If you write anything to the disk, you might overwrite underlying data and make them unrecoverable.

You should check it and press p to have a try to list your data.If you see an error message that your previous boot partition is damaged, please let me know!
If you were able to list your data, please confirm it at Write and confirm at Backup BS also to recover your boot sector.
To recover this partition it's intended that you get it back exactly to the same size as before.
So you'll have space for your second windows partition.
If you're sure about the previous start and size (100 MB) you can also resize your current system reserved partition using the windows disk management console!
Important is, that you have exactly the same values like your previous one or smaller, otherwise the start of your OS-partition wouldn't fit anymore!

Your OS-partition is another different case!
It ends about 100 MB beyond your disk limit.
To get it back, would be only a try and you must be a kind of tricky.
Before you go to have a try to recover your OS-partition, you should use the menu geometry to increase the size of your disk beyond the disk limit, so that your HDD1-partition would be displayed for recovery.
Please not, that you increase the size of your disk.
This space is only virtual.
Any access to, would cause read errors.
But this should be ignored, because the main thing is, that you get your partition accessible in TestDisk and windows.
Your system reserved partition should be already recovered to the previous size and functional, also bootable.
Confirm in TestDisk through until you see the menu Analyse.
Don't confirm at Analyse but geometry.
Change the value of Cylinder from 121601 to 121614.
Use Quick and in case Deeper Search to get your Partition HDD1 displayed.
Should look like this one;

HPFS - NTFS 12 223 20 121613 151 10 1953515520 [HDD1]

If TestDisk displays your partition for recovery please check it and press p to list your files.
I recommend that you copy/backup important files first using TestDisk.
At the bottom of the screen you'll find the commands.
Using your arrow keys, you can go into a folder or if you mark that 2 dots and press enter will change directories.
Standard path is your testdisk folder were testdisk will copy files to.
Please let me know, were you able to list your data and copy your important ones?

Next step would be another trick, to write the increased size to the partition table.
Your partition should appear in your disk management console, right click on it and choose decrease volume would be the trick, to have a try to get your partition smaller and make it accessible in windows.
But afterwards it's very important to set the disk size back to the physically size.
Please only diagnose your data partition and have a try to copy your data to another intact disk/partition.
Further information will follow.

Thanks for all the info. I have made some progress and just wanted to fill you in as to what I have done, so if others have this problem.

1) The partition below is the 100MB partition system reserved space windows initially created. First I copied all of the files from this to a temporary location just in case I corrupted them or lost them. Next I proceeded to restore this partition and selected "Backup BS" to correct the boot sector error. Restarted the computer and when Windows came back up the disk had the 100MB partition with the rest of the space unallocated.

2) Re-opened testdisk and checked to see if the (HDD1) partition was available, which at this time it was not. So I proceeded to change the geometry of the disk as you suggested, cylinders from 121601 to 161614, and analyzed the disk again. Guess what? I was able to select and view all of the files on that partition now!!!! Currently I am backing up all 300GB of data on that partition, once that is completed I will attempt to restore it back to its original state.

I can't thank you enough. This is a wonderful tool, and your advice has been much appreciated. Once I get the partition back or at least all of my data, I will respond back and close this thread.

I've made a little mistake!
Amount of cylinder should be 121614 and not 161614 (it's already edited in my post)!
But it's not something to be afraid of!
So I increased only your disk size more than necessary!
If you don't use Write, after copying your data and you're closing TestDisk, your disk size will be back to its physically size.

Just thought I would let you know that I have successfully recovered all my data. After adjusting the disk geometry I was able to access that deleted partition, backed up all of the data and wrote the new partition layout to the disk. After the reboot everything is back to normal.

I have a quick question though. When adjusting the geometry of the disk using TestDisk, is that only for the program's use?

When adjusting the geometry of the disk using TestDisk, is that only for the program's use?

It's just as long as you don't write the geometry at Write.
If you use Write in TestDisk you'll register the geometry in your partition table also.
If you changed the amount of your cylinders and wrote it to your partition table, then you should set it back to default 121601 using the menu Geometry and Write.