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: Win7 defragmenter analyzes SSD frequently

28 Jul 2012   #1
deepsilence

Windows 7 Pro 64-bit
 
 
Win7 defragmenter analyzes SSD frequently

I have newly installed a Samsung 830 128GB SSD as my system C: drive and installed Windows 7 freshly on it.

Windows 7 recognized it as SSD after running WEI and excluded the drive to be defragmented (the C: drive is not shown in the "Disk Defragmenter -> Configure schedule -> Select disks" ). see attachment 1.

However, Windows 7 defragmenter seems to automatically analyzes the SSD frequently in system idle (almost everyday). The Disk Defragmenter shows Last Run of the SSD with the "% fragmented". I noticed the value was different, smaller than that of two days ago. Also, in the Event Viewer, it shows the three log of "The disk defragmenter successfully completed analysis on SYSTEM_SSD (C. see attachment 2

recent logs of defragmenter analyzes SSD in event viewer:
7/28/2012 12:29:49 PM
7/27/2012 12:51:42 PM
7/27/2012 3:36:41 AM
7/27/2012 1:14:13 AM
7/27/2012 1:07:07 AM
7/25/2012 7:09:03 PM


Any idea why Windows 7 does that?




Attached Thumbnails
-defragmenter.png   -defrag_event.png  
My System SpecsSystem Spec
.
28 Jul 2012   #2
ignatzatsonic

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium SP1, 64-bit
 
 

I've noticed the same thing.

I'd guess that the SSD is analyzed because you can defrag it manually if you want to--although you shouldn't. In that sense, Windows treats it like an HDD.

The fragmentation level of my SSD moves around a bit. I manually analyzed it a few minutes ago and the fragmentation level dropped from 10 to 9. I've never defragged it.

I'd be interested in other comments, but I don't think it's any cause for concern.
My System SpecsSystem Spec
29 Jul 2012   #3
centaur78

Windows 7 ultimate x64
 
 

Hi
You will not see the C: drive under "Configure Schedule" as Windows treats this as an SSD and thats how the Windows 7 defragmenter interface is programmed.

Anyway There are various reasons for why it does this analysis. Try the below steps.

1. Check the Task Scheduler( Task Scheduler library>Microsoft>Windows>Defrag ) ... it is by default set to all drive with -c parameter...Try disabling this task or at least specifying the drives you want to defrag

2. Check Boot time optimization @ "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction" where Key OptimizeComplete needs to be No... If Yes it means boot defragmentation is set

3. check volume optimization HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OptimalLayout. There should not be EnableAutoLayout key present.

4. Disable Prefetch/superfetch @ "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\Memory Management\PrefetchParameters" . Right-click on both EnablePrefetcher and EnableSuperfetch and Modify on each of these to change the value from 1 (or 3) to 0. Also disable the SuperFetch service @ Services.msc

5. Disable Indexing on the SSD.


Try these and let me know...
My System SpecsSystem Spec
.

29 Jul 2012   #4
deepsilence

Windows 7 Pro 64-bit
 
 

Quote   Quote: Originally Posted by ignatzatsonic View Post
I've noticed the same thing.

I'd guess that the SSD is analyzed because you can defrag it manually if you want to--although you shouldn't. In that sense, Windows treats it like an HDD.

The fragmentation level of my SSD moves around a bit. I manually analyzed it a few minutes ago and the fragmentation level dropped from 10 to 9. I've never defragged it.

I'd be interested in other comments, but I don't think it's any cause for concern.
Thanks for replying.

Do you mean win7 defrager also checks your SSD frequently like this?
My System SpecsSystem Spec
29 Jul 2012   #5
deepsilence

Windows 7 Pro 64-bit
 
 

Quote   Quote: Originally Posted by centaur78 View Post
Hi
You will not see the C: drive under "Configure Schedule" as Windows treats this as an SSD and thats how the Windows 7 defragmenter interface is programmed.

Anyway There are various reasons for why it does this analysis. Try the below steps.

1. Check the Task Scheduler( Task Scheduler library>Microsoft>Windows>Defrag ) ... it is by default set to all drive with -c parameter...Try disabling this task or at least specifying the drives you want to defrag

2. Check Boot time optimization @ "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction" where Key OptimizeComplete needs to be No... If Yes it means boot defragmentation is set

3. check volume optimization HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OptimalLayout. There should not be EnableAutoLayout key present.

