From Windows 7 and up, the TRIM command is already enabled to help optimize your SSDs by default, so there shouldn’t be any reason for you to need to enable it yourself.

However, if you want to double check that it is working, or disable it for a short period before enabling it again, you can do that using the guide below. Keeping TRIM disabled runs the risk of the sold state drive getting defragged instead of optimized.

SSDs are relatively low maintenance bits of hardware, which is why they’re installed on so many computers. They also travel well since an SSD can take the odd bump and still come out of it OK. The one thing they do need working for them though is TRIM, a command that helps maintain the SSD so they can continue to perform at their optimum level.

Over time, the solid state drive would have no way of erasing a file’s contents if it weren’t for TRIM. However, with TRIM erasing the files once they’ve been deleted, it allows the SSD to continue performing quickly because no files are building up.

Note: You can open Optimize Drives from Search to see if your drives are currently being optimized with TRIM.

The following tutorial demonstrates how to enable or disable TRIM on all versions of the Windows 10 operating system.

How to Enable or Disable TRIM Support for Solid State Drives (SSD) in Windows 10

1. Open the elevated Command Prompt.

2. If prompted by User Account Control and asked “Do you want to allow this app to make changes to your device?,” click on the “Yes” button.

3. To check the current status of TRIM for SSDs (sold state drives) with NTFS and ReFS file system, type the following command:

fsutil behavior query disabledeletenotify

4. To enable TRIM for SSDs with an NTFS file system, type the following command and then press the “Enter” key on your keyboard:

fsutil behavior set disabledeletenotify NTFS 0

5. To disable TRIM for SSDs with an NTFS file system, type the following command and then press the “Enter” key on your keyboard:

fsutil behavior set disabledeletenotify NTFS 1

6. To enable TRIM for SSDs with a ReFS file system, type the following command and then press the “Enter” key on your keyboard:

fsutil behavior set disabledeletenotify ReFS 0

7. To disable TRIM for SSDs with a ReFS file system, type the following command and then press the “Enter” key on your keyboard:

fsutil behavior set disabledeletenotify ReFS 1

That’s all.