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-10-16T20:41:22+00:00

    Just an update aside on this.

    It looks as if things still aren't quite right.

    I'm seeing this error recorded regularly in the event log -

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

    You might be interested to know that my drive F: is a FAT32 formatted hard disk drive, not an SSD!

    So, even though it appears as an HDD in the list of drives, it looks as if the system might be still trying to TRIM it!

    Windows 10 can't TRIM FAT32 SSDs, but it can defrag FAT32 HDDs.

    I have another FAT32 drive on the system which is not throwing the error.

    Cheers, Dave.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-06-09T16:45:23+00:00

    So it only does it if I go to maintenance in control panel>security & maintenance and perform a manual maintenance? If I leave windows to do it's own thing it doesn't defrag in error?

    I'll leave disk optimizer set to its weekly default setting and simply 'do not' do a manual maintenance? When windows does it's auto maintenance

    It doesn't do the defrag error?

    we can tell when Windows has done an auto maintenance as it shows up in control panel>security & maintenance.

    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...

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2020-06-09T16:10:19+00:00

    I have never had this issue before build 2004, I'm on the insiders list but staying on retail builds. I've also not seen that using "dfrgui" the defrag window is actually trying to defragment the SSD. When I use manually use "optimize" it says "n% trimmed" but the status is not kept, right after that when leaving and restarting dfrgui it says "needs optimization". 

    I got build 19041.264 installed on April 17th ... I mentioned this problem (and a few others) in the feedback hub, without getting feedback :-) 

    I already mentioned it via the feedback hub,  but Microsoft didn't reply either.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2020-06-09T09:29:20+00:00

    It doesn't appear to be shown in known issue, so we'll have to wait and see.

    https://docs.microsoft.com/en-us/windows/release-information/status-windows-10-2004

    Check the Feedback Hub and either add comments to a previous user posting or start your own.

    feedback submitted. I had to condense it to make it fit, however I included a screenshot

    https://aka.ms/AA8m9gu

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2020-06-09T09:07:23+00:00

    It doesn't appear to be shown in known issue, so we'll have to wait and see.

    https://docs.microsoft.com/en-us/windows/release-information/status-windows-10-2004

    Check the Feedback Hub and either add comments to a previous user posting or start your own.

    Was this answer helpful?

    0 comments No comments