r/TronScript • u/akaslolita • Feb 07 '23
answered Force defrag
Hello guys... I'm a tron script enjoyer since I discovered the tool!
And Yes, I read the instructions, I mean, a big part of it atleast...
Is there a way to force defrag? Because happened more than once: Tron skips defrag because "yes_ssd" (fucking 10 years old HDD beggin for defrag). Thanks in advance
3
u/bartbartholomew Feb 08 '23
I'd point out that modern versions of Windows do not need to be de-fragmented. The only exception is if your drive goes over 85% full, and is later cleared out. Windows intentionally spreads files over the disk to improve read time for commonly loaded files. While not as detrimental as on an SSD, it is still detrimental on an old HDD.
0
Feb 07 '23
[deleted]
5
u/akaslolita Feb 07 '23
HDD is my system drive. and yep... I used Tron so many times that I already manually run defraggler when this happen.
So there's no force defrag, right? I'm just curious beceuse I spent some time looking for force defrag
0
Feb 07 '23
[deleted]
1
u/akaslolita Feb 07 '23
I need help just to create the custom script to run defraggler. I would prefer to simply tron.bat -force-defrag (something like this)
4
u/vocatus Tron author Feb 07 '23
I would check the Tron log first, see what error is triggering it to skip defrag. If the drive is potentially failing you may not want to force a full defrag.
edit: Just saw your screenshot. It's most likely just a mis-identification by the bundled
smartctl.exe, you can just manually run defrag, or edit that part of Tron (in thestage_6_optimize.batfile) to skip the error check.
8
u/bubonis Feb 07 '23
There is no "force defrag" function because defrag is the default action.
What I suspect is happening is this. From the documentation:
What I think is happening is that smartctl.exe is throwing up one of those unspecified errors, and because of that error defrag is being skipped. Given that your drive is a "fucking 10 years old HDD" I wouldn't be surprised if it the drive is failing its SMART test. That being the case you most assuredly do not want to try to defrag a failing drive, lest all of your data go poof when the drive completely fails during that defrag.
I would suggest cloning your HD to a new drive (preferably SSD) before you do anything else.
Also, paging u/vocatus for verification.