Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista - Disk Defragmenter

Comment
 

Disk Defragmenter

How to Change the Schedule for Disk Defragmenter in Vista
Published by Brink
06-23-2007

How to Change the Schedule for Disk Defragmenter in Vista

Information
  This will show you how to turn the Disk Defragmenter automatic Run on a schedule on or off, and how to change the schedule to run Disk Defragmenter when you want it to run.
NOTE
  The Disk Deframenter .exe file is located at C:\Windows\System32\dfrgui.exe .
Tip
  For a faster alternative that includes a progress graph, you can use the free Auslogics Disk Defrag.
WARNING
  Solid State Drives (SSD) do not need to be defragmented. Doing so may lower the lifespan.
RELATED LINKS:

OPTION ONE:
To Change the Disk Defragmenter Schedule
1. Open the Start Menu.
A) In the white line (Start Search) area, type dfrgui and press Enter.

B) Go to step 3.
OR

2. Open the Start Menu.
A) Click on All Programs, Accessories, System Tools, and then on Disk Defragmenter.
3. Click on Continue in the UAC prompt.
NOTE: If will take a little bit while Disk Defragmenter analyzes the disks.
schedule.jpg
4. To Turn On the Disk Defragmenter Schedule -
A) Check Run on a Schedule. (See screenshot above)

B) Go to step 6.
5. To Turn Off the Disk Defragmenter Schedule -
A) Uncheck Run on a Schedule. (See screenshot below step 2)

B) Go to step 9.
6. To Modify the Schedule Time -
A) Click on the Modify Schedule button. (See screenshot below step 3)



B) Make your time adjustments: (See screenshot below step 6C)
  • How Often: Daily, Weekly, or Monthly
  • What Day: Pick a day, Sunday to Saturday.
  • What Time: Select a time from list.
Tip
  Recommended Schedule of Times to Defrag
NOTE: The more you save and delete items off your hard drive, the more often you should defrag. Adjust to your needs.
Schedule Description For
Once a Month For a user that is only on the computer a few hours a week and does not do much file saving and deleting. You rarely install and uninstall programs.
Once a Week For most average users that use the computer for a few hours on a daily basis and does a lot more file saving and deleting. You only do a few installing and uninstalling of programs.
Once a Day For your power user that uses the computer for several hours a day and does an unbelievable amount of file saving and deleting. You do a lot of installing and uninstalling of programs.


C) Click on OK.
modify.jpg
7. To Select Volumes to Defragment -
NOTE: This option is only added when you install the Vista SP1.
A) Click on the Select volumes button. (See screenshot below step 3)

B) Check the drives you want to be included in the defrag and uncheck the drives you do not want to be included. (See screenshot below)

C) Click on OK.
select_volumes.jpg
9. To Manually Run Disk Defragmenter Now -
A) Click on the Defragment now button. (See screenshot below step 3)

B) Do steps 7B and 7A.
NOTE: If you need to stop Disk Defragmenter, click on the Cancel defragmentation button.
10. When done, click on OK, if it is not grayed out, or Close if it is. (See screenshot below step 3)




OPTION TWO:
Set Defragmenter to Wake the Computer to Run
NOTE
  By default Disk Defragmenter will only run when the computer is running and during low or idle usage in the background unless you run it manually, and not when the computer is in sleep mode or turned off. This will show you how to set Disk Defragmenter to wake the computer from sleep mode to run. This way you can schedule it to run when you are not using the computer in Option One above.
1. Open the Start Menu.
A) In the white line (Start Search) area, type taskschd.msc and press Enter.

B) Go to step 3.
OR

2. Open the Control Panel (Classic view).
A) Click on the Administrative Tools Icon.

B) Click on Task Scheduler.
3. In the left pane, click on the arrow next to Task Scheduler Library, Microsoft, and Windows to expand the folders. (See screenshot below step 4)

4. Click on the Defrag folder.
task.jpg
5. In the middle pane right click on ScheduledDefrag and click on Properties. (See screenshot above)

6. Click on the General tab. (See screenshot below step 7)

