How to enable / disable TRIM support for SSDs in Windows 10

This guide will show you how to check the current status of TRIM support for SSDs and to enable or disable TRIM support for NTFS and ReFS file systems in Windows 10.

The TRIM command is essential to maintain the performance of SSDs at an optimal level throughout its life cycle. TRIM proactively removes invalid data from SSD memory cells to ensure write operations take place at maximum speed.

Because the memory block must be erased before it can be reprogrammed, TRIM improves performance by actively deleting pages that contain invalid data, allowing the SSD to write new data without having to do so. Delete command takes time.

TRIM support for SSDs is enabled by default and is recommended to always be enabled. If turned off, there is a risk of SSD fragmentation instead of optimization.

This guide will show you how to check the current status of TRIM support for SSDs and to enable or disable TRIM support for NTFS and ReFS file systems in Windows 10.

Note : You must be logged in as an administrator to verify, enable or disable TRIM support.

Here's how:

1. Open Command Prompt with admin rights.

2. Perform step 3 (see status), step 4 (for NTFS) and / or step 5 (for ReFS) below, depending on what you want to do.

How to check the current status of TRIM support for SSD

3. To check the current status of TRIM support for SDD with the NTFS and ReFS file systems, copy and paste the below command into the Command Prompt, press Enterand go to step 6 below.

fsutil behavior query disabledeletenotify
TRIM support results Description NTFS DisableDeleteNotify = 0 (Disabled) TRIM support is enabled for SSDs with NTFS NTFS DisableDeleteNotify = 1 (Enabled) TRIM support is disabled for SSDs with NTFS NTFS DisableDeleteNotify is not currently set TRIM support for SSDs with NTFS has not been currently set up, but will automatically be enabled, if an SSD with NTFS is connected. ReFS DisableDeleteNotify = 0 (Disabled) TRIM support is enabled for SSDs with ReFS ReFS DisableDeleteNotify = 1 (Enabled) TRIM support is disabled for SSDs with ReFS ReFS DisableDeleteNotify is not currently set TRIM support for SSDs with ReFS are currently not set, but will automatically be enabled, if SSDs with ReFS are connected.
Picture 1 of How to enable / disable TRIM support for SSDs in Windows 10
How to check the current status of TRIM support for SSD

How to enable TRIM support for NTFS and ReFS file systems

4. To enable or disable TRIM support for SDD with the NTFS file system, copy and paste the command you want to use below into the Command Prompt, press Enterand go to step 6 below.

(Activate TRIM support for SSDs with NTFS)

fsutil behavior set disabledeletenotify NTFS 0

Or:

(Disable TRIM support for SSDs with NTFS)

fsutil behavior set disabledeletenotify NTFS 1
Picture 2 of How to enable / disable TRIM support for SSDs in Windows 10
How to enable TRIM support for NTFS and ReFS file systems

How to turn off TRIM support for NTFS and ReFS file systems

5. To enable or disable TRIM support for SDD with the ReFS file system, copy and paste the command you want to use below into the Command Prompt, press Enterand go to step 6 below.

(Activate TRIM support for SSDs with ReFS)

fsutil behavior set disabledeletenotify ReFS 0

Or:

(Disable TRIM support for SSDs with ReFS)

fsutil behavior set disabledeletenotify ReFS 1
Picture 3 of How to enable / disable TRIM support for SSDs in Windows 10
How to turn off TRIM support for NTFS and ReFS file systems

6. When done, you can Command Prompt if desired.

Update 16 April 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile