All I know is that when you check disk optimizer, it wil say that your SSD has never been optimized and that it needs to be optimized. If you do this, it will trim the SSD, as it is supposed to to. The problem is that it then 'forgets' that it has optimized the SSD. The next time you start your computer, it will say that the SSD has never been optimized and that it needs optimization.
If you do a manual maintenance (via control panel, security and maintenance), then Windows starts defragging the SSD, which it is not supposed to do and then, again, forgets that it has done so the next time you start your computer. I know, it sounds weird...
Following a closed thread I opened Task Scheduler and looked under the defrag node. I had the optimization app set for weekly, but the defrag action had I think "forgotten" to include a trigger. Could be interconnected with the "never run" aspect of things?
That is a good thought but personally I feel we should not have to go out and hunt for workarounds to this. This is clearly a MS problem they introduced with their flawed Version 2004 update along with the annoying push notification a lot of members are getting about needing to fix their account in that worthless Shared Experiences in Settings and also Edge Chromium and Chrome not showing your saved passwords unless you sign into your accounts so they can see what you are doing on the web. These three are just a few of the bugs that Ver. 2004 has let loose in our computers and MS needs to kill these bugs with a fix. I am going to wait for a fix to be deployed as I fear more damage will be done trying to solve problems MS created. I do not know what MS considers having a smooth experience but this has been far from that.