Windows 10: Why Windows 8 and 8.1 defragment your SSD; how to avoid!

Discus and support Why Windows 8 and 8.1 defragment your SSD; how to avoid! in Windows 10 Support to solve the problem; Could not find it on this forum yet, so just FYI as it also may afflict Windows 10. I came across this article while reading about maintenance on... Discussion in 'Windows 10 Support' started by M4v3r1ck, Dec 6, 2014.

  1. M4v3r1ck Win User

    Why Windows 8 and 8.1 defragment your SSD; how to avoid!


    Could not find it on this forum yet, so just FYI as it also may afflict Windows 10.

    I came across this article while reading about maintenance on Windows 8.x.

    why-windows-8-defragments-your-ssd-and-how-you-can-avoid-this

    It's an article with some codes to run in PowerShell to show you excactly what Windows 8.x is running under the hood, and wow how was I wrongly informed that Windows 8.x BY DEFAULT did not - in any way - touch your SSDs with defragging command.

    Have a read, Cheers...

    :)
     
    M4v3r1ck, Dec 6, 2014
    #1
  2. Shawn 'Cmdr' Keene [MVP], Dec 6, 2014
    #2
  3. auwi987 Win User
    windows 10 and ssd

    Hi

    i have a windows 10 pro installed on a hdd drive, i dont have any problem. recently i switched to ssd drive with clean install windows 10 pro but freezes repeatedly after an hour or less than an hour. i tried to use my old hdd drive with same os it doesn't
    show any problem, i thought maybe the ssd is the problem so go to the store and replaced the ssd with higher brand, but after a week its shows same problem again.

    fyi. i also tried this article
    Optimizing Solid State Drives SSD for Windows 10


    and
    Windows 8 and 8.1 defragment your SSD


    if you have any helpful info and suggestion, please guys.

    many thanks,

    auwi
     
    auwi987, Dec 6, 2014
    #3
  4. davehc Win User

    Why Windows 8 and 8.1 defragment your SSD; how to avoid!

    davehc, Dec 6, 2014
    #4
  5. swarfega Win User
    Defrag on 8/8.1 does not defrag SSDs, it sends commands to trim to optimise it so its perfectly safe to use. I use it without any problems.

    Also a warning about using 3rd party defraggers. You must check to see whether they detect SSDs and act accordingly, not all of them do pick them up.
     
    swarfega, Dec 6, 2014
    #5
  6. davehc Win User
    Did you read either of those links? That is your opinion, but the jury still seems to be out on that one!
     
    davehc, Dec 6, 2014
    #6
  7. groze Win User
    Did you read either of those links? That is your opinion, but the jury still seems to be out on that one!

    I am not sure that comment quoted below is quite accurate, I think you can safely disable it. Now the article might be referring if you have a mix of hard drives or use a usb hard drive. You can also unplug the usb hard drive. I can't see just disabling defrag would disable other tasks.



     
    groze, Dec 6, 2014
    #7
  8. Barman58 Win User

    Why Windows 8 and 8.1 defragment your SSD; how to avoid!

    The way I read the information Dave linked to ...

    There is only one process that handles all required SSD and Spinner Defragmentation related operations,
    This process is fully aware of the presence and special requirements of an SSD so will not perform the specialised Operations needed more that the absolute minimum needed.

    Disabling this process in the scheduler may cause more issues long term that letting it run as designed.
    This is a possible issue as with most drive issues it will always depend on actual usage pattens. *Smile
     
    Barman58, Dec 6, 2014
    #8
  9. swarfega Win User
    Did you read either of those links? That is your opinion, but the jury still seems to be out on that one! I didnt need to read those links, I read an official Microsoft blog written during the development of Windows 8 so I imagine they know what they're talking about.

    Just in case you need a reminder, here's a statement: https://social.technet.microsoft.com...ssds-a-default
     
    swarfega, Dec 7, 2014
    #9
  10. adamf Win User
    And did you actually read it? According to your link (and both the others above) defrag (not just TRIM) is run once a month on SSDs if you have system protection turned on.
     
    adamf, Dec 7, 2014
    #10
  11. groze Win User
    And did you actually read it? According to your link (and both the others above) defrag (not just TRIM) is run once a month on SSDs if you have system protection turned on.

    I wasn't going to get into this but here is a quote. This should clear things up.

    Note, this is from a Microsoft Employee. The employee also said for windows 7 users defrag is turned off for SSDs.
     
    groze, Dec 7, 2014
    #11
  12. swarfega Win User
    Thats basically what I pointed out in my post. Thanks for clarifying.
     
    swarfega, Dec 8, 2014
    #12
  13. Mystere Win User

    Why Windows 8 and 8.1 defragment your SSD; how to avoid!

    Scott Hanselman is also a Microsoft Employee. I will provide the link here again:

    The real and complete story - Does Windows defragment your SSD? - Scott Hanselman

    That information comes directly from developers on the Windows Storage team. This is not speculation. This is not fantasy. This is fact.

    Windows *DOES* defrag drives once per month by default, and there is a good reason for it to do so... certain filesystem data structures become fragmented to the point of slowing performance despite not being on a physical medium.

    It also performs a TRIM operation, which it does more regularly.

    Note this comment:

    In other words, despite the fact that fragmentation may not affect performance due to it being a random access medium rather than a sequential access medium like a disk platter, it can still affect performance due to cluttering up the fragmentation lookup tables, and can actually fill them up if you don't defrag.

    As usual, it's best to let Windows manage this, and not try and second guess it. Microsoft has spent a lot of time and effort analyzing what needs to be done, which is effort you have not done. You are only going by what someone told you.
     
    Mystere, Dec 8, 2014
    #13
  14. groze Win User
    Mystere

    I would like to know who dgeddes is, if you are calling this person inaccurate. SSD can handle many rewrites and if that the case, it doesn't matter which Microsoft employee is correct. It will last a lifetime, even if windows does regular defrag every day, only exception is if you have faulty hard drive to begin with. What about dgeddes statement saying Windows 7 doesn't even run defrag if a SSD is detected? My non ssd drive is never defraged but that because I use Macrium.
     
    groze, Dec 8, 2014
    #14
  15. Mystere Win User
    According to this, he's a Microsoft employee, specifically a "Senior Support Escalation Engineer" (ie he works in support):

    https://social.technet.microsoft.com/profile/dgeddes [MSFT]

    Just because someone works for Microsoft doesn't mean they are always right. However, I do trust developers on the storage team to know what Microsoft is intending Windows to do with defragging rather than a random Microsoft support employee (even if they are a senior one).

    In general, it's true that Windows does not defrag SSD's, except for the once per month situation in which it does an intelligent defrag of volume information specifically designed for SSD's.
     
    Mystere, Dec 8, 2014
    #15
