Discussion Locked

automatic defragmentation

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

sir!
i have a windows 2000 server i made a task of disk defragmentation from task manager that everyday on 3:50pm task run.task sucessefully run but its remain on window choose drive for defrag
sir i want that this task perform automatic defrag to all drive.
i am waiting your anserw
Thank you

4 replies

by johnnywatt

Create a batch file with these DOS commands:
defrag C: -f
Save the batch file as defrag.bat. Use Task Scheduler to execute this batch file at your designated time of the day.
Just as an FYI: Ensure all of your users are off the server when you perform server maintenance.

by mtaylor89

is there a way to log with defrags are ran? also is there a way to know if the bat file actually worked?

This discussion is closed to new replies.