Windows 10: Enable or Disable TRIM Support for Solid State Drives in Windows 10  

Page 1 of 2 12 LastLast
    Enable or Disable TRIM Support for Solid State Drives in Windows 10

    Enable or Disable TRIM Support for Solid State Drives in Windows 10

    How to Enable or Disable TRIM Support for Solid State Drives (SSD) in Windows 10
    Published by Category: Hardware & Drivers
    24 Mar 2017
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 22,133

    Show Printable Version 


    How to Enable or Disable TRIM Support for Solid State Drives (SSD) in Windows 10

    information   Information
    The TRIM command is essential to maintain the performance of solid state drives (SSDs) at an optimal level over the lifetime of the drive. TRIM functions by actively deleting invalid data from the SSD’s memory cells to ensure that write operations perform at full speed. Since a memory block must be erased before it can be re-programmed, TRIM improves performance by pro-actively erasing pages containing invalid data, allowing the SSD to write new data without first having to perform a time-consuming erase command.

    EXAMPLE:
    1. SSD pages contain no data.
    2. User writes data to SSD pages.
    3. User deletes some data. Pages are marked as "not in use" by the OS, but data remains on SSD.
    4. TRIM command tells SSD controller that pages contain invalid data. Pages with invalid data are cleaned.
    5. Data is written back to SSD memory cells. The invalid data had been cleaned and data is able to be written to the pages at full speed.

    TRIM support for SSDs is enabled by default, and is recommended to always keep TRIM support enabled. If disabled, you risk the SSD getting defragged instead of optimized (TRIM).

    This tutorial 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 for all users in Windows 10.

    You must be signed in as an administrator to be able to verify, enable, or disable TRIM support.

    Note   Note
    TRIM Support Requirements:
    • Windows 7, Windows 8, Windows 8.1, or Windows 10
    • BIOS/UEFI storage controller set to AHCI/SATA mode




    Here's How:

    1. Open an elevated command prompt.

    2. Do step 3 (status), step 4 (NTFS), and/or step 5 (ReFS) below for what you want to do.


     3. To Check Current Status of TRIM Support for SDDs with NTFS and ReFS File System

    A) Copy and paste the command below in the elevated command prompt, press Enter, and go to step 6 below. (see screenshots below)

    fsutil behavior query disabledeletenotify


    TRIM Support Results Description
    NTFS DisableDeleteNotify = 0 TRIM support enabled for SSDs with NTFS
    NTFS DisableDeleteNotify = 1 TRIM support disabled for SSDs with NTFS
    NTFS DisableDeleteNotify is not currently set TRIM support for SSDs with NTFS is not currently set, but will automatically be enabled if a SSD with NTFS is connected.
    ReFS DisableDeleteNotify = 0 TRIM support enabled for SSDs with ReFS
    ReFS DisableDeleteNotify = 1 TRIM support disabled for SSDs with ReFS
    ReFS DisableDeleteNotify is not currently set TRIM support for SSDs with ReFS is not currently set, but will automatically be enabled if a SSD with ReFS is connected.
    Click image for larger version. 

Name:	Verify_TRIM_support.png 
Views:	523 
Size:	25.0 KB 
ID:	62944
    Click image for larger version. 

