How to reset an NTFS MFT for no tracks of deleted files names to be found there?

37,076

Solution 1

I've used the MFT wipe free space with CClean. (It does take forever, up to several days.)

Before running wipe, I could easily get a full list of previously deleted files with Recuva, despite the files being several years old and overwritten multiple times beyond recovery. This is because Recuva takes the list of files from MFT. https://www.piriform.com/docs/recuva/technical-information/how-recuva-works (Unless you run the deepscan, which actually goes through the disk, seeing what's in there. This also takes forever, however.)

After running MFT wipe free space with CClean, Recuva finds nothing. Not without deepscan anyways. Therefore, I'm fairly certain CClean also takes MFT into account whilst wiping.

Solution 2

First, check how many files Recuva reports that can be recovered. Say it is 1001.
Open a command window and create a temporary directory. Change to that directory.

MKDIR C:\TempReco
CD C:\TempReco

Create at least 1001 files in this directory using the command below with proper parameters.

FOR /L %i in (1,1,1001) do echo willdelete>file%i.tmp

When this completes, delete the files with either from command window or by locating with Windows Explorer. Then, empty the Recycle Bin.
When you check again with Recuva, it will only show filenames you have just deleted.

Solution 3

The Most Reliable way to do this is also the simplest

  1. copy your files to a second hard drive
  2. wipe the source drive using something like DBAN and reformat
  3. transfer the data back.

This has to be done with a file level copy utility like robocopy since using imaging software will copy the entire partition MFT and all.

Of course this is only practical for non system disks while it is theoretically possible to do this with a OS drive you need to ensure that your using a tool capable of copying hidden and system files along with the ACL's. You will also need to perform additional steps in the recovery console to rebuild the boot sector, MBR and BCD from scratch to ensure that the system will see the new partition as bootable. Its mostly a crap shoot and you would be better off just doing a clean reinstall of your OS

Solution 4

Short answer, it is not possible.

The MFT is a complex dynamic table file at the heart of the NTFS. To change one small part of it, corrupts the whole drive.

MS isn't telling how it is structured, and no one is going to risk putting out a application on a trial and error basis, that 'cleans' the file names, if there is any chance it will destroy the system.

(Oh yes, insert negative comments about MS exposing peoples data here.)

So depending on the pros and cons, you may want to restart with a fresh install, and then use less sensitive file names and use secure deletion at the recycling bin. Use TrueCrypt containers to keep files separate from programs. Perhaps FDE (Full Disk Encryption) is a option if it is that important.

To make things clear to others, it is not what Ccleaner and the others do, drive wiping the MTF and defragging it and all the rest doesn't clean the MFT names. They overwrite the file spaces in the MTF, but the names remain. It is the deletion of the FILE NAMES ONLY that the OP is asking about. (File names that can only be seen with specialized file recovery applications)

Solution 5

The free software "PriVazer" has an option to securely delete file names on MFT and it doesn`t take that long! Another free prog. is "MooO Anti recovery". This also has an option to securely erase old "deleted" file names.

Share:
37,076

Related videos on Youtube

Ivan
Author by

Ivan

Updated on September 17, 2022

Comments

  • Ivan
    Ivan almost 2 years

    When a file is deleted from the hard drive and the free space it used to occupy is securely overwritten (wiped), recovery tools can still usually find the file was there and show its name. As far as I understand this is because some data about old files is left in MFT area. How to eliminate this?

    • Ƭᴇcʜιᴇ007
      Ƭᴇcʜιᴇ007 over 13 years
    • Ivan
      Ivan over 13 years
      I've found CCleaner to offer "Wipe MFT Free Space" option, but haven't tested this yet... And I am pretty sceptical about it to help...
    • user1686
      user1686 over 13 years
      I believe that option will do exactly what you are looking for.
    • Chris
      Chris almost 4 years
      This BCwipe worked for me, I mentioned it here: superuser.com/a/1585146/470974
  • Burhan
    Burhan over 8 years
    In case Windows does not clean unused space when storing a new name in an MFT record, you may want to use a longer name in the 'file%i.tmp' template, like 'atleastfirst80charactersofdeletednamesshouldbecleared%i.tmp‌​'.
  • DavidPostill
    DavidPostill over 6 years
    Please read How do I recommend software for some tips as to how you should go about recommending software. You should provide at least a link, some additional information about the software itself, and how it can be used to solve the problem in the question.
  • colin lamarre
    colin lamarre over 5 years
    might wanna use something like winrar in Store mode to backup to a single file, that way when you delete backup you won't have inflated MFT.
  • Ray
    Ray almost 5 years
    Surely all you have to do is check out the free software I mentioned. Is that so difficult??
  • Ray
    Ray almost 5 years
    It is not that difficult to get this free software. "PriVazer" is an excellent programme!
  • zxcmehran
    zxcmehran over 2 years
    PrivaZer all the way! Easy and accurate.