Partition Recovery Software: Step-by-Step Guide
In this article
Partition recovery software scans a hard drive, SSD, or external storage device for lost or damaged partitions and attempts to restore them so you can access your files again. This guide walks you through the process of using such software safely, from choosing a tool to recovering your data. Before you start, stop using the affected drive immediately — any new writes can overwrite the data you're trying to recover. You'll also need a second storage device (like an external drive or USB stick) with enough free space to save the recovered files, because you should never recover files back onto the same drive they came from.
What You'll Need
- A computer with a working operating system (Windows or macOS) and an available USB port or internal bay.
- The affected drive (the one with the lost partition) — do not format or write to it.
- A second storage device with free space at least as large as the amount of data you expect to recover.
- Partition recovery software — free options include TestDisk (open-source, command-line) and MiniTool Partition Wizard Free; paid options like EaseUS Data Recovery Wizard or Stellar Data Recovery offer more automation.
- A stable power supply — if it's a laptop, keep it plugged in during the process.
Step-by-Step
- Stop using the affected drive. If the partition disappeared after a crash, power failure, or accidental deletion, do not install anything, open files, or run disk checks on that drive. Every write can overwrite the very sectors you need.
- Download and install the recovery software on a different drive. Install it on your system drive (C:) or another drive that is not the one you're recovering. If the affected drive is your system drive, you may need to boot from a live USB — TestDisk offers a bootable version, and some paid tools provide a bootable rescue disk.
- Connect the affected drive (if it's external). Use a direct USB connection (not a hub) or an internal SATA port. If the drive is internal and the OS doesn't see it, try connecting it to another computer or using a USB-to-SATA adapter.
- Launch the software and select the physical drive. In TestDisk, choose the drive (e.g., /dev/sdb on Linux or \\.\PhysicalDrive1 on Windows) — not the partition. In MiniTool, you'll see a list of disks; select the one with the missing partition.
- Choose the partition table type. Most modern PCs use GPT; older ones use MBR. The software usually detects this automatically. If you're unsure, let the software auto-detect.
- Run the analysis. In TestDisk, select "Analyse" then "Quick Search" first. In MiniTool, click "Partition Recovery" and follow the wizard. The scan will look for partition entries that are still in the drive's metadata but hidden or damaged.
- Review the found partitions. The software will list partitions it found, often with file system type (NTFS, FAT32, ext4, etc.) and size. Look for the one that matches your missing partition. In TestDisk, you can press P to list files inside a partition to verify it's the right one.
- If quick search doesn't find it, run a deeper scan. In TestDisk, go back and choose "Deeper Search" — this scans sector by sector and takes longer but finds more. In MiniTool, choose "Full Scan" or "Deep Scan".
- Select the correct partition and write the recovery. In TestDisk, highlight the partition and press Enter, then choose "Write" to save the partition table back to the disk. This restores the partition entry so the OS can see it again. In MiniTool, select the partition and click "Save" or "Apply" to write the changes.
- Reboot the computer. After writing the partition table, restart. The partition should now appear in File Explorer (Windows) or Finder (macOS) with your files intact.
- If the partition still doesn't show up, or if you want to be extra safe, use file recovery mode. Some tools (like EaseUS or Stellar) can scan the entire drive for files even if the partition structure is beyond repair. This is slower but can still recover files to another drive.
- Copy your recovered files to the separate storage device. Do not move them back to the original drive until you've verified everything works and you have a backup.
Common Mistakes
- Writing to the affected drive before recovery. Installing software, saving files, or even running a disk check can overwrite data.
- Recovering files to the same drive. This risks overwriting the very data you're trying to save. Always use a different physical drive.
- Choosing the wrong physical drive. If you have multiple drives, selecting the wrong one can cause data loss on a healthy drive. Double-check the drive letter, size, and model.
- Ignoring the partition table type. Selecting the wrong type (MBR vs GPT) can cause the software to misread the drive. Let the software auto-detect if possible.
- Quitting mid-scan. Deep scans can take hours. Interrupting them may leave the drive in an inconsistent state.
- Using the software after the drive has been formatted or repartitioned. If you've already created a new partition or formatted, recovery becomes much harder — stop immediately and seek professional help.
Tips
- Before doing anything, make a sector-by-sector backup of the affected drive using a tool like Clonezilla or dd (Linux/macOS) — this gives you a second chance if something goes wrong.
- If the drive is making clicking or grinding noises, do not run recovery software — power it off and consult a data recovery professional. Software can't fix physical damage.
- Use a read-only connection if possible. Some tools offer a "read-only" mode that prevents any writes to the source drive.
- For TestDisk, read the on-screen help — it's text-based but well-documented. Press Q to quit at any time without saving changes.
- If you're not comfortable with command-line tools, start with a GUI tool like MiniTool Partition Wizard Free — it's simpler and less error-prone for beginners.
- After recovery, immediately back up the recovered files to at least two locations, and consider replacing the drive if it's old or failing.
Troubleshooting
- The software doesn't detect the drive. Check the physical connection — try a different USB port, cable, or adapter. If it's an internal drive, ensure it's properly seated. In Windows, open Disk Management (right-click Start > Disk Management) to see if the drive appears there. If it shows as "Unallocated", the partition table is missing — that's what recovery software fixes.
- The scan finds a partition but the files look corrupted. This can happen if the partition table was partially overwritten. Try a deeper scan, or use a file recovery tool that scans for known file signatures (like PhotoRec, which comes with TestDisk).
- After writing the partition table, the drive still shows as RAW or unallocated. This means the partition entry was restored but the file system is damaged. Use a tool like
chkdsk(Windows) orfsck(Linux/macOS) to repair the file system — but only after you've backed up the data, because these tools can make things worse. - The recovery software crashes or freezes. Close other programs, ensure you have enough RAM, and try running it as administrator (Windows) or with sudo (macOS/Linux). If it keeps crashing, try a different tool.
- You accidentally wrote the wrong partition table. If you have a backup image, restore it. If not, immediately stop using the drive and run the recovery again — the original data may still be there, but every write reduces the chance.
- The drive is not recognized by the BIOS/UEFI. This indicates a hardware issue. Try the drive on another computer. If it still isn't detected, it may be dead — professional recovery is the only option.
Frequently Asked Questions
Can I recover a partition that was deleted by accident?
Yes, if the partition was deleted but not overwritten, recovery software can often restore the partition entry and make it accessible again. The sooner you act, the better.
Is free partition recovery software safe?
Reputable free tools like TestDisk and MiniTool Partition Wizard Free are safe if used correctly. Always download from the official website, and never write changes until you're sure you've selected the right partition.
How long does a deep scan take?
It depends on the drive size and speed. A 1TB HDD can take several hours; an SSD is faster. A quick scan usually takes minutes. Patience is key — don't interrupt it.
Can I recover files from a formatted partition?
Yes, but it's harder. Formatting overwrites the file system structure, but many files may still be recoverable with a deep scan. However, if the drive was formatted with a different file system (e.g., NTFS to FAT32), recovery is less likely.
Will partition recovery software work on an SSD?
Yes, but SSDs use TRIM, which permanently erases data blocks. If TRIM ran after the partition was lost, recovery may be impossible. Act quickly and avoid writing to the SSD.
What if the partition contains my operating system?
You can still recover it, but you'll need to boot from a live USB (like a Linux live disc) or use a bootable version of the recovery software. Recovering the partition may restore the OS, but you should still back up your data first.