How to check, Enable and Disable TRIM Support in Windows 10

In this post, we will see how to check if TRIM is enabled on your Windows 10/8/7 PC and how to disable or enable TRIM support in Windows 10, in order to make your SSD or Solid State Drives run at optimal performance.
Windows now includes an improved Storage Optimizer. When the Storage Optimizer detects that the volume is mounted on an SSD – it sends a complete set of TRIM hints for the entire volume again – this is done at idle time and helps to allow for SSDs that were unable to cleanup earlier – a chance to react to these hints and cleanup and optimizer for the best performance.
In case you do not know, TRIM is a storage level hint, NTFS sends for some normal inline operations such as “deletefile.” NTFS will send such trim hints when files are deleted or moved from those regions; SSDs consume these hints to perform a cleanup in the background called as ‘reclaim’ that helps them get ready for next writes.
In short, TRIM, introduced in Windows 7, is a way of communicating with SSDs about sectors that are not needed any more.

Check if TRIM is enabled

To check if TRIM is enabled on your Windows 10 PC, from the WinX Menu, open Command Prompt (Admin), type the following and hit Enter:
fsutil behavior query DisableDeleteNotify
check disable enable trim
If you see a 0 it means that TRIM is enabled and you do not need to do anything further.
But if you receive a 1, it means that TRIM is disabled and you need to enable it.

Enable TRIM in Windows 10

To enable TRIM, in the CMD windows, type the following and hit Enter:
fsutil behavior set DisableDeleteNotify 0

Disable TRIM

If you need to disable TRIM for some reason, use the following command:
fsutil behavior set DisableDeleteNotify 1
If should be noted that TRIM will work only if your Solid State Drive supports it on your Windows 10/8/7 computer.