Defragment and optimize drives not running scheduled optimization


  1. Posts : 108
    Windows 10 Pro 64-bit (19045.2788)
       #1

    Defragment and optimize drives not running scheduled optimization


    I have Defragment and optimize drives scheduled optimization ON weekly but for some reason after a week it did not run automatically, why is that?

    Defragment and optimize drives not running scheduled optimization-untitled.png
      My Computer


  2. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #2

    Hello @VERX,

    - I assume that the computer was ON at the set run time ?
    - Have you looked in Event Viewer at around the run time to see if there were ANY errors reported ?
    - What happens if you click Optimize or Change Settings ?
      My Computer


  3. Posts : 16,950
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #3

    VERX said:
    I have Defragment and optimize drives scheduled optimization ON weekly but for some reason after a week it did not run automatically, why is that?
    It is not set to run at any specific time. Windows makes the decision when & if to run it.
    For example, it will only run when the computer is idle [by default] so if you don't leave it on when you're not using it it will never see an idle idle condition & will never run.
    Optimize and Defragment Drives - TenForumsTutorials


    All the best,
    Denis
      My Computer


  4. Posts : 2,144
    Windows 11 Pro (latest update ... forever anal)
       #4

    Note that both are SSD ?

    Defrag et al waste of time. Unnecessary, and possibly increase wear-and-tear with resultant lifetime decrease.
      My Computers


  5. Posts : 16,950
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #5

    Optimise will only run defrag itself on an SSD monthly and then only if the user uses System restore [because it makes use of some of its mechanisms]. The tutorial contains a link to the main analysis of this topic [by Scott Hanselmann].
    Trim, the other aspect of Optimise, has its own peculiarities.


    All the best,
    Denis
      My Computer


  6. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #6

    I use defrag /C /O in my weekly cleanup Script which serves for all SSD and HDD drives.
      My Computer


  7. Posts : 16,950
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #7

    Paul Black said:
    I use defrag /C /O in my weekly cleanup Script which serves for all SSD and HDD drives.
    Paul,

    Yes but Scott Hanselmann's analysis raises doubts about what Windows then does with SSDs.
    Does it only defrag them monthly as it would if the task was set up by the Optimiser, assuming system restore points are in use?
    How often does it actually trim?
    lx07 PS cmd #24 might help.


    All the best,
    Denis
      My Computer


  8. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #8

    Thanks Denis, I will investigate this again in the week as it has been quite a while since I initially researched it.

    I used the following at the time > defrag > /o - Perform the proper optimization for each media type .
      My Computer


  9. Posts : 108
    Windows 10 Pro 64-bit (19045.2788)
    Thread Starter
       #9

    Thanks everyone appreciate it.

    Both drives are SSD.

    I don't see any option where I can set a time for the app to run.

    When clicking on "Optimize" the app runs a "trimmed" only (which I understand that's what it's supposed to do for an SSD).
      My Computer


  10. Posts : 16,950
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #10

    VERX said:
    I don't see any option where I can set a time for the app to run.
    Yes, there is no such option.
    You could set up your own Task scheduler task instead of using the Optimiser if you wanted. You could copy your task definition from that of the task that Optimiser uses in Task scheduler.
    Defragment and optimize drives not running scheduled optimization-optimiser-defrag-task.png
    That's what I did. I run mine at 0900 Mondays and I do not let it hold off waiting for the computer to be idle [I don't notice any drop in performance while it's running & it's over with very quickly].

    VERX said:
    When clicking on "Optimize" the app runs a "trimmed" only (which I understand that's what it's supposed to do for an SSD).
    Yes. But as Scott Hanselmann found, it will also defrag an SSD each month if the user has automatic restore points set up. I don't so mine just trims.

    It is possible to monitor these actions in Event viewer, if you are interested.
    Log - Application
    Sources - Defrag, Defrag-Core
    EventIDs - {no filter applied}


    All the best,
    Denis
      My Computer


 

  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 10:09.
Find Us




Windows 10 Forums