How to see if TRIM is enabled for SSD in Windows 10

TRIM is a special ATA command which was developed to keep the performance of your SSD drives at peak performance for the duration of your SSD's life. TRIM tells the SSD controller to erase invalid and not used data blocks from the storage in advance, so when a write operation happens, it finishes faster because no time is spent in erase operations. Without TRIM automatically working at the system level, your SSD performance will degrade over time unless you manually use a tool which can send the TRIM command to it. So it's always a good idea to check if TRIM is correctly enabled for your SSD in Windows 10 and enable it, if it is disabled.


ssd banner logoAs you may know, when you delete any data from your solid state drive, Windows marks it as deleted. However, the data physically remains on the drive and can be recovered. It is the SSD controller's garbage collection, wear levelling algorithms and TRIM which tell it to wipe the blocks so they are empty and ready to be rewritten.

So, thanks to TRIM, storage blocks which contain the deleted data will be wiped and the next time the same area is written to, the write operation will be performed faster.

How to see if TRIM is enabled for your SSD in Windows 10

To see if TRIM is enabled for your SSD in Windows 10, you need to run a single console command in an elevated command prompt. Do it as follows.

  1. Open an elevated command prompt instance.Windows 10 open command promptWindows 10 elevated command prompt
  2. Type or copy-paste the following command:
    fsutil behavior query disabledeletenotify
  3. In the output, take a look at the DisableDeleteNotify value. If it is 0 (zero), then TRIM is enabled by the operating system. If it is disabled, then the value of DisableDeleteNotify will be 1.

In the following example, TRIM is enabled for the disk drive where Windows 10 is installed:Windows 10 check TRIM status

How to enable TRIM for SSD in Windows 10

To enable TRIM for SSD in Windows 10, you need to do the following:

  1. Open an elevated command prompt instance.
  2. Type or copy-paste the following command:
    fsutil behavior set disabledeletenotify 0

    This will enable TRIM support for the solid state drive.

  3. If you decide to disable it in the future, you can do it with the following command:
    fsutil behavior set disabledeletenotify 1

Windows 10 change TRIM statusEverything above is also applicable to Windows 8 and Windows 7.

That's it. You are done. Now, check your TRIM status and tell us which SSD you have and which TRIM status it has in Windows 10.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!


Author: Sergey Tkachenko

Sergey Tkachenko is a software developer from Russia who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

8 thoughts on “How to see if TRIM is enabled for SSD in Windows 10”

  1. Hi Sergey Tkachenko,

    I have DisableDeleteNotify = 0 on the SSD that I have Win 10 installed. But I have another SSD for can I check that DisableDeleteNotify is enabled as well for that SSD?

      1. The output is DisableDeleteNotify = 0. I just wanted to make sure if there is a way to check if other SSDs installed have it enabled as well.

        1. DisableDeleteNotify corresponds to a single key in the Registry of the same name in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem – this key doesn’t appear to make any distinction between drives.

          If you really want to test, try trimcheck from Run it from the non-system SSD, run Defragment and Optimise Drives (dfrgui.exe), optimise that drive and see if trimcheck reports success. Running dfrgui manually shouldn’t be a problem; as far as I know, Windows only TRIMs on a schedule.

  2. Interesting. I ran the command prompt to see if Trim was enabled and the results were “=0 (DISABLED)”. I followed up with the command prompt to include “=1” and the result came back “=1 (ENABLED). This is the opposite of your instructions. I am running Windows 10, latest updates as of 3/3/2019. I assume the words enabled and disabled are real-time results. What could be wrong?

Leave a Reply

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