Thema:

Why Windows 8 and 8.1 defragment your SSD; how to avoid!

Loading...
  1. Why Windows 8 and 8.1 defragment your SSD; how to avoid! - Similar Threads - Why defragment SSD

  2. How to update window 8

    in Windows 10 Gaming
    How to update window 8: Having a problem get updates for Window 8 so I can start updating to Window 10 https://answers.microsoft.com/en-us/windows/forum/all/how-to-update-window-8/9b068e91-ab51-4e17-969f-a6dede29a97d
  3. How to update window 8

    in Windows 10 Software and Apps
    How to update window 8: Having a problem get updates for Window 8 so I can start updating to Window 10 https://answers.microsoft.com/en-us/windows/forum/all/how-to-update-window-8/9b068e91-ab51-4e17-969f-a6dede29a97d
  4. Windows 8

    in Windows 10 Software and Apps
    Windows 8: How do i stop windows end of notification will anything affect after end of support?can i just continue to stay in windows 8.1because i cant update to windows 10 because my computer lags and usually slow boot time sam with 11...
  5. Windows 8

    in Windows 10 Software and Apps
    Windows 8: Something happened in my laptop hd and I accessed it as an external hd. I have some docs that were saved on my desktop of that hd when I was using it. I can access that hd but I tried all. Just can't find those desktop folders. I went to users, public, public desktop. There...
  6. Error code: 1-8

    in Windows 10 Gaming
    Error code: 1-8: A few months ago I bought the virtual reality headset hp reverb g2 and after a week i did not playing them I had the error 8-1 https://answers.microsoft.com/en-us/windows/forum/all/error-code-1-8/528667d3-0819-45b7-8cf4-848089f68983
  7. Error code: 1-8

    in Windows 10 Software and Apps
    Error code: 1-8: A few months ago I bought the virtual reality headset hp reverb g2 and after a week i did not playing them I had the error 8-1 https://answers.microsoft.com/en-us/windows/forum/all/error-code-1-8/528667d3-0819-45b7-8cf4-848089f68983
  8. WINDOW 8

    in Windows 10 Gaming
    WINDOW 8: I have window 8 on lap top and can not download any updates please help Thankyou https://answers.microsoft.com/en-us/windows/forum/all/window-8/eb53b32e-6b41-46fc-ba48-ff2072ce69b6
  9. Why is Windows defragging my SSD?

    in Windows 10 Performance & Maintenance
    Why is Windows defragging my SSD?: I started my PC last night and got a phone call so I left it unattended for about 10 minutes. When I got off the phone I noticed that my hard drive indicator light was solidly on. I have never seen that ever, even during/after Windows Updates. I left it alone until it...
  10. Does Windows defragment your SSD?

    in Windows 10 News
    Does Windows defragment your SSD?: The real and complete story - Does Windows defragment your SSD? Storage Optimizer will defrag an SSD once a month if volume snapshots are enabled. This is by design and necessary due to slow volsnap copy on write performance on fragmented SSD volumes. It’s also...