General discussion
September 15, 2004 at 10:21 AM
peter.berger@genexsrvcs

Command line defrag of Win2K server?

by peter.berger@genexsrvcs . Updated 22 years, 1 month ago

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.

This discussion is locked

All Comments