7. Check the Run with highest privileges box.
general_tab.jpg
8. Click on the Conditions tab. (See screenshot below step 9)

9. Check the Wake the computer to run this task box, and click on OK.
properties.jpg
10. Close Task Scheduler.
That's it,
Shawn


Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 26,065
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools

Applies to
All Vista Versions
64 Bit & 32 Bit

Old 02-10-2008  
Bare Foot Kid


Vista 64-bit Ultimate Win7 64-bit Ultimate XP SP3 32-bit Pro
 
 

Question Re: Disk Defragmenter

Hi Brink. I just loaded Auslogics Disc Defrag (thanks by the way for the list of free loads) and I have read that some have had some trouble with Vista Defrag, is there some other way to disable Vista Defrag so that it doesn't cause problems later? Maybe you have a Tutorial that I havent found yet? As always no need for speed. Thanks a bunch! Later, Bare Foot Kid

My System SpecsSystem Spec
Old 02-10-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: Disk Defragmenter

Hi Bare Foot Kid,

Nope, you did not miss anything. Unchecking the Run on a schedule option will turn off the automatic running of Vista Defrag. It will then not run unless you manually run it, so it will not hurt anything to let it sit dorment. I just deleted the shortcut in the Start menu for it and replaced it with a shortcut for Auslogics instead.

Shawn
My System SpecsSystem Spec
Old 02-10-2008  
Bare Foot Kid


Vista 64-bit Ultimate Win7 64-bit Ultimate XP SP3 32-bit Pro
 
 

Re: Disk Defragmenter

Thanks Brink, Your The Man Bare Foot Kid
My System SpecsSystem Spec
Old 02-10-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: Disk Defragmenter

Your welcome.
My System SpecsSystem Spec
Old 04-17-2008  
Bubba


Vista Ultimate
 
 

Re: Disk Defragmenter

How odd. My defrag is set to auto. How did that happen? I know I didn't do it and it wasn't done the last time I defragged, just a couple of days ago. When I clicked on it, it started defragging instead of the usual, check volume thingie first.
My System SpecsSystem Spec
Old 04-17-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: Disk Defragmenter

Hi Bubba,

Did you have it set to run on a schedule? It may be still running on or finishing from the set scheduled time.

Shawn
My System SpecsSystem Spec
Old 08-16-2008  
hannaxbear


Vista Home Premium 32bit SP1
 
 

Re: Disk Defragmenter

In my experience (and as I have also read elsewhere), waking the computer to run defrag will not work if you set the computer to ask for a password upon waking up, correct? Do you know a way around this (without removing the password)?

Also, I was wondering if defrag will continue its job even if your computer goes to sleep?

Thanks for any help.
My System SpecsSystem Spec
Old 08-17-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: Disk Defragmenter

Hi Hannaxbear, and welcome to Vista Forums.

I have not tried it with Disk Defragmeneter, but if it will not wake the computer to run due to this, then removing the password is the only workaround that I know of. You might take a look at this to see how this works for you.

Task Scheduler - Wake Up Computer


If you manually have Disk Defragmenter running, I believe the computer will not go to sleep until it has finished.
My System SpecsSystem Spec
Old 09-29-2008  
genesis1


Vista Home Premium 32 Bit
 
 

Re: Disk Defragmenter

I unchecked auto schedule for disk defrag a while back. Looked at it again today and its re-enabled itself. Not sure why. I cleared the check box again, and installed disk keeper. Now Vista defrag does not show up in the tools menu. I can get to it with the command line dfrgui though. Where has the listing of it gone from tools?
My System SpecsSystem Spec
Comment

Tutorial Tools


Similar Threads
Tutorial Category
Windows Vista Check Disk & Disk Defragmenter General Discussion
Windows Vista Check Disk & Disk Defragmenter Vista performance & maintenance
Disk defragmenter Vista General
disk defragmenter Vista General
Disk Defragmenter Vista performance & maintenance


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
Tutorial powered by GARS 2.1.8m ©2005-2006

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46