Recover Data from Lost Partition in Windows
In this article
If a partition disappears in Windows, the data is usually still there—the partition table entry is just missing or corrupted. You can often recover it with a free tool like TestDisk or a paid one like EaseUS Data Recovery Wizard. The key is to stop using the drive immediately to avoid overwriting data, then scan and restore the partition or extract files directly.
What You'll Need
- A Windows PC (Windows 10 or 11 recommended, but works on older versions)
- The drive with the lost partition (internal or external)
- A second working drive or USB stick to save recovered files to (do not save to the same drive)
- Free software: TestDisk (open-source, command-line) or a trial of a GUI tool like EaseUS Data Recovery Wizard or MiniTool Partition Wizard
- Administrator access on your Windows account
Step-by-Step
- Stop using the drive immediately. Do not create new files, install software, or run disk repair tools on the drive. Any write operation can overwrite the data you're trying to recover.
- Check if the partition is just hidden or unassigned. Right-click the Start button and select Disk Management. Look for the drive in the lower pane. If it shows as "Unallocated" or has no drive letter, the partition table is likely damaged. If it shows as "Healthy" but without a letter, right-click it and choose "Change Drive Letter and Paths" to assign a letter—this may fix it instantly.
- Download and run TestDisk. Go to the official TestDisk website (cgsecurity.org), download the Windows version, and extract the ZIP. Right-click the
testdisk_win.exefile and select "Run as administrator." - Create a log file. When TestDisk asks, choose "Create" to generate a log. This helps if you need to retry or seek support.
- Select the physical disk. TestDisk will list physical drives (not partitions). Choose the one that contains the lost partition—be careful to select the correct disk, as selecting the wrong one can cause further damage. Use the arrow keys and press Enter.
- Choose the partition table type. TestDisk will suggest a type (usually "Intel" for MBR or "EFI GPT" for UEFI systems). Accept the default unless you know it's different.
- Select "Analyse". This scans the disk for lost partitions. Press Enter on "Analyse" and then on "Quick Search."
- Wait for the scan. Quick Search may take a few minutes to a few hours depending on drive size. When it finishes, it will list found partitions. If you see your lost partition, press Enter to select it.
- Write the partition table. If the partition is found and looks correct, press Enter on "Write" to save the restored partition table to the disk. Confirm when prompted, then exit TestDisk and restart your PC.
- If Quick Search fails, try Deeper Search. In the Analyse menu, choose "Deeper Search" to scan more thoroughly. This takes longer but can find partitions that Quick Search missed.
- If the partition still won't restore, extract files directly. Use a GUI tool like EaseUS Data Recovery Wizard or MiniTool Partition Wizard. Install it on a different drive, launch it, select the disk (not the partition), and run a scan. The tool will list recoverable files; select the ones you need and save them to a different drive.
Common Mistakes
- Continuing to use the drive. Even opening files or running a virus scan can write to the drive and overwrite lost data.
- Choosing the wrong disk in TestDisk. If you select the system drive instead of the data drive, you can corrupt your Windows installation.
- Saving recovered files to the same drive. This overwrites the very data you're trying to recover. Always save to a different physical drive.
- Running CHKDSK on the drive. CHKDSK can modify the file system and make recovery harder. Avoid it until you've tried recovery tools.
- Ignoring the "Unallocated" warning. If Disk Management shows "Unallocated," do not create a new partition or format it—that will destroy the data.
Tips
- Use a live Linux USB with TestDisk if Windows won't boot—you can download a Linux ISO and boot from it without installing.
- If you have a backup, restore from that first; it's faster and safer than any recovery tool.
- For external drives, use a USB 3.0 port and a stable power supply to avoid disconnects during scanning.
- Take a disk image (using a tool like Clonezilla or the free version of Macrium Reflect) before attempting recovery if the drive is valuable—this gives you a safe copy to work on.
- Write down the exact model and capacity of the drive; it helps identify the correct disk in TestDisk.
Troubleshooting
TestDisk doesn't find the partition. Try Deeper Search. If it still finds nothing, the partition table may be severely damaged. In that case, use a file recovery tool like PhotoRec (from the same site as TestDisk) to scan for files by signature, ignoring the partition structure entirely.
TestDisk writes the partition but Windows still doesn't show it. Restart your PC. If it still doesn't appear, open Disk Management and check if the partition is there but without a letter. Assign a drive letter manually.
Recovered files are corrupted or won't open. This happens if the partition table was written incorrectly or if the file system was damaged. Try a different recovery tool, or use PhotoRec to recover files by type (e.g., photos, documents) instead of by folder structure.
The drive is making clicking sounds or is not detected at all. Stop immediately. This could be a hardware failure. Do not run software tools; instead, consult a professional data recovery service, as further attempts may cause permanent data loss.
Frequently Asked Questions
Can I recover a lost partition without software?
If the partition is only missing a drive letter, yes—assign one in Disk Management. If it's unallocated, you'll need third-party software; Windows has no built-in tool to restore a lost partition.
Is TestDisk safe to use?
Yes, it's a well-known open-source tool. However, it's powerful and can cause data loss if misused. Always select the correct disk and follow the instructions carefully. Back up your data first if possible.
How long does recovery take?
It depends on drive size and scan type. Quick Search can take 10 minutes to an hour for a 1TB drive; Deeper Search can take several hours. File recovery scans can also take hours.
Will recovery work on an SSD?
Yes, but SSDs have a TRIM feature that may permanently erase deleted data. If the partition was lost recently and the drive is not heavily used, recovery is possible, but success is less guaranteed than on a traditional hard drive.
What if I accidentally formatted the partition?
Formatting doesn't immediately erase data—it just marks the space as available. Stop using the drive and use a recovery tool like TestDisk or EaseUS to scan for lost files. Success is high if you act quickly.
Can I recover data from a partition that was deleted by Windows Update?
Yes, if the partition was not overwritten. Use TestDisk to search for the lost partition and restore it. If that fails, use a file recovery tool to extract files directly.