4. Disable Prefetch/superfetch @ "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\Memory Management\PrefetchParameters" . Right-click on both EnablePrefetcher and EnableSuperfetch and Modify on each of these to change the value from 1 (or 3) to 0. Also disable the SuperFetch service @ Services.msc

5. Disable Indexing on the SSD.


Try these and let me know...

Thanks a lot!.

I just checked the settings in my system:

1. There is nothing in Task Scheduler( Task Scheduler library>Microsoft>Windows>Defrag )

2. There is NO Boot time optimization @ "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction"

3. There is NO volume optimization HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OptimalLayout

4. Prefetch/superfetch were Disabled.

5. Indexing on the SSD is Disabled.

I followed Sean's guide when I was installing win7 Sean's Windows 7 Install & Optimization Guide for SSDs & HDDs
My System SpecsSystem Spec
30 Jul 2012   #6
centaur78

Windows 7 ultimate x64
 
 

Well let me answer your question differently....

From vista and above, microsoft has made windows defragmenter a little bit smarter on how fragmentation in analysed and defraged . it would automatically analyse the system to determine whether you have SSD or HDD. if you have SSD then windows will automatically disable defragmentation on the SSD drive. if you have HDD it would automatically enable the defragmation along with an option to do it for the whole drive or manually selecting the drives.

The only way to do this kind of check is by using the windows defragmenter and hence even when windows defragmenter is disabled on the SSD... windows needs to check every time to confirm the presence of the SSD to either during each boot (if set to automatic service ) or during the running of the schedule. (if set to manual service)

It shouldn't be a concern why you see then in eventviewer as this is how the Windows 7 defragmenter is programmed to behave..

If you dont want to see them .... go ahead and disable the Disk defragmenter service.. Hopefully that should solve your problem
My System SpecsSystem Spec
30 Jul 2012   #7
Maguscreed

Microsoft Community Contributor Award Recipient

Windows 7 x64
 
 

It's just a quick data check really I don't think it's a reason for major concern either.
Then again I'm starting to get the impression that all this work we do trying to keep reads and writes down on our ssd's is kind of wasted as well.
People act like they will crap out in 6 months if you actually use them at all.
It's not the case... not at all
I'm actually currently using my main one as a normal boot drive it's also holding some commonly used apps. I haven't taken any of the normal steps people take to protect their ssd's for extra reads and writes.

I'm at 8 months now and it's not showing any signs of suffering ill effects from this.
My System SpecsSystem Spec
30 Jul 2012   #8
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

It is highly recommended not to defrag a SSD by all manufactures. It's not needed and it will just shorten the life of the SSD.
My System SpecsSystem Spec
30 Jul 2012   #9
Maguscreed

Microsoft Community Contributor Award Recipient

Windows 7 x64
 
 

It still remains that analyzing is not actually defragging, they are two totally different things.
My System SpecsSystem Spec
30 Jul 2012   #10
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

My understanding is that still uses reads and write to analyze the SSD.
Yes analyzing and defrag are two separate process.
My System SpecsSystem Spec
Reply

 Win7 defragmenter analyzes SSD frequently




Thread Tools




Similar help and support threads
Thread Forum
Microsoft analyzes over a million PC failures...
Microsoft analyzes over a million PC failures, results shatter enthusiast myths Source A Guy
News
Is WIN7 Defragmenter Good Enough?
Hi All, I've been using PerfectDisk Defragmenter for some years, and I think the Ver.12.5 is getting more bloated than I'd like. My question is whether the WIN 7 Defragmenter is considered good enough to get the job done. Thanks in advance. :)
Performance & Maintenance
Win7 freezes frequently - Even after reinstall
Hello all, About a week ago my PC developed a problem where it would freeze every few minutes, however this isn't your typical freeze where the only remedy is a restart. I can still move the mouse, type, and interact with some applications I have open (In fact I've encountered this issue several...
BSOD Help and Support
CIA Admits It Monitors, Analyzes Facebook, Twitter
Not really anything new, but at least their finally admitting it! MORE https://threatpost.com/en_us/blogs/cia-open-source-center-monitors-analyzes-social-web-110411
Chillout Room
Win7 x32 freezes frequently
Hey, I've been running windows 7 on my machine for quite some time and it worked perfectly until a few months ago. I've rarely been able to start up windows without rebooting my computer 2-3 times, and when it finally boots it usually hangs for a long period of time (~15 minutes). I've tried...
BSOD Help and Support


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 03:00.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App