How to enable / disable TRIM support for SSDs 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 Enter
and 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. 
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 Enter
and 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

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 Enter
and 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

6. When done, you can Command Prompt if desired.
You should read it
- The TRIM hard drive error on Windows Defrag has not been fixed
- How to Trim a Video on PC or Mac
- Decorate the Mid-Autumn fruit tray with roses, chrysanthemum, water lily made from super beautiful papaya
- List of MSI motherboards that support Windows 11
- TRIM (function to remove spaces in text) in Excel
- Why did Microsoft end support for Windows 8.1?
- How to Trim a Video on iMovie
- Instructions for setting up Windows Hello face recognition on Windows 10
- How to use the function to delete spaces in Excel
- Windows 7 is equipped with SHA-2 Support, which supports future updates
- Some versions of Windows 10 have an extended support period
- Windows 10 only has 2 more years of support left
May be interested
Configure Always On VPN in Windows 10 with Microsoft Intune
6 ways to rename files and folders in Windows 10
Learn about the Always On VPN feature on Windows 10
How to turn on / off automatically restore News Bar when minimized in Windows 10
How to check the Reserved Storage capacity in Windows 10
How to change the News Bar background color in Windows 10