Its acting crazy with a hard drive even with no fragmentation.Even on 20H2 its still not working correctly.Most people wouldn't notice this which is why its not being reported more.
Windows 10 2004 optimization/defrag bug
Hi all
I've just completed the Windows 10 2004 upgrade and I have noticed 2 issues.
- 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.
- 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.
171 answers
Sort by: Most helpful
-
Anonymous
2020-10-22T16:34:30+00:00 -
Anonymous
2020-09-09T04:48:36+00:00 Windows 10 update fixes annoying bug that affects your SSD drives
Some users believe that it’s not sensible to defrag the SSDs at all, but Microsoft experts have previously stated that Windows 10 does defragment your SSDs on purpose and it’s normal.
Typically, SSD is defragged once a month by default if you’ve Volume Shadow Copy feature enabled. Volume Shadow Copy is enabled when you manually turn on Windows System Restore, which is a feature that basically allows you to roll back to a previous version of the OS.
To facilitate the drives optimization process, Windows 10 comes with a tool called “Optimize Drives” that would record the last time a drive has been optimized/defragged/trimmed.
Windows also use the Automatic Maintenance feature to automate the defragmentation or optimization process.
Windows 10’s Automatic Maintenance is a feature that helps to keep your computer healthy with automated system optimizations when required. During its casual run, this feature will run specific maintenance tasks, such as security scans, system scans, and disk optimization or defragmentation.
The Automatic Mainataince feature relies on the “Optimize Drives” tool to see if the drives need to optimized (defragged when required). With May 2020 Update (version 2004), Microsoft broke the Optimize Drives (aka defragmentation tool) and the defrag tool was unable to flag that it’s already done a scheduled optimization on your SSD.
The tool could warn you that your storage is unoptimized when it is not. If you try to optimize the already optimized drive, the process will finish instantly and Windows won’t make any changes to the drives.
The problem about this flaw, though, is that the Automatic Maintenance feature could end up defragging your SSDs on every reboot because the built-in defrag tool doesn’t correctly report that it’s already done scheduled defragmentation on your SSD.
Microsoft patches the SSD defragger bug in September 2020 update
With Windows 10 KB4571756 (Build 19041.508), Microsoft has finally resolved the issues with Drive Optimize tool and Windows will stop defragging your SSDs automatically on every reboot.
Here’s a timeline of how the bug was discovered and acknowledged:
- Windows Insiders flagged the issue in January 2020.
- January’s preview Build 19551 resolved the issue.
- The bug somehow slipped into the final release of May 2020 Update.
- On August 14, Microsoft told us they’re aware of the reports.
- Build 19041.488 August optional update fixed the bug in May 2020 Update.
- Build 19041.508 patches the problem for everyone running May 2020 Update.
If you’re aware of any other issues with May 2020 Update (version 2004), let us know in the comments below.
Source: Windows Latest
-
Anonymous
2020-06-09T09:41:55+00:00 I have the same issue with defrag. It's a bug that many insiders reported to Microsoft, even before 2004 was rolled out to the general public.
There is not much you can do at the moment, just hope that they will fix it soon. Do not carry out a manual maintenance, because, as you noticed, your SSD will be defragged, which is bad for SSDs.
I've reported it via the feedback hub, perhaps you could report it also. The more that report it the better.
-
Anonymous
2020-05-29T11:07:18+00:00 Yours is one more addition to the list of problems with Windows 10 version 2004. I have had similar problems.
I do not have any solution to the problem yet.
Until then roll back to the previous version of Windows 10.
Here is how you do it:
Open Start Menu > Settings > Update & Security > Recovery. Here you will see Go back to an earlier build section, with a Get started button. Click on it. The process to revert your Windows 10 back will commence.
I dont think I can go back to the previous build as I removed my windows.old folder as I wasnt expecting any problems.
In future I’ll keep the windows.old folder. I usualky fo keep it but the 1 time I removed it is when I need it.
I just disabled the automatic drive optimization and I’ll trim them manually one a week for now.
-
Anonymous
2020-05-29T10:49:20+00:00 Yours is one more addition to the list of problems with Windows 10 version 2004. I have had similar problems.
I do not have any solution to the problem yet.
Until then roll back to the previous version of Windows 10.
Here is how you do it:
Open Start Menu > Settings > Update & Security > Recovery. Here you will see Go back to an earlier build section, with a Get started button. Click on it. The process to revert your Windows 10 back will commence.