A longer text file was overwritten with a shorter one with the same name. I need to restore the previous longer version. The file system is NTFS. Almost nothing was neither written nor removed from the disk after I've noticed the problem.
I need a tool to gain binary/hex access to the disk, locate the existent version and trace the data going further (the previous longer text segment). The disk is not much fragmented.
Any suggestions. Any Linux, Windows or DOS tools would be acceptable.


As long as you know file systems and you can deal with a forensic level software, I can recommend AccessData TFK Imager Lite.

  • It is free
  • It works on Windows
  • It is a tool for data recovery/forensics
  • It displays your disk as Hex data
  • no limitations other than it's an older version


  • not very easy to use
  • you'd better know what you're doing

Ideally you create an image of the disk and then do the recovery operations on that image, so nothing can overwrite the file in the meanwhile.

Just a hint for your case: very small files might be stored in the MFT completely. That way it may happen that the complete file content is still available. However, it may be hard to find the file because the MFT entry has been reused.

Recommended reading: Windows Internals book, the chapter about NTFS.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.