Sometimes Windows partitions wind up with movable files/folders at the end of the partition, even when the partition is mostly empty. This makes it impossible to shrink the partition using Windows' Disk Management tool.

Is there a Windows 7 compatible gratis defragmentation tool that will move all files/folders to the beginning of the partition?

I tried the well-regarded UltraDefrag as well as the integrated Windows defragmentation tool. Both left many movable files at the end of the partition.

Note that I am not referring to moving swap files or hibernation files.

  • Have you asked on SuperUser what files could be blocking the defrag process? Jul 27, 2016 at 20:59
  • 1
    @ThomasWeller Interestingly, nothing is blocking the defrag. The files are defragmented, just not consolidated. Jul 27, 2016 at 22:13
  • This is comment because it does not run inside windows. gparted and/or parted magic offer a way to boot into a linux desktop. gparted can then shrink/resize any partition without the need to manually move files out of the way. Obviously if the file is not protected, you could just cut the file,and move it to another drive temporarily.
    – cybernard
    Aug 6, 2016 at 4:19
  • 1
    This makes it impossible to shrink the partition using Windows' Disk Management tool - which I stopped using long ago, in favour of the excellent, and free, partitionwizard.com/free-partition-manager.html which can shrink such a partition, no problem. Have you tried it? Sep 8, 2016 at 8:26
  • @Mawg Thanks. It's been on my list of tools to try, but I have not tried it yet. I don't see a portable version on their site. Do you know if they offer one? Sep 8, 2016 at 9:10


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.