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
- 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
May be interested
- Configure Always On VPN in Windows 10 with Microsoft Intunealways on vpn is designed to use mobile device management (mdm) platforms like microsoft intune. using intune, administrators can create and deploy distributed vpn profiles for any windows 10 device anywhere.
- 6 ways to rename files and folders in Windows 10renaming a file or folder is a common task that is probably familiar to any windows user. however, few people know that there are 6 different ways to rename a file or folder on windows 10, specifically as follows:
- Learn about the Always On VPN feature on Windows 10one of the standout features of windows 10 is always on vpn. so what is it and how do you use always on vpn? what about directaccess? the answer will be in the following article.
- How to turn on / off automatically restore News Bar when minimized in Windows 10you can choose to have the news bar restore automatically after 2 hours, after 8 hours or never, when you minimize the news bar to an icon on the taskbar.
- How to check the Reserved Storage capacity in Windows 10the new reserved storage feature is available for testing for windows insider users running build 18298 or later. this guide will show you how to check the reserved storage capacity in windows 10.
- How to change the News Bar background color in Windows 10this tutorial will show you how to change the news bar background color to be transparent or match a light or dark theme in windows 10.