1. Highlight your hosts in the grid and select Actions > Execute remote process/command > Create/modify remote command 3 (logged output)
2. In the command window type the defrag command that you want, such as: defrag c: -v and then click OK.
3. With the same hosts still highlighted, select Actions > Task scheduler > Create/modify scheduled task
4. From the task drop-down list in the scheduler window, select Execute remote command 3 (logged output), and then select the run time and recurrence options that you would like. Then click OK.
5. The last thing you need to do is enable the scheduler. Click on the small clock image in the upper right corner of the BatchPatch window to enable the schedule.