I accidentally deleted a partition on my external hard drive while trying to reorganize some files, and now I can’t access important photos and documents stored on it. I’m looking for the safest way to recover the deleted partition without risking more data loss. Any advice on recovery steps or trusted tools would really help.
I did this once in Disk Management and nuked the wrong partition. Thought I’d wiped years of stuff. Turned out the files were still sitting there. What got removed first was the partition entry, not the data itself. If nothing new has been written over that part of the drive, your odds are still decent.
First step, stop touching the drive.
Do not make a new partition. Do not format the unallocated space. Do not copy files onto it. Every write lowers your chances.
Before you assume the partition is gone, check Disk Management and look at the disk state.
- If the partition still shows up and it only lost its drive letter, assign one again. I’ve seen the volume pop back up right after that.
- If the area shows as Unallocated, treat it like a deleted partition. Get the data off first, fix structure later.
Recover the files first
I’d do file recovery before trying to rebuild the partition table. Safer path. Less regret if a repair attempt goes sideways.
I used Disk Drill for this. What stood out for me was it didn’t dump a pile of random raw files and call it a day. It found the deleted partition as a partition, with folder layout and filenames still there in many cases. On Windows, it handles the usual stuff like NTFS, FAT32, exFAT, and ReFS.
Here’s the clean way to do it.
- Install Disk Drill on a different physical drive. Not the damaged one.
- Open it and pick the full physical disk where the deleted partition used to live.
- Start a Scan.
- Wait it out. If the old partition is detected, it often shows as its own item in the results.
- Preview your key files first. I always test documents and a few photos before I trust any recovery result.
- Select the folders or files you need.
- Recover them to another drive. Don’t write them back to the same disk.
- Open some recovered files and make sure they’re good before doing anything else.
If the drive was already flaky, random disconnects, odd sounds, SMART warnings, I wouldn’t keep hammering it with scans. I’d make an image first, then scan the image. I learned this one the hard way on an old laptop HDD. Second scan made the drive worse, not better.
Try restoring the partition after your files are safe
Once your important data is off, then I’d mess with partition repair.
TestDisk is still one of the better free tools for this. It’s old-school and text-based. Not pretty. Not friendly. Still useful. If the partition table hasn’t been overwritten too much, it often finds the missing entry and writes it back.
The flow is usually like this.
- Download and extract TestDisk.
- Run testdisk_win.
- Create a new log.
- Select the physical disk with the deleted partition.
- Accept the detected partition table type.
- Pick Analyse.
- Run Quick Search.
- If your missing partition appears, highlight it.
- If nothing useful shows up, run Deeper Search.
- Choose Write to save the recovered partition table.
- Confirm, then restart Windows.
If it works, the partition comes back and your files are still there like nothing happend. Still, I wouldn’t poke around in TestDisk first if your data matters. It gives you enough low-level options to make a bad day worse.
One more thing. SSDs are rougher for recovery because of TRIM. A deleted partition on an SSD is more time-sensitive. TRIM does not always hit instantly after deletion, but if the SSD stays in use, internal cleanup can wipe blocks behind the scenes. So yeah, stop using the drive fast.
If neither Disk Drill nor TestDisk brings the partition back, but your files were recovered, I wouldn’t obsess over restoring the old layout. At that point, make a new partition in Disk Management, do a quick format, and copy your recovered files back.
Stop using the drive. That part from @mikeappsreviewer is dead on.
My only small disagreement is I would check the drive’s health before throwing long scans at it. If the external HDD is dropping off, clicking, or freezing Explorer, scan time hurts you. Pull SMART with CrystalDiskInfo or smartctl. If health looks bad, clone the disk first with ddrescue, then work from the clone. Slow, but safer.
For partition recovery, I’d split it like this:
- If you need the files fast, use Disk Drill and recover data to a different drive.
- If you want the old partition back intact, try a partition-focused tool like DMDE or R-Studio after you secure the files.
DMDE is worth a look because it shows partition structures and directory trees clearly. Less hand-holding than Disk Drill, more control. Better if you know what partition size and filesystem used to be there. R-Studio is strong too, esp for damaged file systems.
A quick triage:
- Unallocated space, deleted partition likely.
- RAW partition, file system got damaged.
- No spin, disconnects, weird noise, hardware issue first.
Also, if this is an SSD in an external enclosure, move fast. TRIM makes old data vanish sooner.
For a simple Windows recovery walkthrough, this is decent:
watch how to recover deleted files and partitions on Windows
After recovery, wipe the disk, repartition, full test it. If SMART is bad, retire it. External drives love to fail right after you start trustng them again.
If the partition was only deleted and not reformatted, I’d actually avoid trying to “fix” the partition table first, even though @mikeappsreviewer and @vrijheidsvogel covered that angle pretty well. Getting the old partition to mount again is nice in theory, but if the filesystem has even minor damage, Windows can turn into that annoying “you need to format this drive” clown show real fast.
What I’d do instead:
- Plug it in and leave it alone
- Check if the drive is physically healthy
- Make a byte-for-byte image of the whole external drive if you have enough space
- Recover from the image, not the original
That’s the safest route, esp if those photos matter.
If you want the least stressful option, Disk Drill is probly the easiest for scanning a deleted partition and pulling files out with folder structure intact. I’d still prefer recovering data to another disk first, then worrying about rebuilding anything later. If the drive starts disconnecting, slows to a crawl, or makes weird noises, stop immediately. That’s not a software problem anymore.
One thing I dont totally agree with in these threads generally: people jump to TestDisk like it’s magic. It’s powerful, sure, but one wrong write and now you’ve upgraded your bad day.
If you want to compare options before touching the disk, this is useful:
best data recovery software for recovering deleted partitions and lost files
Also, if this external is secretly an SSD inside an enclosure, move fast. TRIM can make recovery way uglier than on a normal HDD.
I’m with @vrijheidsvogel, @codecrafter, and @mikeappsreviewer on the big rule: don’t write anything to that external drive.
Where I differ a bit is this: if the deleted partition contained especially important photos and docs, I would not rush straight into partition repair at all. Recover the contents first, then decide whether the old layout is worth saving. Partition repair is neat when it works, but it can also give you a mountable volume with hidden filesystem damage that shows up later.
A couple of things people forget to check:
- Try the drive on another USB cable and another port first
- Look in Device Manager and Disk Management to see whether the full capacity is detected correctly
- If the enclosure is acting weird, the disk inside may be fine and the USB bridge may be the real problem
If the drive is stable, Disk Drill is a reasonable choice for file-first recovery because it tends to present deleted partitions clearly instead of making you dig through a mess of raw results.
Disk Drill pros:
- Easy to use
- Good preview support
- Often keeps folders and filenames
- Good for non-experts
Disk Drill cons:
- Deep scans can take a long time
- Not the cheapest option
- Less low-level control than tools like DMDE or R-Studio
- On a failing drive, any scanner can stress the hardware
My take: if the disk is healthy and you just need the files back with minimal drama, use Disk Drill and recover to another drive. If the disk acts unstable, stop and image or clone it before more experiments. That’s the point where software choices matter less than preserving what’s left.


