Windows 10: Windows Defrag schedule / SSD maintenance query

Page 1 of 2 12 LastLast
  1. alexncfc's Avatar
    Posts : 35
    Windows 10 Pro 1607 (PC) - Windows 10 1607 (Laptop)
       03 Dec 2016 #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?

    Click image for larger version. 

Name:	defrag.jpg 
Views:	6 
Size:	98.7 KB 
ID:	112297

    Many thanks
      My ComputerSystem Spec

  2. Bree's Avatar
    Posts : 1,812
    10 Home x64 (1607) (10 Pro on 2nd pc)
       04 Dec 2016 #2

    alexncfc said: View Post
    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 ComputersSystem Spec

  3.    05 Dec 2016 #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 ComputerSystem Spec

  4.    05 Dec 2016 #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 ComputerSystem Spec

  5.    05 Dec 2016 #5

    fdegrove said: View Post
    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 ComputerSystem Spec

  6.    05 Dec 2016 #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 ComputerSystem Spec

  7.    05 Dec 2016 #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 ComputerSystem Spec

  8.    05 Dec 2016 #8

    Check all your settings and see if they are correct.

    Click image for larger version. 

Name:	Screenshot (193).png 
Views:	14 
Size:	236.5 KB 
ID:	112570
      My ComputerSystem Spec

  9.    05 Dec 2016 #9

    Bree said: View Post
    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 ComputerSystem Spec

  10.    05 Dec 2016 #10

    Hi,

    CmmTch said: View Post
    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 ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
Windows 10 defrag in Performance & Maintenance
My primary drive has around 2047 gig main partition 450 meg recovery and around 746 gig unallocated. I tried to create a partition with 765 but sais it was unable due to the disk uses MBR format the disk space beyond 2tb will be unuasable. ...
Optimize and Defrag Schedule issue in Performance & Maintenance
So i have had this to TRIM my SSD weekly it as such it is scheduled as such http://i.imgur.com/f2eQwWe.jpg Problem being it has NEVER did this weekly daily automatically I will randomly check this and it will say 20 ~40 days since last trim...
Do I need to defrag Windows 10? in Performance & Maintenance
Hi :) I am new to MS Windows, came from Linux and MacOS background, do I need to defrag Windows 10? If so, what app/program should I use that is most effective in defragging?
query re- my defrag in Performance & Maintenance
When I open my defrag I see these options. What exactly are the top two and what do they do? They are both pretty large file sizes. 31838
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 22:20.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums