ultradefrag.sourceforge.net
The UltraDefrag Handbook  5.0.0
Scheduled Defragmentation

The completely automatic disk defragmentation can be easily set through standard Windows Task Scheduler.

I'm using the following scheduled tasks personally on my system:

  • Every 30 minutes:
     cmd.exe /C "set UD_IN_FILTER="%APPDATA%\Mozilla" && udefrag %APPDATA%"
    
  • Every day:
     cmd.exe /C "set UD_IN_FILTER="%APPDATA%\Google\GoogleEarth" && udefrag %APPDATA%"
    
  • Every week:
     cmd.exe /C "set UD_IN_FILTER="%often_accessed_folders%" && udefrag --wait --all-fixed"
    
  • Every two months:
     cmd.exe /C "set UD_EX_FILTER="system volume information;temp;recycle;.zip;.7z;.rar" && set UD_SIZELIMIT=100M && udefrag --wait --all-fixed"
    

This scheme runs automatically and saves a lot of my time, because I have no need to start defragmenter manually anymore.

The variable often_accessed_folders is just a placeholder. It must be created by yourself or replaced by a list of folders. Example: documents;pictures;music

Visit ultradefrag.wikispaces.com for tutorials and more examples.


Previous: Console Interface Next: Graphical Interface