How to Undelete a Removed File on a NTFS File System

This is the instruction to recover a deleted file on a NTFS partition mounted on Linux. For windows, there are commerical software you can use to do the undelete. But if you have a Linux partition installed on your computer, you can recover/undelete the file in the NTFS partition under Linux for free.

To recover a deleted file on a NTFS partition use ntfsundelete (yum install ntfsprogs). For example, to recover abc.xls. First check the file deleted within a day (assume you deleted the file today, then recover the file with inode specified(in this case 106).
# ntfsundelete /dev/sda5 -t 1d
Inode Flags %age Date Size Filename
---------------------------------------------------------------
106 FN.. 100% 2008-10-14 14848
4477 FN.. 100% 2008-10-14 14848

Files with potentially recoverable content: 2

#
ntfsundelete /dev/sda5 -u -i 106 -o abc.xls
Inode Flags %age Date Size Filename
---------------------------------------------------------------
106 FN.. 0% 2008-10-14 14848

Undeleted '(null)' successfully.


Also see instruction for undeleting a file on an ext3 file system.

4 comments:

Unknown said...

This Windows Data Recovery is an effective data recovery software to recover deleted data from windows. Using this tool you can quick recover deleted files, folder, image, video and many more. You can also recover missing or deleted or corrupt NTFS/FAT partition. The software support Windows 8.1, Windows 8 , MS Windows 98, 2000, 2003, XP, Vista and 7.

For latest windows data recovery software visit:- http://www.mannatsoftware.com/stellar-phoenix-windows-data-recovery.html

Unknown said...

Windows OS is mostly divided into two partitions namely FAT (File Allocation Table) and NTFS (New Technology File System). It can be divided into more than two partitions of either FAT or NTFS or both. So, in case of sudden deletion of files, logical error, virus intrusion, system crash, OS corruption, the partitions go missing, deleted.

Get more features about Software from:- http://ntfswindows.recoverdatatools.com

Unknown said...

Use Files Recovery Utility which provides a reliable platform for Windows users to easily recover lost, deleted, or inaccessible text files, image files, media files, emails, and other piece of valuable information from any Windows-based storage device and RAID servers. The software also recovers data from damaged optical media and supports wide range of CD / DVD / BD / HD DVD formats.

It can also easy recovers complete data from FAT32, VFAT, NTFS and NTFS5 based partitions and volumes.

See at: http://www.pcrecoveryutility.com/

Unknown said...

Try Windows data recovery tool, available at https://www.datarepairtools.com/windows-data-recovery.html to recover your deleted files from corrupted FAT and NTFS Windows partitions without any hassle. You can select the normal scan mode to undelete removed files from corrupted Windows NTFS partition. For more details about the software working process, visit https://www.datarepairtools.com/