How-To Geek

Set Automatic Defrag Options for All Drives in Vista Service Pack 1

By now most people have likely already upgraded to Windows Vista Service Pack 1, but one of the smaller feature upgrades might have passed most people by: You can now configure automatic defragmenting for All drives, as well as defragment all of your drives at the same time.

Note: This article is courtesy of a conversation I had yesterday with my good friend Ross, who runs the excellent SimpleHelp blog that you should check out (and subscribe to).

Set Automatic Defrag Options

Launch Disk Defragmenter by typing dfrgui into the start menu search or run box (or you could just search for defrag in the start menu or control panel)

Once you are there, you will notice the new “Select volumes” button that wasn’t there before Service Pack 1:


This will launch a dialog where you can choose which drives should be automatically defragmented at the scheduled time:


Of course, you can also use this same new feature to manually defragment all your drives at once, instead of having to use a batch file.


There’s really not much to it, is there?

Note: Vista most likely already scheduled all your drives to be defragmented by default, or at least it did in my testing.

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

  • Published 04/29/08

Comments (5)

  1. Planet Lowyat

    This is cool features. But normally I won’t trust Microsoft Windows defragment tool because I believed it’s not defrag my system perfectly. I would rather download third party tools :)

  2. Robert Shell

    Since the defrag procedure takes a lot of time, it would be useful to have a staggered schedule, so each drive could be defragged on different nights.

  3. Matt

    Hey, I Don’t know if i clicked something wrong on this or not but, whenever i go through disk defrag scheduling, i can set any option i want, but when i leave out and turn it back on later to check on my schedule it has been reset to ( Next Schedule Run: Never ) just wondering why?

  4. mbuen

    Matt, if you have not solved your dilemma yet re: Next schedule run: Never, I had the same problem. It was a matter of opening the task scheduler via start button
    _ Type Task Scheduler in start search bar
    _Click on Task Schedule Library
    _Click on Microsoft
    _Click on Windows
    _Click on Defrag folder
    Top frame, Right click on “ScheduledD” and then click “enable”
    I then clicked back on the defrag folder and I have not had the auto schedule return to “Never”

  5. msfig

    I looked into the task file for defrag,or windows or microsoft..only I add these files? and how do I do this?

More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!