How to check, disable, enable 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.

When you run the command, you may alternatively see one of these results:

Enable TRIM in Windows 10

NTFS DisableDeleteNotify = 0 (Disabled)  > Means > TRIM support enabled for SSDs with NTFS
ReFS DisableDeleteNotify = 0 (Disabled) > Means > TRIM support enabled for SSDs with ReFS

NTFS DisableDeleteNotify = 1 (Enabled) > Means > TRIM support disabled for SSDs with NTFS
ReFS DisableDeleteNotify = 1 (Enabled) > Means > TRIM support disabled for SSDs with ReFS

NTFS DisableDeleteNotify is not currently set > Means > TRIM support for SSDs with NTFS is not currently set, but will automatically be enabled if SSD with NTFS is connected.
ReFS DisableDeleteNotify is not currently set > Means > TRIM support for SSDs with ReFS is not currently set, but will automatically be enabled if SSD with ReFS is connected.

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.

Posted by on , in Category Windows with Tags
Anand Khanse is the Admin of TheWindowsClub.com, a 10-year Microsoft MVP Awardee in Windows (2006-16) & a Windows Insider MVP. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.

5 Comments

  1. vijer

    If 0 means Trim is enabled why does the command:

    fsutil behavior query DisableDeleteNotify

    return (Disabled)?

    NTFS DisableDeleteNotify = 0 (Disabled)
    ReFS DisableDeleteNotify = 0 (Disabled)

  2. Janno Camacho

    yea mine too.. how??

  3. vijer

    Not to mention the fact that 1’s and 0’s have always meant on and off so the logic of this is ridiculous. But Samsung’s software confirms it.

  4. Dimitri Wittal

    It’s a double negative. DisableDeleteNotify is disabled, thus DeleteNotify (TRIM) is enabled.

  5. vijer

    Ya, I guess we should pay attention to the Disable part. Still a strange way of enabling TRIM. Why not NTFS TrimEnabled = 1, seems clearer.

Leave a Reply

Your email address will not be published. Required fields are marked *


6 + 9 =