• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Optimized SSD drives keep showing "Never run"

Joined
Jan 5, 2006
Messages
18,584 (2.63/day)
System Name AlderLake
Processor Intel i7 12700K P-Cores @ 5Ghz
Motherboard Gigabyte Z690 Aorus Master
Cooling Noctua NH-U12A 2 fans + Thermal Grizzly Kryonaut Extreme + 5 case fans
Memory 32GB DDR5 Corsair Dominator Platinum RGB 6000MT/s CL36
Video Card(s) MSI RTX 2070 Super Gaming X Trio
Storage Samsung 980 Pro 1TB + 970 Evo 500GB + 850 Pro 512GB + 860 Evo 1TB x2
Display(s) 23.8" Dell S2417DG 165Hz G-Sync 1440p
Case Be quiet! Silent Base 600 - Window
Audio Device(s) Panasonic SA-PMX94 / Realtek onboard + B&O speaker system / Harman Kardon Go + Play / Logitech G533
Power Supply Seasonic Focus Plus Gold 750W
Mouse Logitech MX Anywhere 2 Laser wireless
Keyboard RAPOO E9270P Black 5GHz wireless
Software Windows 11
Benchmark Scores Cinebench R23 (Single Core) 1936 @ stock Cinebench R23 (Multi Core) 23006 @ stock
Capture.PNG


The above is showing while I did optimize them hours ago.
This is since the windows 10 2004 update.

Also scheduling the drives for optimization has never worked on windows 10 for me, after a few days the option to schedule gets disabled.
 
It just runs TRIM. Don't worry about it.
 
It's a bug in the current windows version, supposedly only in the reporting and not the actual functioning,. There is currently no workaround afaik.
 
It's a bug in the current windows version, supposedly only in the reporting and not the actual functioning,. There is currently no workaround afaik.

A fix for that should arrive at some point. On current Insider builds it reports last run normally

20200807-191628.png


Off-topic, but I should give it a run while I have the thing open :D
 
Supposedly if you click 'Start Maintenance' it's defragmenting SSDs, and running TRIM on HDDs.
Maintence.jpg



 
Hi,

currently the defrag task is broken.

Even manually setting the date does not properly correct the scheduled task run time.

Thankfully, the actual flags are set correctly.

You can read more about defrag here in a post I made clarifying it.


You can correct the problem to make certain it continues to actually run, though the dates will not come back. (In the GUI, more on this later)

This GIF shows that manually setting the date does not correct the task. (This is all done on my personal machine (Build 2004) while typing this.

6JYPS7NRsA.gif


Now the flags of the task itself are in fact correct.

The issue, is that if the core windows task is modified it will set an entry letting the OS know you are utilizing a custom task. This means if you attempt to manually run defrag it will not let you open the GUI it will ask you to allow it to reset the task first. So keep that in mind.

Lets make sure that the task works as is before we make modifications too it.

The flags as mentioned are correct and trim will run after the initial runs. We use the GUI at this time to make sure the task is firing correctly. Assuming you have not made modifications it should run without an issue.

Fd1bDPGx27.gif


dfrgui_jXIGwhMFo6.png


Now to schedule it to run. By DEFAULT when it did work this was normally done weekly.

Lets get started.

lets modify the properties of the defrag task itself.

mmc_bUDGcvhupc.png


Now we have the task properties box. We can modify a lot of the options but specifically we will want the "Triggers" tab.

mmc_xDepJNbM6T.png


As we can see it is empty.

mmc_ShwxNLkiKk.png


You are going to want to click "New"

mmc_u1tJiaKeo4.png


As you can see I set mine to run weekly to keep with the windows recommended settings. I also set the day and time to reflect when I normally use the machine.

Lastly I have the trigger enabled. Click "OK" to save.

mmc_Nc0KYqC0L9.png


Perfect, but what if you are not online? Well by default this task is set to "catch up" if you miss it. But you can check this in the settings tab.

mmc_YDQdFWMrqf.png


You want to make sure "Run as soon as possible after a scheduled start is missed" This will pop the task regardless if you miss the time, or day.

Finally ok out of all the dialogue options. Now you should have a next scheduled run time.

mmc_XlvT4XgDer.png


Perfect, we can run it for good measure, but it will run by itself now and we can use this to make certain it does, because task manager will correctly record the time. not to mention you have again automated disk maintenance. Good job.

What about the GUI issue I mentioned before? Well we modified the task. Lets take a look.

dfrgui_PKBr5tSS3C.png


You can elect to keep, and it will close. Defrag GUI will not open. If you choose to remove, Defrag will open but the task is reset.

If you want to make additional modifications you can, just utilize the link I provided in my post in the other thread. You can use the docs to specify specific disks etc etc etc.
 
Last edited:
Is it running the kind of defragmentation for a HDD on a SSD in your animated gif? I understand an SSD requires a certain level of defrag but it appears to be doing a full blown defrag on that SSD.
 
Is it running the kind of defragmentation for a HDD on a SSD in your animated gif? I understand an SSD requires a certain level of defrag but it appears to be doing a full blown defrag on that SSD.

As in the explination.

1596999256720.png


There is no magic here. This is what the defrag UI uses.
 
You can run the following powershell command:

Optimize-Volume -DriveLetter C -ReTrim -Verbose

Save the command to a .ps1 file, add lines for other SSDs you have, save it and schedule it to run at whatever interval you want.
 
Microsoft confirms issues with Windows 10 2004 drive optimizer

The company was made aware of issues with drive optimization tool during the beta testing of a future Windows 10 update. This issue reportedly slipped through the production build and Microsoft is now planning to fix it in the next optional update.
In a statement to Windows Latest, Microsoft confirmed that May 2020 Update has caused issues with the built-in Drive Optimizer tool.
At the moment, it appears that the fix could be included in next week’s optional update, also known as “C” preview release. This month’s optional update is expected to arrive next week.
Internally, the optional updates are known as the ‘C’ release (C for the third week of the month), while Patch Tuesday updates are known as the B release because they arrive in the second week of the month.
The ‘C’ optional update for Windows 10 includes the non-security fixes that will be included in the following B release. If you skip the optional update, which is expected to arrive on Tuesday, you can still get the fixed drive optimization tool with September Patch Tuesday update.
 
It's a bug in the current windows version, supposedly only in the reporting and not the actual functioning,. There is currently no workaround afaik.

This, the newest win10 buiild is bugged and your better off turning it off for all SSD's. Then just manually doing it.
 
It's fixed now by windows updates. :)
 
Yep just noticed that they fixed it now.
 
Back
Top