To set scheduled defragmentation up use Windows Task Scheduler:
Visit UltraDefrag Wiki for more information.