I am looking at the command line options for defrag.exe as well as the "ScheduledDefrag" task on Windows Server 2012, and I don't understand some of the arguments. In particular, when I view
defrag /? I see:
/D Perform traditional defrag (this is the default). /L Perform retrim on the specified volumes.
What would a "non-traditional" defrag consist of? What is a retrim?
Also, under the scheduled task, the command line is
%windir%\system32\defrag.exe -c -h -k -$
I see that
-c means "all volumes,"
-h means "normal priority,"
-k means "slab consolidation," and apparently,
-$ means "defrag.exe is being called from the task scheduler."