Scheduling defragmentation

  • Thread starter Thread starter Marshall D Abrams
  • Start date Start date
M

Marshall D Abrams

I would like to schedule defragmentation to run in the wee hours
weekly or monthly as experience indicates is necessary. I found a help
file at microsoft that explains the options on the defrag command.

I usually use WinCron to schedule events. I made an entry for defrag
and started it. I couldn't tell if defrag was running. I looked in
task manager and didn't see anything. I assumed there would be a
process named defrag.

Is there a reason why it would be better to use the Windows task
scheduler?
 
Hi,

See this from MVP Kelly:
http://www.kellys-korner-xp.com/xp_tweaks.htm
Click on Utilities, there is a tweak here to defrag all drives as a task.
This function is not natively supported.

--
Best of Luck,

Rick Rogers aka "Nutcase" MS-MVP - Win9x
Windows isn't rocket science! That's my other hobby!

Associate Expert - WinXP - Expert Zone
 
Since I "grew up" in DOS, I still use bat files. I successfully used
the following:

C:\lib\datetime > c:\bat\del_old.log
echo "starting defrag C: " >>c:\bat\defrag-c.log
C:\windows\system32\defrag c:\ -v >>c:\bat\defrag-c.log
echo "finished defrag" >> c:\bat\defrag-c.log
C:\lib\datetime >> c:\bat\defrag-c.log
 
Back
Top