TestDisk is a free data recovery software. You can download the software on the operating systems such as DOS, Windows, Linux, FreeBSD, NetBSD, and MacOS X. TestDisk must be executed with Administrator credentials. You should use the arrow, page up and page down keys to navigate in the TestDisk. After the selection, press the Enter key to confirm to know How to Recover Lost Data with TestDisk. If you want to return to the previous display or quit, use the q(quit) Key. TestDisk will recover the lost files for various file systems including FAT, NTFS, exFAT, ext2, etc. If you have deleted the file name, then the file will be marked as deleted and the data area as free. Even after the deletion, you can read the deleted directory and find the file. Go to the folder in which your old files were saved. Now the deleted files and directories will be displayed in red. Select a partition and choose Undelete. To recover Lost NTFS files, choose the file that you want to recover and press the ‘C’ key along with the Ctrl key to copy the file. You should select the location for the recovered files to be written. Now the NTFS file recovery is complete. If the lost file is still missing, you can try the other file recovery methods.
Test Disk will fail when issues occur during the process for How to Recover Lost Data. The common fails caused in TestDisk are mentioned below.