Commands · Utility

UtilityWindows

Optimize Drives

dfrgui

The graphical utility for defragmenting traditional hard drives and running TRIM on SSDs — Windows calls it "Optimize Drives" in the UI.

// EXAMPLE

Running "Optimize" on an SSD triggers a TRIM pass rather than a defrag, since fragmentation isn't a performance issue on flash storage.

// GOTCHA

Manually defragmenting an SSD is unnecessary and adds pointless write wear — modern Windows already recognizes SSDs and substitutes TRIM automatically, so there's no need to "defrag" them the way you would an HDD.

// RELATED COMMANDS