[SOLVED] SSD Windows 10 Trim

Kalik212

Distinguished
Sep 28, 2015
138
1
18,585
I have 1 NVMe as my main drive with Windows 10 installed on it...I have a secondary SSD drive also installed...I have scheduled the Windows 10 built-in defrag to run on a schedule (weekly)...but both drives never seem to get re-trimmed on a weekly basis

a defrag ran once after I did a fresh reformat but then it hasn't run since...is something wrong or is this normal?...do I need to manually click the 'Optimize' button for it to run?...I thought scheduling it to run once a week would do that on its own?...I use both drives a lot for gaming, internet browsing, Office work etc

 
Solution
defragmentation schedule task has low priority...PC must be idle, not on battery and it wont wake up your PC, once it starts and you do something, it will stop, priority will gets increased if it misses it for three consecutive times

if you think you drive is slow because windows fails a trimming properly, you can create your own scheduled task with trim command in it
powershell command: Optimize-Volume -DriveLetter X -ReTrim -Verbose (replace X with your drive letter)
and here guide on how to create scheduled task for powershell commands
the rule of thumb in the ssd industry is to recommend you don't defrag them, yes defragment a HDD but not an SSD

yes I know that...it's not doing a defrag, it's doing a re-trim...Windows 10 detects if an SSD is installed and does a re-trim instead of a traditional defrag

my question was, how come it's not doing a re-trim according to the weekly schedule I set
 
defragmentation schedule task has low priority...PC must be idle, not on battery and it wont wake up your PC, once it starts and you do something, it will stop, priority will gets increased if it misses it for three consecutive times

if you think you drive is slow because windows fails a trimming properly, you can create your own scheduled task with trim command in it
powershell command: Optimize-Volume -DriveLetter X -ReTrim -Verbose (replace X with your drive letter)
and here guide on how to create scheduled task for powershell commands
 
Solution
defragmentation schedule task has low priority...PC must be idle, not on battery and it wont wake up your PC, once it starts and you do something, it will stop, priority will gets increased if it misses it for three consecutive times

if I'm not using my PC and the screen saver is enabled, is that considered idle?...is it OK to click on the 'Optimize' button inside the Windows defragmenter if I see it hasn't done a re-trim in over 2 weeks?...or maybe use the Samsung Magician software to do a Trim?
 
I have 1 NVMe as my main drive with Windows 10 installed on it...I have a secondary SSD drive also installed...I have scheduled the Windows 10 built-in defrag to run on a schedule (weekly)...but both drives never seem to get re-trimmed on a weekly basis

a defrag ran once after I did a fresh reformat but then it hasn't run since...is something wrong or is this normal?...do I need to manually click the 'Optimize' button for it to run?...I thought scheduling it to run once a week would do that on its own?...I use both drives a lot for gaming, internet browsing, Office work etc

In your setup it checks weekly to see if a retrim is needed.
If it is needed a retrim happens.
If it is not needed it does nothing.

I see a 28 to 35 day cycle when the retrim occurs.
 
I have 1 NVMe as my main drive with Windows 10 installed on it...I have a secondary SSD drive also installed...I have scheduled the Windows 10 built-in defrag to run on a schedule (weekly)...but both drives never seem to get re-trimmed on a weekly basis

Don't be paranoid about trim or defrag frequency. It will only be done if Windows deems it necessary, regardless of schedule.
There is nothing wrong with the your scheduler. Understand what it says >> " ...... optimised as necessary".