Recently, I tried a simplistic and manual way of defragging. I boot into BartPE, then used the A43 file management tool to copy all files from my boot drive to a spare drive (copying file by file on a filesystem basis, not creating image). Then I formatted the original drive, then I copied back the pagefile.sys first so it resides on the outermost tracks of the drive, then I copied all other files back from the spare drive to the original drive. This basically defrags every single file and pile them neatly and contiguously on the drive. The resulting drive worked well. The only disadvantage is that the contents of the drive expanded in size by about 10%. I don't know what that's from. For some reason, there's some compression somewhere that's decompressed by this copying back and forth procedure.