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

18 Mar 2014   #11

Win 7 Ultimate 64 bit
 
 

Curious. I looked in Task Scheduler and didn't find any entries related to defragging.


My System SpecsSystem Spec
.

18 Mar 2014   #12
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

I found it here Jeannie.
How Windows 7 defrag schedule work-tasks.png


My System SpecsSystem Spec
18 Mar 2014   #13

Win 7 Ultimate 64 bit
 
 

Ok, found it. Apparently, defrag will run just fine with the default settings (no three minute delay, etc.) because all of that is disabled (grayed out) on mine and, when ever I checked the fragmentation levels of the spinners on Thursday, they have been at zero. It is possible to overthink things.
My System SpecsSystem Spec
.


18 Mar 2014   #14
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Quote   Quote: Originally Posted by Lady Fitzgerald View Post
Ok, found it. Apparently, defrag will run just fine with the default settings (no three minute delay, etc.) because all of that is disabled (grayed out) on mine and, when ever I checked the fragmentation levels of the spinners on Thursday, they have been at zero. It is possible to overthink things.
I've never done that.
My System SpecsSystem Spec
18 Mar 2014   #15

Win 7 Ultimate 64 bit
 
 

Quote   Quote: Originally Posted by Britton30 View Post
Quote   Quote: Originally Posted by Lady Fitzgerald View Post
Ok, found it. Apparently, defrag will run just fine with the default settings (no three minute delay, etc.) because all of that is disabled (grayed out) on mine and, when ever I checked the fragmentation levels of the spinners on Thursday, they have been at zero. It is possible to overthink things.
I've never done that.
LOL! Just like I never have.
My System SpecsSystem Spec
19 Mar 2014   #16

Windows 7 build 7127 x64
 
 

Quote   Quote: Originally Posted by LMiller7 View Post
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?
I did not saw thos options, it is quite clear indeed. The only case where a disk is not defragmented is when a user always close his computer as soon as he don't use it anymore. Thanks for clearing this up. Always good to let his computer idle at least one day per week.
My System SpecsSystem Spec
20 Mar 2014   #17

Windows 7 x64 Home Premium
 
 

Will the task scheduler method allow the defrag to run when the PC is in a logged off state? I scheduled defrag through the standard interface, but it wouldn't run until the next time a user logged in. On the other hand my AV's scheduled scan ran just fine while logged off.

EDIT: I looked at it in task scheduler, and the logged on/off section was greyed out (although there was a check on the "run whether user is logged on or not" box). Why is it greyed out?
My System SpecsSystem Spec
20 Mar 2014   #18

Windows 7 Home Premium 32 bit
 
 

Quote:
EDIT: I looked at it in task scheduler, and the logged on/off section was greyed out (although there was a check on the "run whether user is logged on or not" box). Why is it greyed out?
That section will be disabled unless you select a user account other than the default of "SYSTEM". The SYSTEM account is always logged on while Windows is running so the the question is meaningless. It is common practice for programs to disable options that have no relevance in the current context.
My System SpecsSystem Spec
20 Mar 2014   #19

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1
 
 

Quote   Quote: Originally Posted by pominator View Post
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 : Use Task Scheduler To Tweak Automatic Disk Defragmentation In Windows 7/Vista
I was curious about this so I looked at my History for this task.
On 2/28/2014 I see a defrag started, stopped for "not idle", started later, ...
Eventually it re-started and completed

In Task Scheduler I now use "Enable All Tasks History" all the time, on all my systems.
From what I found it does not impact system performance or disk usage in any noticeable way.
The Windows 7 default setting is to have History disabled, for whatever reason ...
Enabling History allows looking back if I ever want to...

I don't normally turn off my PCs.
I use Hybrid Sleep, usually sleep is set at 30 minutes ...

I've noticed sometimes it doesn't sleep "at the expected scheduled time" ...
I found some programs prevent Auto Sleep while they are running.
Maybe defrag is one of these programs?

You could at least turn on "Enable History" temporarily to see what it shows for your scenario/question.
If you don't want it on all the time, turn it off after your testing.

How Windows 7 defrag schedule work-tssp01.png


My System SpecsSystem Spec
20 Mar 2014   #20

Windows 7 x64 Home Premium
 
 

Quote   Quote: Originally Posted by LMiller7 View Post
Quote:
EDIT: I looked at it in task scheduler, and the logged on/off section was greyed out (although there was a check on the "run whether user is logged on or not" box). Why is it greyed out?
That section will be disabled unless you select a user account other than the default of "SYSTEM". The SYSTEM account is always logged on while Windows is running so the the question is meaningless. It is common practice.
OK. But if it's being run by 'system', and 'system' is always logged on, then why did it delay my sceduled 3am defrag until a 9am when a user was logged on?
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 04:04 AM.
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