I would like to schedule automatic/repeated hard drive defragments during Sunday mornings. In XP this is easy to do with defrag.exe. Unfortunatly I cannot seem to do so in Win2K Server. The command dfrgntfs.exe doesn’t run from the command line and dfrg.msc is GUI-based. I tried copying XP’s defrag.exe to Win2K but when I run it I get DLL errors.
Does anyone know of a free method to cron/schedule drive defrags from a command line/batch script?
Any help/411 would be great. Thanks in advance.