This guide shows how to use TestDisk to recover a lost partition on Windows 10: official download, Analyse and Quick Search, Deeper Search, P key file check, and when to write the table. It also covers quick format and SSD TRIM limits, plus a data recovery software to recover your files when the risk is too high.
Yes. TestDisk can recover a partition when the partition table entry has been deleted or corrupted, and the underlying file system is still intact. On Windows 10/11, run testdisk_win.exe as administrator, select the physical disk, accept the detected partition table type, run Analyse and Quick Search (or Deeper Search), press P to confirm the file list, and choose Write only after the full layout checks out. If the file system itself is badly damaged, restoring the volume is unlikely; copying files off the disk is the safer goal.
This guide is based on the official TestDisk step-by-step documentation. It covers the exact scan sequence, the decision to write or not write a partition table, what changes after a quick format, and two fallbacks. Search results for a TestDisk recover partition download often include look-alike sites; the official CGSecurity download page is the source to use, and it provides checksum files for verifying the build.
There are two main reasons for a lost partition in Windows 110/11:
Deleting a partition in Windows Setup or Disk Management removes its entry from MBR or GPT; the data blocks usually remain until something writes over them. Windows then reports the space as Unallocated. Malware, power loss during a resize, or an interrupted update can corrupt the same structures.
A quick format rebuilds file-system metadata while leaving most data sectors in place. NTFS and FAT keep backup boot sectors, which is why the partition can sometimes be reassembled after an accidental format.
TestDisk is a free data recovery tool built to restore lost partitions and make non-booting disks bootable again when the problem stems from software faults, certain viruses, or human error. It can also be used to repair some filesystem errors.
So you can use TestDisk to recover files or partitions in the following situations:
TestDisk scans the disk for file-system signatures and backup metadata, then offers a corrected layout to write back.
A Deeper Search can sometimes reassemble a usable partition after an accidental format, and TestDisk can also repair a damaged boot sector through its Advanced menu. This is the scenario where TestDisk recover partition after format attempts have a realistic chance, provided nothing was written afterward.
1. Download the Windows build of TestDisk from the CGSecurity download page and check the published SHA-256 or SHA-512 hash when available.
2. Extract the archive to a healthy drive and run testdisk_win.exe from an administrator account; do not install anything on the affected disk.
3. Open DiskPart, run list disk, and record the target disk by number, model, and capacity so you can select the physical disk in TestDisk rather than a drive letter.
4. Stop all writes to the target: cancel format prompts, do not create a new volume, and keep the TestDisk log on the healthy drive.
1. Start TestDisk, choose Create to start a log file.
2. Then highlight the correct physical disk and select Proceed.
3. Accept the detected partition table type, or match it to your DiskPart result: Intel for MBR, EFI GPT for GPT.
4. Select Analyse to analyse the current partition structure and search for lost partitions.
5. Then choose Quick Search and wait for the result list to populate.
6. If the target partition is missing, choose Deeper Search. It looks for backup boot sectors and scans more of the disk, so it takes longer.
7. Highlight each candidate and press P to list its files. Look for familiar folder names and check that files open, then press Q to return.
8. Compare the candidate size and start and end sectors with the layout you remember. Reject entries that overlap or look like older copies.
1. Make sure every partition you need is listed, and its files can be browsed.
2. Use the left and right arrow keys to set the correct status, such as Primary or Logical, instead of leaving a needed entry marked Deleted. Then hit Enter to continue.
3. Select Write, confirm with Y, and accept the prompt to finish the write.
4. Quit TestDisk, restart Windows, and check Disk Management and File Explorer for the partition and its drive letter.
5. Copy readable files to a different physical disk before running CHKDSK or making any other repair.
If you can’t restore the partition using TestDisk, you can copy files only from the partition to keep them safe. Or you have to try another Windows data recovery software to restore your important files first.
1. Repeat the log, disk selection, and partition table type steps.
2. Choose Advanced.
3. Select the partition you want to read, and choose List. If the boot sector is the problem, choose Boot first and inspect its status.
3. Navigate with the arrow keys. Use the colon key to select files, A to select all, and C to copy the selection.
4. Choose a destination folder on a different physical disk and wait for the copy to finish.
If the text menus feel error-prone, a graphical tool can reduce the chance of choosing the wrong action. MyRecover is a Windows data recovery utility for deleted files, formatted drives, and inaccessible partitions; install it on a separate healthy drive.
Here is how to recover a partition in Windows 11/10 with MyRecover:
1. Launch MyRecover and choose Partition Recovery under Advanced Recovery, or Format Recovery if the volume was formatted.
2. Select the physical disk by model, capacity, and disk number, and hit Next.
3. Run Fast Search and click Next. Switch to Full Search if the partition is not listed.
4. Once scanned, compare the candidate file system, capacity, and start and end sectors, then tick the partitions you need, and click Proceed.
Can TestDisk recover a partition after a format?
Sometimes, after a quick format. The file-system index is rebuilt, but many data sectors remain, and backup boot sectors may let TestDisk reconstruct the volume. A full format or an SSD with TRIM greatly reduces the chance. Verify any candidate with the P key before you write.
What should I do when TestDisk says no partition found?
Check that you selected the whole physical disk and the correct table type, then run Deeper Search. Also check the cable or port on an external drive. If nothing appears, switch to file-level recovery instead of experimenting with writes. See this guide to fix the TestDisk no partition found error for additional checks.
Is TestDisk safe to use on a failing drive?
Not usually. A long scan stresses a drive with bad sectors or mechanical faults. If the data matters, make a sector-by-sector image first and run TestDisk against the image, or use a professional recovery service.
Can CHKDSK recover a deleted partition?
No. CHKDSK checks file-system errors on a volume Windows already recognizes; it does not rebuild a missing partition table entry. On a RAW volume, it typically reports that CHKDSK is not available for RAW drives.
Does TestDisk work on BitLocker-encrypted partitions?
It can restore the partition boundary, but it cannot decrypt the contents. You still need the recovery key or password. If the encryption metadata was overwritten, the restored partition may remain inaccessible.
How long does a Deeper Search take?
There is no fixed duration. It depends on disk capacity, file-system variety, and drive health. Plan for a long run on a large disk and do not interrupt it unless the drive reports read errors.
A successful TestDisk recover partition operation depends on three habits: verify the disk and table type before scanning, open the file list with the P key before writing anything, and copy data to another drive before running repairs. When verification fails, use the Advanced menu or a graphical recovery tool to save files instead of forcing a partition back into place.