Defragmenting your MFT file The Master File Table (MFT) contains information about all your hard diskss files and folders: When was a file created? When was it changed? How big is it? Where can the read/write head find it? After millions of file operations this table can become corrupted by a certain degree of fragmentation. You can optimize access times and prevent data corruption with this useful tip: 1. Hit Windows-key+R simultaneously and enter cmd.  2. Type in md MFT-folder and md MFT-files (without quotation marks) confirm both commands with Enter. They will create 2 directories called MFT-folder and MFT-files. The following commands will create 5.000 folders and 50.000 empty files which will cause the MFT to resize dynamically and thus prevents MFT-fragmentation. Type each command and confirm with Enter: cd MFT-folder FOR /L %f in (1,1,5000) do md %f (the execution of this command will take some time) cd.. cd MFT-files FOR /L %f in (1,1,50000) do echo Creating files >% f (the execution of this command will take some time) exit 
3. After this operation, the MFT will be extended and offers new space for thousands of files and folders without becoming fragmented. You may now safely erase both folders MFT-Files and MFT-Folders (which may take some time). |