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: Newest
  1. Anonymous
    2020-08-27T11:21:21+00:00

    You are right. By the way, Since August 24, 2020, 10 pm to 11 pm I upgraded my Windows 10 to Windows 10 Build 19042.450 by joining Windows Insider Release Preview. but tomorrow morning I quit the Windows Insider Program by selecting the Stop Getting Preview Builds Option. I have checked Windows Update manually via the "Check for Update" button this morning the update has not appeared except for the definition update for Microsoft Defender Antivirus.

    It might come a few days later in Windows Update on My PC.

    Thanks.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2020-08-27T10:43:27+00:00

    FWIW ... I got a cumulative update yesterday 26/8, early evening KB4571744 which seems to have solved the defrag bug ... just checking through dfrgui, date and status of last trim seems to stay in place ... 

    I'm on the insider beta channel. Info under "other updates" in update history. 19042.487

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2020-08-27T01:56:28+00:00

    Hi all. They (Microsoft) Are Testing Defrag Bug Fixes In Windows 10 May 2020 Update and Windows 10 20H2 Beta Channel on Windows 10 Build 19042.487. And it seems that defrag bug fixes in Windows 10 May 2020 Update and Windows 10 20H2 Beta Channel are coming in a few days.

    News sources: Microsoft tests fix for Windows 10 bug that breaks drive defrag tool | Windows Latest

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2020-08-25T14:38:23+00:00

    Funny I have been running that same build,20197, and I have no issue with Defrag anymore, and I have been running 20197 since  flight.

    At least "Last analyzed or optimized" is remembered. I have Build 20197 in Hyper V so my drive is recognized as HDD and I cannot test what happens when running Automatic maintenance under "Security and Maintenance". What happens when you run defrag.exe -c -h -o -$ in cmd?

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2020-08-24T15:06:20+00:00

    Funny I have been running that same build,20197, and I have no issue with Defrag anymore, and I have been running 20197 since  flight.

    Was this answer helpful?

    0 comments No comments