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 Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista Tutorial - Disk Defragmenter

Comment
 
LinkBack Tutorial Tools Display Modes
<!-- google_ad_section_start -->Disk Defragmenter<!-- google_ad_section_end -->
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 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 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 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 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: 23,775
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
Show Printable Version Show Printable Version
Email this Page Email this Page

Applies to
All Vista Versions
64 Bit & 32 Bit

Page copy protected against web site content infringement by Copyscape

Old 02-10-2008  
Bare Foot Kid's Avatar
Bare Foot Kid
Technophile Wannabe




Join Date: Feb 2008
Vista 64-bit Ultimate Win. 7 64-bit 7229 Win. Server 2008 XP SP3 32-bit Pro
The Lowcountry
 
Rep Power: 105
Bare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond repute
  Bare Foot Kid is offline

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's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
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
  Brink is offline

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's Avatar
Bare Foot Kid
Technophile Wannabe




Join Date: Feb 2008
Vista 64-bit Ultimate Win. 7 64-bit 7229 Win. Server 2008 XP SP3 32-bit Pro
The Lowcountry
 
Rep Power: 105
Bare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond reputeBare Foot Kid has a reputation beyond repute
  Bare Foot Kid is offline

Re: Disk Defragmenter

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



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
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
  Brink is offline

Re: Disk Defragmenter

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


Join Date: Apr 2008
Vista Ultimate
 
Rep Power: 0
Bubba is on a distinguished road
  Bubba is offline

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's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
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
  Brink is offline

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
Newbie


Join Date: Aug 2008
Vista Home Premium 32bit SP1
 
Rep Power: 7
hannaxbear is on a distinguished road
  hannaxbear is offline

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's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
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
  Brink is offline

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
Member


Join Date: Sep 2008
Vista Home Premium 32 Bit
 
Rep Power: 6
genesis1 is on a distinguished road
  genesis1 is offline

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

Tags
defragmenter, disk, performance & maintenance

Tutorial Tools
Display Modes


Similar Threads
Tutorial Tutorial Starter Category Comments Last Post
Disk Defragmenter Jeff Gaines Vista General 23 12-02-2007 08:18 PM
Disk Defragmenter Michael Vista performance & maintenance 1 09-20-2007 08:55 PM
Disk Defragmenter Marjay Vista General 4 08-03-2007 09:44 AM
Disk Defragmenter IamWhoIam Vista performance & maintenance 2 07-11-2007 05:54 PM
disk defragmenter Steven Wabik Vista performance & maintenance 19 09-10-2006 09:48 AM


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