Windows Defrag schedule / SSD maintenance query

Page 1 of 2 12 LastLast

  1. Posts : 114
    Windows 10 Pro 21H1 (19043) x64
       #1

    Windows Defrag schedule / SSD maintenance query


    Hi all,

    As I posted in another thread (about another issue) a while back, I recently installed an SSD and did a clean install of Windows 10. Being my first experience of using an SSD, I did a lot of reading up on it, mainly about maintenance, such as defragmentation etc, and most reading has told me that generally, you don't need to really do anything - Windows 8 and 10 is built with SSD in mind and TRIM and as such should take care of all of this automatically.

    But I noticed that in Windows Defrag (the UI) I have the schedule setting to perform maintenance weekly, as you can see on the screenshot at the bottom (I took this screenshot the other day and have only now got around to posting this) However, note at the top that it says 8 days since last run (and that was by me, manually) So this is obviously over a week. I left it a bit longer, and it still said that it hadn't been run. So when does Windows do this TRIM maintenance? Is it a case of it is doing it and not updating the date info in the defrag app, or is it something I'm going to have to go in and do manually? If it's the latter, how often should I be running this?

    Windows Defrag schedule / SSD maintenance query-defrag.jpg

    Many thanks
      My Computers


  2. Posts : 31,666
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #2

    alexncfc said:
    I noticed that in Windows Defrag (the UI) I have the schedule setting to perform maintenance weekly, ... note at the top that it says 8 days since last run (and that was by me, manually) So this is obviously over a week. I left it a bit longer, and it still said that it hadn't been run.
    If you click the 'Change settings' button you will see that Windows will notify you only when 3 consecutive runs have been missed. A run could be missed because the PC was not turned on, for example. Wait three weeks and look again. Or set it to 'Daily' if you don't want to wait that long to see if it works :)

    Oh, and on checking my settings while posting this I noticed that it had inadvertently been set for 'all drives' (I could have sworn I'd set it for C: only, perhaps the AU changed it back). Defrag says all my drives were last run on the 19th November (not by me).
      My Computers


  3. Posts : 460
    Windows 10 Home x64
       #3

    TRIM is performed immediately as needed without any indication to the user.

    Verify that TRIM is working using this small program from this site:

    TRIMcheck: Does Your SSD Really have TRIM Working? | The SSD Review

    I've used it for years, it works great, small program that only uses a command prompt window.

    edit: defragmentation is not necessary on an SSD
      My Computers


  4. Posts : 2,832
    Windows 10 Pro X64
       #4

    Hi,

    I've used it for years, it works great, small program that only uses a command prompt window.
    Glad to see you're happy with it but does not guarantee that TRIM is actually working though.

    Cheers,
      My Computers


  5. Posts : 460
    Windows 10 Home x64
       #5

    fdegrove said:
    Hi,



    Glad to see you're happy with it but does not guarantee that TRIM is actually working though.

    Cheers,
    Yes, it does show whether it's working or not. Try it and see how it works, or go to the site. I've quoted one of their forum members below with an excellent description of how it works and what it does.

    BadMachine said:
    “The title says it all. Fsutil will tell you if TRIM is enabled or not, but it won’t tell you if it is really functional. TRIMcheck will actually check and verify whether TRIM works or not. This program has no GUI, it runs in a command prompt window. You must copy it on the SSD that you are testing and run it twice, waiting at least 30 seconds to a minute between runs in order to ensure accurate results. When executed for the first time it will write on specific locations on the SSD. It will then delete the written data and exit. When you run it a second time a minute later, it will try to read the exact same locations.When TRIM works you’ll get zeroes on the sectors it wrote, plus a notification that TRIM works. If the data is still there, you’ll be notified that TRIM is not working. If you get a negative result and fsutil tells you that TRIM is enabled anyway, try to wait 10 minutes or so before running it for a third time. This program is great for cases where certain software use cheap workarounds that cripple TRIM in order to ensure SSD compatibility. In such cases fsutil will show that TRIM is enabled, regardless if it really works or not. With this utility you’ll know for sure.”
      My Computers


  6. Posts : 2,832
    Windows 10 Pro X64
       #6

    Hi,

    I did try it and read a lot about it too.

    https://forums.anandtech.com/threads...-tool.2302578/

    The program uses heuristics and by the author's own admission, there's no way to be 100% certain of the returned result.
    Even the output of the program states ; "TRIM appears to be working"....

    Either way, better that than nothing at all, right ?

    Cheers,
      My Computers


  7. Posts : 460
    Windows 10 Home x64
       #7

    Sorry about that fdegrove I saw that too, it appears TRIM is working, to me it's a good sign TRIM is working even with the disclaimer "appears".

    You're right, it's not a guarantee, but it beats the heck out of no indicators at all. :)
      My Computers


  8. Posts : 1,463
    Windows 10 Pro 22H2 64 bit
       #8

    Check all your settings and see if they are correct.

    Windows Defrag schedule / SSD maintenance query-screenshot-193-.png
      My Computer


  9. Posts : 502
    Win 11 Pro 64 bit
       #9

    Bree said:
    If you click the 'Change settings' button you will see that Windows will notify you only when 3 consecutive runs have been missed. A run could be missed because the PC was not turned on, for example. Wait three weeks and look again. Or set it to 'Daily' if you don't want to wait that long to see if it works :)


    Oh, and on checking my settings while posting this I noticed that it had inadvertently been set for 'all drives' (I could have sworn I'd set it for C: only, perhaps the AU changed it back). Defrag says all my drives were last run on the 19th November (not by me).
    I have mine turned off. I thought SSD's didn't need to be defragged at all. Is the optimize setting different than defrag? I'm confused.
      My Computer


  10. Posts : 2,832
    Windows 10 Pro X64
       #10

    Hi,

    CmmTch said:
    Sorry about that fdegrove I saw that too, it appears TRIM is working, to me it's a good sign TRIM is working even with the disclaimer "appears".

    You're right, it's not a guarantee, but it beats the heck out of no indicators at all. :)
    No problem at all. The problem is that there's no way of predicting where a file's written on a SSD and so on.
    For all practical manners we can safely assume that when TRIM is enabled it also does its job.
    There are some more complex issues like optimizing UASP Win To Go drives but that's another topic entirely .

    Best,
    Last edited by fdegrove; 05 Dec 2016 at 22:12.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:35.
Find Us




Windows 10 Forums