T
TestDisk
Features Guides FAQ Trust & Security Download
English Русский 中文 العربية Español
Home Features Guides FAQ Trust & Security Download

Powerful Data Recovery Features

From partition table repair to file undelete, TestDisk provides a comprehensive suite of tools for disk recovery.

Partition Table Recovery Interface
Core Functionality

Partition Table Repair & Recovery

TestDisk is specialized in recovering lost partitions. It scans your hard drive for partition headers and rebuilds the partition table based on what it finds. This is essential when a partition has been deleted accidentally or the partition table has been corrupted by a virus or software error.

  • Fix partition table errors
  • Recover deleted partitions
  • Support for FAT, NTFS, exFAT, ext2/3/4, HFS+
View Recovery Guide →
Boot Sector Rebuilding
System Repair

Boot Sector Rebuilding

When a disk becomes non-bootable due to a corrupted boot sector, TestDisk can rebuild it. It supports rebuilding NTFS boot sectors from its backup or from scratch, and can restore FAT32 boot sectors from their backup.

FAT12/16/32

Rebuild boot sector and recover from backup.

NTFS

Rebuild boot sector and fix MFT using MFT mirror.

See How It Works →
File Undelete
Data Restoration

File Undelete & Extraction

Beyond partition recovery, TestDisk can undelete files from FAT, exFAT, NTFS, and ext2 filesystems. It also allows you to browse files on deleted partitions and copy them to another disk, even if the partition hasn't been restored yet.

This is crucial for forensic analysis or when you just need to recover specific important documents from a damaged drive.

Learn File Recovery →

Command-Line Efficiency & Portability

TestDisk runs via a Command-Line Interface (CLI). This design choice ensures maximum compatibility, allowing it to run on servers without a graphical interface, or from a DOS boot disk when the operating system fails to load.

Windows Linux macOS DOS FreeBSD
Download Portable Version
CLI Interface

TestDisk in Action

See the powerful command-line interface that professionals trust.

testdisk_win.exe — 80x24
TestDisk Screenshot
Click to Expand
Fullscreen Screenshot

Technical Commands

System areas TestDisk can repair and related commands for reference. TestDisk does not modify the Windows Registry.

Windows Boot Repair

Bootrec
bootrec /FixBoot
bootrec /FixMbr
bootrec /RebuildBcd

Linux MBR Backup/Restore

dd
sudo dd if=/dev/sda of=~/mbr_backup.bin bs=512 count=1
sudo dd if=~/mbr_backup.bin of=/dev/sda bs=512 count=1

TestDisk/PhotoRec Logs

CLI
testdisk /log
photorec /log

Windows Registry

Keys
None
T
TestDisk

TestDisk & PhotoRec are open source data recovery utilities licensed under GNU General Public License (GPL v2+). Trusted by IT professionals worldwide.

Resources

  • Documentation
  • FAQ
  • Wiki

Legal

  • Trust & Security
  • Privacy Policy
  • Terms of Use

© 2024 TestDisk. All rights reserved.