Windows XP - Force the defragmentation of a disk drive

If you have less than 15% free disk space, then Windows XP will not allow the defragmentation of your hard drive.
  • But you can bypass this limitation, here's how:
  • Start > Run > type "cmd" and press Enter
  • In the command prompt type defrag x:-f and press Enter key.
  • Defragmentation shall begin.
    • Note that : replace x by the letter corresponding to the hard drive/ partition you want to defrag.
Published by jak58. Latest update on April 1, 2011 at 06:00 AM by jak58.
This document, titled "Windows XP - Force the defragmentation of a disk drive," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (
Windows XP - Bypass activation after a recovery or reinstalltion
Windows XP - Command Prompt disabled by the administrator