Name:	Verify_TRIM_support-2.png 
Views:	304 
Size:	16.0 KB 
ID:	62945


     4. To Enable or Disable TRIM Support for SDDs with NTFS File System

    A) Copy and paste the command you want to use below in the elevated command prompt, press Enter, and go to step 6 below. (see screenshot below)

    (Enable 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


    Click image for larger version. 

Name:	Enable_NTFS_TRIM_support.png 
Views:	252 
Size:	233.8 KB 
ID:	62946


     5. To Enable or Disable TRIM Support for SDDs with ReFS File System

    A) Copy and paste the command you want to use below in the elevated command prompt, press Enter, and go to step 6 below. (see screenshot below)

    (Enable 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


    Click image for larger version. 

Name:	Enable_ReFS_TRIM_support.png 
Views:	273 
Size:	23.1 KB 
ID:	62947


    6. When finished, you can close the elevated command prompt if you like.




    That's it,
    Shawn


  1.    02 Jan 2017 #1

    I've enabled Trim even though I have Diskeeper 16 up and running. But when I checked to see if Trim was indeed running, I get the following,
    "NTFS DisableDeleteNotify = 0
    ReFS DisableDeleteNotify is not currently set"

    Can you please inform me as to what that second line means "not currently set"? I've just executed this command,

    fsutil behavior set disabledeletenotify ReFS 0




    And now I see this when I check to see if Trim is running ...

    NTFS DisableDeleteNotify = 0
    ReFS DisableDeleteNotify = 0

    I guess my question now is ... does that look normal to you?
      My ComputerSystem Spec


  2. Posts : 22,133
    64-bit Windows 10 Pro build 16241
    Thread Starter
       02 Jan 2017 #2

    Hello Maggidon,

    The first results indicated that you had TRIM support enabled for SSDs formatted with only NTFS, but didn't have it set for ReFS yet.

    The last results indicate that you have TRIM support enabled for SSDs formated with both NTFS and ReFS.
      My ComputersSystem Spec

  3.    02 Jan 2017 #3

    Is it ok to have both enabled with Diskeeper 16? I'm understanding one cannot format the SSD with ReFS enabled though I'm not thinking of doing that. I guess my question is, is it ok. It hasn't been enabled up to this point.
      My ComputerSystem Spec


  4. Posts : 22,133
    64-bit Windows 10 Pro build 16241
    Thread Starter
       02 Jan 2017 #4

    Yep, it's fine.
      My ComputersSystem Spec

  5.    02 Jan 2017 #5

    I used this command to enable ReFS ... fsutil behavior set disabledeletenotify ReFS 0



    I won't disable it since you say it's ok but if I wanted to disable it, would I just type in "fsutil behavior set disabledeletenotify ReFS 1
      My ComputerSystem Spec


  6. Posts : 22,133
    64-bit Windows 10 Pro build 16241
    Thread Starter
       02 Jan 2017 #6

    That would be the correct command to disable TRIM for ReFS.
      My ComputersSystem Spec

  7.    03 Jan 2017 #7

    Well I'm glad you were on here Brink. I just about went over the edge after enabling it thinking maybe I shouldn't have. I wasn't sure if I should enable that or TRIM with Diskeeper 16 but I did anyway. But now that you're saying it's ok, I'll just leave both enabled and carry on. Thank you for your help.
      My ComputerSystem Spec


  8. Posts : 22,133
    64-bit Windows 10 Pro build 16241
    Thread Starter
       03 Jan 2017 #8

    You're most welcome.
      My ComputersSystem Spec


  9. Posts : 628
    7 and 10 on various machines
       13 May 2017 #9

    Sahwan what about dual boots drives
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
Hello, When I was running Windows 7, my system had a small solid state C drive that did not have enough space for windows 10 upgrade. I got a larger 2TB regular hard disk and used the manufacturer's software to clone the old Windows-7 SSD C drive...
Performance & Maintenance Enable or Disable Hibernate in Windows 10 in Tutorials
How to Enable or Disable Hibernate in Windows 10 Hibernate is a power-saving state designed primarily for laptops, and might not be available for all PCs (PCs with InstantGo don't have the hibernate option). While sleep puts your work and...
I hope shortly to receive a "pre-owned" Dell M6800 laptop with a 128GB Solid State Disk (SSD) and a 750GB HDD. It comes with 8.1 installed (shudder) and I will upgrade to 10 immediately as I couldn't tolerate 8 or 8.1. Once I've done that, I'll...
So since I am 12 I am probably going to get a lot for Christmas. So I decided I will make my notebook laptop into a gaming PC. Before you think; Laptop.. Gaming PC? It is a beast of a laptop and it has beaten many desktops at video games,...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:45.
Find Us