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
Lady Fitzgerald

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
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

I found it here Jeannie.
-tasks.png


My System SpecsSystem Spec
18 Mar 2014   #13
Lady Fitzgerald

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
Britton30
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
Lady Fitzgerald

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
pominator

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
Mang Nux

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
LMiller7

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
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

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 W7 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.

-tssp01.png


My System SpecsSystem Spec
20 Mar 2014   #20
Mang Nux

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
Thread Forum
Windows update and defrag do not work
When i try to defragment my disc with the classic windows way, its says task scheduler isnt running. So i go to services and try to turn on task scheduler and then it says (look at picture). I restarted Windows event log but I can't even check for updates on Windows Update which means I can try out...
General Discussion
media center schedule keeps recording a show not on the schedule
Hello, Does anyone know how I can clear out the areas that media center maintains for a show that it keeps trying to schedule. Now I already used the settings path to remove the schedule, the view scheduled shows empty yet the show seems to still record. I have tried then adding the show to...
Media Center
Does Puran Defrag 7.3 Free work with Windows 7 Defrag disabled ?
I normally set the Disk Defragmenter Task Schedule to DISABLED, and leave the Windows Disk Defragmenter defragsvc set to DISABLED. Will Puran Free be able to safely and fully operate under these conditions, or should I change defragsvc to MANUAL. I occasionally create a Macrium FULL image...
Software
Windows Disk Defrag Doesn't Defrag
Disk defrag stops analyzing at 62% and doesn't go any further. So I downloaded Defraggler and ran it. It worked but it wouldn't defrag down to 0% fragmentation, It still shows 4% after defrag.
Performance & Maintenance
Bootime Defrag won't work!!!
I have this Seagate 500gb sata barracuda drive and I use Ultimate Defrag 3 to keep the drive in peak condition. One problem though and I have had this problem with other defragmenting programs as well. When it's time for the boot time defrag to run before the operating system starts it's says it...
Performance & Maintenance
Does Windows Defrag defrag system files?
Hi all. Stupid question here... A friend of mine was speaking highly about this PerfectDisk prog because "it defrags system files." I was kind of surprised because I thought (assumed) that the defrag utility built into Windows 7 already defragged system files. Is this not true? I do not...
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 19:40.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App