Share via

TRIM on external usb SSD

Eigil Krogh Sorensen 121 Reputation points
2022-04-13T11:36:00.007+00:00

Microsoft Windows Version 22H2 (OS Build 22593.1)

I have attached a Crucial. CT1024MX200SSD1 SSD via usb.

Settings says this about the drive:
"
System > Storage > Disks & volumes > Crucial_ CT1024MX200SSD1
Name Crucial. CT1024MX200SSD1
Disk ID 3
Manufacturer Crucial-
Model CT1024MX200SSD1
Serial number
Media HDD
Bus type USB
Location Bus number 0, Target ID 0, LUN 0
Capacity 931 GB
Type Basic
Advanced Disk Properties
Status
Online
"

Thus Windows 11 treats the drive ad a HDD.

In the PC there is another Crucial_ SSD:
"
System > Storage > Disks & volumes > CT2000MX500SSD1
Name CT2000MX500SSD1
Disk ID 1
Manufacturer
Model CT2000MX500SSD1
Serial number
Media SSD
Bus type RAID
Location Bus number 0, Target ID 3, LUN 0
Capacity 1,81 TB
Type Basic
Advanced Disk Properties
Status
Online
"

As can be seen Windows 11 treats that SSD as a SSD.

QUESTION:
How do I enable TRIM on the Crucial. CT1024MX200SSD1 SSD connected via usb ?

--
Eigil

Windows for business | Windows Client for IT Pros | User experience | Other

Answer accepted by question author

  1. Limitless Technology 40,101 Reputation points
    2022-04-19T08:00:01.003+00:00

    Hi EigilKroghSorensen-9377,

    TRIM ia a command not supported via USB. If Windows "Defragment and Optimize" detects your enclosure as SSD, you can use its OPTIMIZE function or resort to third-party software to force-trim manually or on schedule.

    Another option is to make a batch file with "defrag X: /L /U /V" (X is the letter of your SSD) and use it manually, or set up a schedule in Windows Scheduler.

    To create a .bat file, paste the defrag X: /L /U /V command into Notepad, hit 'File'->'Save As" and save it as trim.bat
    You can then use this file manually or set up on a schedule.


    --If the reply is helpful, please Upvote and Accept as answer--


2 additional answers

Sort by: Most helpful
  1. ‪ ‪GreenCat 0 Reputation points
    2024-03-19T10:55:45.7233333+00:00

    Windows only supports Trim for UAS (USB Attached SCSI) device.

    Use newer as possible as USB-SATA converter.

    0 comments No comments

  2. Rob T 1 Reputation point
    2022-12-11T15:24:09.277+00:00

    @Limitless Technology

    On my systems, Windows 11 recognizes one USB SSD as an SSD and will perform the Trim function on it but will not perform the Trim function on a second USB connected SSD drive. Attempting to execute defrag X: /L /U /V returns an error that the function is not compatible with the drive.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.