The defragmentation tool that ships with Windows is pretty basic and does not offer features that are needed for instance if you have more than one partition or
hard drive. Some users would like to
defrag all of their hard drives at once while they go to work or sleep.
To do this you could use a simply
batch script which would run a script that starts defrag sequentially for every hard drive installed. The user running the script needs admin rights or use a shortcut to run the
batch file with admin rights.
I have four partitions with the drive letters C:, D:, E: and F: which means that the batch script will look like the following:
@echo off defrag.exe c: -f defrag.exe d: -f defrag.exe e: -f defrag.exe f: -f