The recent update of Windows 10 brought a bug that can cause troubles to users using SSDs. The problems appeared in reports after the 2004 version of Windows 10 was released in May 2020. Complaints said the optimization tool was failing to record the last time a storage drive had been defragmented. In this way, Windows 10 did more drive optimization than it should, which directly affects the lifespan of an SSD.
A disk is defragmented so that data can be accessed more quickly. However, optimization also wears out the disk itself. Therefore, Windows 10 should know the last time a disk has been optimized so that there is no unnecessary wear and tear. But due to the bug in Version 2004, the disk optimization tool is performing defragments every time the device to which the disk is connected is restarted.
Watch: Marvel’s Avengers Beta: Gameplay
This means that some SSDs are suffering from the defragmentation process 30 times more than expected. One of the advantages of SSDs over HDDs is that there are few moving parts. But SSDs shouldn’t be defragged too often. If the SSD is defragged several times a day, the health of the file storage area will be affected.
How to disable defragmentation in Windows
- Press the Windows + Q keys and type CMD;
- Right-click on CMD and select Run as Administrator;
- Paste the commands below and press Enter:
REG ADD “HKEY_LOCAL_MACHINE SOFTWARE Microsoft Dfrg BootOptimizeFunction” / V Enable / T REG_SZ / DN / F
REG ADD “HKEY_LOCAL_MACHINE SOFTWARE Microsoft Dfrg BootOptimizeFunction” / V OptimizeComplete / T REG_SZ / D No / F
REG ADD “HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows CurrentVersion OptimalLayout” / V EnableAutoLayout / T REG_DWORD / D 0 / F
Microsoft has already recognized the problem and has already made the fix available to the Insider program members with Windows 10 Build 19042.487 (20H2). While ordinary system users have to wait for the final version of the update. It is recommended to disable automatic defragmentation to prevent future damage.