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: Windows Defrag running in idle?


04 May 2012   #1

7 Ultimate x64
 
 
Windows Defrag running in idle?

Hello,

is the Windows defrag running in idle?
I think it is a new feature since Vista right?

I have checked it and my sytem drive is 16% fragmented. I have waited with performance monitor on for an half hour and there where no harddisk access from defrag?

Any ideas?

Regards
Ibaxx

My System SpecsSystem Spec
.

04 May 2012   #2

Microsoft Community Contributor Award Recipient

Windows 7 SP1, Home Premium, 64-bit
 
 

It normally runs according to a schedule that you can control.

What does your schedule say?

I haven't defragged manually in over a year---my fragmentation is reported at 0 and has never been above 5.

Is your disk defragmenter service set to manual, auto, or what?
My System SpecsSystem Spec
04 May 2012   #3

7 Ultimate x64
 
 

Hi,

the service was set to manual, i have changed it to auto.
I have found that: Use Task Scheduler To Tweak Automatic Disk Defragmentation In Windows 7/Vista

i have changed the trigger to idle and now i am looking whats happening.

Regards
Ibaxx
My System SpecsSystem Spec
.


04 May 2012   #4

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Ibaxx View Post
Hi,

the service was set to manual, i have changed it to auto.
I have found that: Use Task Scheduler To Tweak Automatic Disk Defragmentation In Windows 7/Vista

i have changed the trigger to idle and now i am looking whats happening.

Regards
Ibaxx
Why onfigure the service to start automatically? It's started automatically when the scheduled task starts. Or when you manually defrag using GUI.

Start the scheduled task (right click on it and click Run). Now open defrag GUI and see if it's running. Is it? In task scheduler you can also seen "next time" it runs, and if last time was succesfully.

All about "idle" what it actually means http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx
My System SpecsSystem Spec
04 May 2012   #5

Windows 7 home premium x64
 
 

With a 16% fragmentation it sure doesn't sound like any defrag is occuring.
The only time I have experienced that is through running VMware. you don''t I suppose ?
My System SpecsSystem Spec
04 May 2012   #6

7 Ultimate x64
 
 

microsoft says idle is 0% cpu and 0% hdd access. i think that is a value thats hard to reach?

what do you mean with vmware?
i have vmware workstation installed! but only running 2 times a week.
My System SpecsSystem Spec
04 May 2012   #7

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Ibaxx View Post
microsoft says idle is 0% cpu and 0% hdd access. i think that is a value thats hard to reach?

what do you mean with vmware?
i have vmware workstation installed! but only running 2 times a week.
Detecting the Idle State

The Task Scheduler service will verify that the computer is in an idle state every 15 minutes.
The computer is considered idle if all the processors and all the disks were idle for more than 90% of the past 15 minutes and if there is no keyboard or mouse input during this period of time. Besides, any presentation type application that sets the ES_DISPLAY_REQUIRED flag will make Task Scheduler to not consider the system as being idle.
In Windows 7, Task Scheduler considers a processor as idle even when low priority threads (thread priority < normal) execute.
When the Task Scheduler service detects that the computer is idle, the service only waits for user input to mark the end of the idle state.

Source: Task Idle Conditions (Windows)
My System SpecsSystem Spec
04 May 2012   #8

MS Windows 7 Ultimate SP1 64-bit
 
 

Ibaxx,

Percentage of fragmentation is sometimes misleading, although probably not in your case.

MS seems to use the total size of your disk, irregardless of what percent is being used, in calculating the percentage of fragmentation. The same quantity of fragmentation on a small drive gives a much bigger percentage than on a large drive.

Although CONTIG doesn't provide a graphic interface, contig will give you some statistics as to how many files were/are fragmented and the number of fragments.

CONTIG is a utility from the SysInternals group at Microsoft.

run cmd.exe as administrator and enter following:
contig -s -q c:\*

will defrag your entire c: which will take awhile the first go around.
the -s tells contig to defrag subdiretories and the -q says quietly (no running display of file being defragged)

Contig
My System SpecsSystem Spec
04 May 2012   #9

7 Ultimate x64
 
 

Hey,

the fact is that i want a automatic defragmentation that doesn´t work!

Contig is also a program that doesn´t work without user maintenance?

Regards
Ibaxx
My System SpecsSystem Spec
04 May 2012   #10

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Ibaxx View Post
Hey,

the fact is that i want a automatic defragmentation that doesn´t work!

Contig is also a program that doesn´t work without user maintenance?

Regards
Ibaxx
Why not let it run without checking for idle state?
My System SpecsSystem Spec
Reply

 Windows Defrag running in idle?




Thread Tools



Similar help and support threads for2: Windows Defrag running in idle?
Thread Forum
Solved Multiple BSOD, running idle BSOD Help and Support
Fan running very loud at idle, temperature and cpu usage normal. General Discussion
BSOD while computer running idle...5 times in less than 5 in one night BSOD Help and Support
Computer Running Hot when Idle Performance & Maintenance
Does Puran Defrag 7.3 Free work with Windows 7 Defrag disabled ? Software
Windows Disk Defrag Doesn't Defrag 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 10:11 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