Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How Windows 7 defrag schedule work


17 Mar 2014   #1

Windows 7 build 7127 x64
 
 
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 System SpecsSystem Spec
.

17 Mar 2014   #2

Microsoft Community Contributor Award Recipient

Windows 7 SP1, Home Premium, 64-bit
 
 

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 System SpecsSystem Spec
17 Mar 2014   #3

Win 7 Ultimate 64 bit
 
 

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 System SpecsSystem Spec
.


17 Mar 2014   #4
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Yup, I leave it at default too, works great. Do you turn your PC off on Wednesday, or is that a rhetorical scenario?
My System SpecsSystem Spec
17 Mar 2014   #5

Win 7 Ultimate 64 bit
 
 

Quote   Quote: Originally Posted by Britton30 View Post
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 System SpecsSystem Spec
17 Mar 2014   #6
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Jeannie, I was referring to the OP saying if "computer is close in the night of wednesday to Thursday".
My System SpecsSystem Spec
17 Mar 2014   #7

Win 7 Ultimate 64 bit
 
 

Quote   Quote: Originally Posted by Britton30 View Post
Jeannie, I was referring to the OP saying if "computer is close in the night of wednesday to Thursday".
Oopsie!
My System SpecsSystem Spec
18 Mar 2014   #8

Windows 7 build 7127 x64
 
 

Quote:
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.
Quote   Quote: Originally Posted by Britton30 View Post
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 System SpecsSystem Spec
18 Mar 2014   #9

Win 7 Ultimate 64 bit
 
 

Quote   Quote: Originally Posted by pominator View Post
Quote:
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.
Quote   Quote: Originally Posted by Britton30 View Post
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:

Name:  defrag 1.jpg
Views: 39
Size:  52.6 KB

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:

Name:  defrag 2.jpg
Views: 39
Size:  50.3 KB

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:

Name:  defrag 3.jpg
Views: 39
Size:  43.5 KB

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 System SpecsSystem Spec
18 Mar 2014   #10

Windows 7 Home Premium 32 bit
 
 

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.

Quote:
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 System SpecsSystem Spec
Reply

 How Windows 7 defrag schedule work




Thread Tools



Similar help and support threads for2: How Windows 7 defrag schedule work
Thread Forum
Auslogics Disk Defrag vs IObit Smart Defrag Software
Does Puran Defrag 7.3 Free work with Windows 7 Defrag disabled ? Software
Windows Disk Defrag Doesn't Defrag Performance & Maintenance
Bootime Defrag won't work!!! Performance & Maintenance
Does Windows Defrag defrag system files? Performance & Maintenance

Our Sites

Site Links

About Us

Find 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 09:34 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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