Windows 10 2004 optimization/defrag bug

Anonymous
2020-05-29T10:31:40+00:00

Hi all

I've just completed the Windows 10 2004 upgrade and I have noticed 2 issues.

  1. When I manually trim my SSD in the drive defrag/optimize tool in windows and I reboot it says 'never optimized' when i go back. I heard this was a bug in insider preview which they obviously didn't fix. 
  2. I happened to have the defrag/optimize tool open at the same time as Control Panel\All Control Panel Items\Security and Maintenance, I initiated a manual maintenance and I caught windows defragging my SSD and then it trimmed it straight afterwards. If i click the optimize button in defrag/optimize tool it only trims it and not defrag.

This seem to only happen when Control Panel\All Control Panel Items\Security and Maintenance initiates its automatic maintenance or if I select start maintenance.

This is concerning as it should never attempt to defrag an SSD.

My laptop is only a few months old and came with a PCIe SSD and Windows 10 1909 so there is no compatibility or lack of trim support issues obviously.

I have disabled scheduled weekly optimizations in the defrag/optimize tool which prevents it from attempting to defrag when the control penal maintenance attempts its maintenance when the computer is idle.

I want to let everyone know that this is happening so others are aware. My other computers that have the latest update are also doing it.

Windows for home | Windows 10 | Install and upgrade

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

171 answers

Sort by: Most helpful
  1. Anonymous
    2020-07-05T18:18:04+00:00

    Glad I found this thread as I was seeing a problem with disc optimisation too.

    In my case I have a normal HDD (Drive F:) on the system which I keep getting error messages written into the Windows Event Log about on every boot. Strangely I've had Windows 10 version 2004 for a few weeks now, and these errors have only just started to appear.

    "The storage optimiser couldn't complete re-trim on CAPTURE (F:) because: This operation is not supported on this file system. (0x89000020)".

    So, it's trying all the time to TRIM a conventional hard drive!

    What a mess....

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2020-07-05T04:53:17+00:00

    Yeah, it just stays on whether you want it or not.  So leave it on but go to Choose Drives and deselect your SSD(s).  But I think you need to have at least one thing selected, so I disabled both SSDs but left my one HDD enabled, and set to monthly.

    I have 3 SSD and no HDD in my desktop so I  just disabled it. It doesn't allow you to deselect every drive so if you’ve got all SSD you have to just turn it off.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2020-07-05T04:32:39+00:00

    Yeah, it just stays on whether you want it or not.  So leave it on but go to Choose Drives and deselect your SSD(s).  But I think you need to have at least one thing selected, so I disabled both SSDs but left my one HDD enabled, and set to monthly.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2020-07-05T04:25:09+00:00

    i turned it off but after a reboot i rechecked and was at it again

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2020-07-05T02:53:06+00:00

    I think the bad defrag (repeated full defrags on SSD and failed trims on HDD) still runs as part of the scheduled maintenance routine even if you turn off scheduled optimization in the defrag GUI.  Somewhere I read to keep the scheduled optimization on but de-select your SSDs... while we await the fix from MS.

    Was this answer helpful?

    0 comments No comments