No announcement yet.

How to schedule Disk Defragmenter work automatically ?

  • Filter
  • Time
  • Show
Clear All
new posts

  • How to schedule Disk Defragmenter work automatically ?

    Hello ,

    I am running a web server , all the web site are in dedicated HD (hard disk)

    I would like to schedule a task of Disk Defragmenter ,
    so every day in a specific time which I will choose it the Disk Defragmenter will work automatically

    how to do this ?
    someone maybe know it ?

    thanks to all who help in this forum
    The rules DO apply to me.

  • #2

    1. Open Control Panel, click Performance and Maintenance, and then click Scheduled Tasks.

    2. Double click Add Scheduled Task to open the Scheduled Task Wizard, and then click Next.

    3. Click Browse, navigate to the %systemroot%\system32 folder, select defrag.exe, and click Open.

    4. Use the wizard to set a schedule for when to run the defragmentation program, and be sure to supply a password for the account on which you want the task to run.

    5. Check the box for Open advanced properties for this task when I click Finish.

    6. On the Run line, add the drive letter for the drive to be defragged. For example, %SystemRoot%\System32\Defrag.exe %HomeDrive%

    Now the defragmenting task will be run according to your schedule.

    Good Luck


    MCSE 2003+Security;MCSE 2003+Messaging

    So, from me to all of you out there, wherever you are, remember:
    the light at the end of the tunnel may be you. Good Day!


    • #3
      why would you want to defrag?
      it isn't nessesary anymore... from windows 2000 and up..
      Technical Consultant

      MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
      "No matter how secure, there is always the human factor."

      "Enjoy life today, tomorrow may never come."
      "If you're going through hell, keep going. ~Winston Churchill"


      • #4
        Any special reason all your posts are in bold ?
        Bold and upper case have always been considered shouting according to the netiquette
        Guy Teverovsky
        "Smith & Wesson - the original point and click interface"