Defrag

Defrag Options & Command line switches in Windows 10

Defrag Options & Command line switches in Windows 10

The Disk Defragmenter in Windows 10/8/7 offers some additional options compared to that in Windows Vista. Its command-line version has some additional switches, which are rather useful.

Defrag Command line switches

To begin, open an elevated command prompt window.

Type Defrag /? and hit Enter. This will show you all the defragmentation options and command-line switches.

Here is the list of Defrag switches:

Value   Description

/A      Perform analysis on the specified volumes.

/C      Perform the operation on all volumes.

/D      Perform traditional defrag (this is the default).

/E      Perform the operation on all volumes except those specified.

/H      Run the operation at normal priority (default is low).

/K      Perform slab consolidation on the specified volumes.

/L      Perform retrim on the specified volumes.

/M      Run the operation on each volume in parallel in the background.

/O      Perform the proper optimization for each media type.

/T      Track an operation already in progress on the specified volume.

/U      Print the progress of the operation on the screen.

/V      Print verbose output containing the fragmentation statistics.

/X      Perform free space consolidation on the specified volumes.

So, if you open cmd and type in “defrag /C /H /M” it will run defrag on all volumes, at a higher priority, in parallel.

You might also want to check out some of the best free defragmentation software for Windows.

Top 10 Games to Play on Ubuntu
Windows platform has been one of the dominating platforms for gaming because of the huge percentage of games that are developing today to natively sup...
5 найкращих аркадних ігор для Linux
В наш час комп’ютери - це серйозні машини, що використовуються для ігор. Якщо ви не можете отримати новий високий бал, ви зрозумієте, що я маю на уваз...
Битва за Веснот 1.13.6 Розробка випущена
Битва за Веснот 1.13.6, випущений минулого місяця, є шостим випуском розробки в 1.13.x, і це забезпечує низку вдосконалень, особливо до інтерфейсу кор...