How Windows 7 defrag schedule work

Page 1 of 3 123 LastLast

  1. Posts : 51
    Windows 7 build 7127 x64
       #1

    How Windows 7 defrag schedule work


    I was playing around with the default Windows 7 defrag schedule and still can't figure how it work exactly.

    The default schedule is set to start at 1h am wednesday with 3 minutes idle condition. Their is also a settings that set the defrag to start as soon as it can if a schedule is missed. If my understanding is right, if the computer is close in the night of wednesday to thursday, it will start to defrag next time it will be open and idle for 3 minutes. But what happen if you open your computer on friday, do some work and let it idle 3 mins. The defrag start but then you start back using your computer before the end of the defrag. Do the defrag stop completly and the next scheduled start is next wednesday ? Do it only put itself in pause until you idle again ? Do it put iself in pause until you idle again or stop automatically if too many changes are made to the filesystem ?

    Anyway thanks if you have any info regarding this.

    Edit : You can see the details of the schedule like this : http://www.addictivetips.com/windows...tion-in-vista/
      My Computer


  2. Posts : 12,012
    Windows 7 Home Premium SP1, 64-bit
       #2

    Is there any particular reason you are using Task Scheduler or the idle setting??

    I just use the built-in Windows 7 settings, without Task Scheduler. It runs once a week completely in the background. I never notice it at all.

    I haven't manually defragged in several years. Both of my hard drives are shown as 0 percent fragmented.
      My Computer


  3. Posts : 9,600
    Win 7 Ultimate 64 bit
       #3

    Same here; I just use the built-in Win 7 defragger without the task scheduler. I have it set to run at 2AM every Wednesday. Even if I am up at the time and using the computer, I can't tell it's operating but, every time I've checked, it had been working just fine. If I manually check the day before it is scheduled to defrag, I've never had any more than 3% defragmentation; 1-2% is the norm. Can't beat that with a big stick.
      My Computer


  4. Posts : 24,479
    Windows 7 Ultimate X64 SP1
       #4

    Yup, I leave it at default too, works great. Do you turn your PC off on Wednesday, or is that a rhetorical scenario?
      My Computer


  5. Posts : 9,600
    Win 7 Ultimate 64 bit
       #5

    Britton30 said:
    Yup, I leave it at default too, works great. Do you turn your PC off on Wednesday, or is that a rhetorical scenario?
    Nope and that is the schedule. My PC stays on 24/7 with occasional reboots, roughly one a week. There is no need to do a shutdown just to do a defrag.

    Edit: Just for excrement and merriment, I checked my HDDs and both are at 0% fragmentation.
      My Computer


  6. Posts : 24,479
    Windows 7 Ultimate X64 SP1
       #6

    Jeannie, I was referring to the OP saying if "computer is close in the night of wednesday to Thursday".
      My Computer


  7. Posts : 9,600
    Win 7 Ultimate 64 bit
       #7

    Britton30 said:
    Jeannie, I was referring to the OP saying if "computer is close in the night of wednesday to Thursday".
    Oopsie!
      My Computer


  8. Posts : 51
    Windows 7 build 7127 x64
    Thread Starter
       #8

    Is there any particular reason you are using Task Scheduler or the idle setting??

    I just use the built-in Windows 7 settings, without Task Scheduler. It runs once a week completely in the background. I never notice it at all.

    I haven't manually defragged in several years. Both of my hard drives are shown as 0 percent fragmented.
    Britton30 said:
    Yup, I leave it at default too, works great. Do you turn your PC off on Wednesday, or is that a rhetorical scenario?
    The task scheduler settings are not a custom one but the fine tuning options of the default defrag in Windows 7. It explain the logical behind the schedule within the task scheduler, yet I do not fully understanding it.

    It start defrag at wednesday 1 am if it is idle since at least 3 minutes. If the computer is close or in use, it will start the defrag next time it can, so the next time the computer will be idle 3 minutes. Like I said in my first post, what happen if one idle 3 minutes, the defrag start, then start using the computer again, way before the defrag have ended ? I don't have problem with fragmentation, I just want to understand how it works.
      My Computer


  9. Posts : 9,600
    Win 7 Ultimate 64 bit
       #9

    pominator said:
    Is there any particular reason you are using Task Scheduler or the idle setting??

    I just use the built-in Windows 7 settings, without Task Scheduler. It runs once a week completely in the background. I never notice it at all.

    I haven't manually defragged in several years. Both of my hard drives are shown as 0 percent fragmented.
    Britton30 said:
    Yup, I leave it at default too, works great. Do you turn your PC off on Wednesday, or is that a rhetorical scenario?
    The task scheduler settings are not a custom one but the fine tuning options of the default defrag in Windows 7. It explain the logical behind the schedule within the task scheduler, yet I do not fully understanding it.

    It start defrag at wednesday 1 am if it is idle since at least 3 minutes. If the computer is close or in use, it will start the defrag next time it can, so the next time the computer will be idle 3 minutes. Like I said in my first post, what happen if one idle 3 minutes, the defrag start, then start using the computer again, way before the defrag have ended ? I don't have problem with fragmentation, I just want to understand how it works.
    Where are you finding these fine tuning options? I'm unable to find them in my Win 7 defragger. This is the screen I get when I hit the Windows key and type defrag:

    How Windows 7 defrag schedule work-defrag-1.jpg

    The reason the C: drive is showing such a high defragmentation is it is a SSD and I do not defrag it; defragging a SSD can shorten the life of it with excessive writes. SSDs can handle defragmentation just fine with no loss of performance.

    Clicking on the Configure Schedule button gives me this:

    How Windows 7 defrag schedule work-defrag-2.jpg

    Clicking on Frequency just gives me a choice of Daily, Weekly, or Monthly. Clicking on Day gives me a choice of any one day Sunday through Saturday. clicking on Time just gives me a choice of any one hour of the day. Clicking on Disks gives me this:

    How Windows 7 defrag schedule work-defrag-3.jpg

    Note only my spinners are shown and the C: drive has been excluded. Win 7 will automagically exclude SSDs as long as the Automatically Defragment New Disks box is left unchecked. Curiously enough, checking just both of the spinner's boxes will cause the Select all Disks box to automagically be selected.

    Clicking OK closes the Select Disks for Schedule and Modify Schedule windows. Clicking Close in the Disk Defragmenter window will close the window and finish the scheduling process. Nowhere did I see anything about three minute delays, etc.
      My Computer


  10. Posts : 2,497
    Windows 7 Pro 64 bit
       #10

    Windows defrag doesn't do it's own scheduling but uses the system task scheduler. Only the most basic functions are available from the defrag dialog. For full control you have to go into the task scheduler.

    It start defrag at wednesday 1 am if it is idle since at least 3 minutes. If the computer is close or in use, it will start the defrag next time it can, so the next time the computer will be idle 3 minutes. Like I said in my first post, what happen if one idle 3 minutes, the defrag start, then start using the computer again, way before the defrag have ended ? I don't have problem with fragmentation, I just want to understand how it works.
    The task scheduler provides control over what happens when the computer comes out of the idle state while a task is running. Open the properties for the task and select the "conditions" tab.

    Note the second checkbox labeled "Stop if the computer ceases to be idle". Quite clear.
    Note the third checkbox labeled "Restart if the idle state resumkes". Also quite clear.

    Or have I misunderstood the question?
      My Computer


 
Page 1 of 3 123 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:48.
Find Us