Trim command SSD

Talk about anything
trust_me
Posts: 98
Joined: 29 Jul 2017, 10:46

Trim command SSD

12 Sep 2018, 08:21

I replaced harddisk on a winXP system with a ssd but i cannot find a compatible third party trim utility ( AHCI not avaiable ).I wonder if i could use a win10 pc just to do the trimming from time to time.

The info on trim is quite confusing because it seems that it is the operating system that informs the ssd during the trim which locations can be erased so linking it to another pc seems to be unlogical.The internal "garbage collection" of a ssd seems not to take care of deleted files easily

Anyone who can clear this up :)

Thanks in advance.

btw it works great on winxp start up is 15sec instead of almost 2 min !!
garry
Posts: 3760
Joined: 22 Dec 2013, 12:50

Re: Trim command SSD

12 Sep 2018, 15:03

I've read this (german) , but I used in WINDOWS-10
a short script to show if TRIM is ON/OFF

echo if disabledeletenotify=0 then OK ( TRIM is ON )
echo command to ask =
echo fsutil behavior query disabledeletenotify
echo otherwise use (set) =
echo fsutil behavior set disabledeletenotify 0

Code: Select all

;- fsutil SSD Tool
/*
F1=http://www.computerbild.de/artikel/cb-Tipps-Software-Windows-fuer-SSDs-optimieren-16282671.html
run,%f1%
return

;-PAGE 22 <22 > : TRIM  / ON-OFF with  fsutil , if 0 is ok ( TRIM is ON )

Nicht nur Festplatten auch SSDs arbeiten im Laufe der Zeit langsamer , da sie
Speicherbereiche von gelöschten Dateien nicht sofort mit neuen Dateien beschreiben
können. Vor dem Speichern einer neuen Datei in solche Bereiche ist es nötig, sie zu
leeren. Das bremst Schreibvorgänge. Hier kommt die TRIM-Funktion ins Spiel: Sie
bereinigt die SSD-Bereiche gelöschter Dateien von Zeit zu Zeit automatisch. Sie sollten
prüfen, ob Windows Ihrer SSD den TRIM-Befehl schickt - schalten Sie die Funktion
gegebenfalls ein . Das klappt ohne Zusatzsoftware : Oeffnen Sie die Kommandozeile,
indem Sie im Startmenü nach 'cmd' suchen und CTRL+Shift+Enter drücken. (WIN+r > cmd )
Erscheint eine Warnmeldung der Benutzerkonten-Steuerung, klicken Sie darin auf Ja .
Geben sie den Befehl 
-fsutil behavior query disabledeletenotify
ein, um zu prüfen, ob TRIM aktiviert ist . Erscheint das Ergebnis 0, ist alles okay.
Gibt das System eine 1 aus, is TRIM ausgeschaltet - korrigieren Sie die Einstellung 
-fsutil behavior set disabledeletenotify 0
*/

/*
adm:=a_isadmin
if (adm=0)
Gosub,admin1
*/

;- show drive c
e4x=
(Ltrim Join&
@echo off
echo if disabledeletenotify=0 then OK ( TRIM is ON )
echo command to ask =
echo fsutil behavior query disabledeletenotify
echo otherwise use =
echo fsutil behavior set disabledeletenotify 0
echo --------------------------------
cd\
c:
fsutil behavior query disabledeletenotify
)
Run, %COMSPEC% /k %e4x%
return

/*
admin1:
try
  Run, *RunAs "%A_ScriptFullPath%"
Exitapp		
Return
*/
trust_me
Posts: 98
Joined: 29 Jul 2017, 10:46

Re: Trim command SSD

13 Sep 2018, 01:51

Thanks garry :)

Return to “Off-topic Discussion”

Who is online

Users browsing this forum: No registered users and 42 guests