Windows 8 and 8.1 Forums


TRIM Support for SSD - Check and Enable or Disable

  1. #1
    TRIM Support for SSD - Check and Enable or Disable

    TRIM Support for SSD - Check and Enable or Disable
    How to Check and Enable or Disable SSD TRIM Support in Windows 7 and Windows 8
    Published by Brink is online now
    23 Jan 2014
    Default TRIM Support for SSD - Check and Enable or Disable

    Published by


    Brink's Avatar
    Administrator

    Join Date: Jul 2009
    Posts: 22,479

    How to Check and Enable or Disable SSD TRIM Support in Windows 7 and Windows 8


    information   Information
    The TRIM command helps 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.


    For more information about TRIM support, see:




    This tutorial will show you how to check the current status of TRIM support for SSDs, and to enable or disable TRIM in Windows 7 and Windows 8.

    You must be signed in as an administrator to be able to do the steps in this tutorial.

    Note   Note
    TRIM Support Requirements:

    • Windows 7 or Windows 8
    • SSD with TRIM enabled firmware
    • BIOS/UEFI storage controller set to AHCI/SATA mode




    Here's How:

    1. Open an elevated command prompt in Windows 7 or Windows 8, and do step 2, 3, or 4 below for what you would like to do.

    2. To Check if TRIM Support for SSDs is Enabled or Disabled

    A) In the command prompt, copy and paste the command below, and press Enter. (see screenshot below)


    fsutil behavior query disabledeletenotify


    B) Compare the results you got to the note box below to see if TRIM support is currently enabled or disabled, and go to step 5 below.


    Note   Note
    DisableDeleteNotify = 1 = TRIM support disabled

    DisableDeleteNotify = 0 = TRIM support enabled



    Click image for larger version

    3. To Enable TRIM Support for SSDs
    NOTE: This is the default and recommended setting.

    A) In the elevated command prompt, copy and paste the commands below one at a time, press Enter after each one, and go to step 5 below. (see screenshot below)

    (For NTFS and ReFS v1)
    fsutil behavior set disabledeletenotify 0

    (For ReFS v2)
    fsutil behavior set DisableDeleteNotify ReFS 0

    Click image for larger version

    4. To Disable TRIM Support for SSDs

    A) In the elevated command prompt, copy and paste the commands below one at a time, press Enter after each one, and go to step 5 below. (see screenshot below)

    (For NTFS and ReFS v1)
    fsutil behavior set disabledeletenotify 1

    (For ReFS v2)
    fsutil behavior set DisableDeleteNotify ReFS 1

    Click image for larger version

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



    That's it,
    Shawn


  2. #1


    I checked and TRIM is enabled, but there is a second line below that tells me that
    Refs is not set.
    What does this mean?

    Thanks

    Name:  TRIM.JPG
Views: 4432
Size:  35.8 KB

      My System SpecsSystem Spec

  3. #2


    Posts : 22,479
    64-bit Windows 10


    If you don't have a SSD drive formatted using ReFS, then you don't need to worry about it.

    ReFS File System - Enable or Disable in Windows 8.1 and Windows 10 - Windows 10 Forums

    You can use the command to enable TRIM support for ReFS v2. I updated the tutorial to help.

    fsutil behavior set DisableDeleteNotify ReFS 0
      My System SpecsSystem Spec

  4. #3


    Thanks Brink

    I did not format the drive, I just plugged it in and installed windows on it.
      My System SpecsSystem Spec

  5. #4


    Posts : 22,479
    64-bit Windows 10


    You're most welcome.
      My System SpecsSystem Spec

  6. #5


    Posts : 4
    Windows 8 64 bit


    Hey. I've got another question for you. I noticed that TRIM is enabled in my freshly formatted Windows 7 Pro Sp1 64-bit HP Sleekbook laptop but I don't have an SSD drive. Would it be of any benefit to disable TRIM?

    Here is my hard drive info: TOSHIBA MQ01ABD075, Interface: SATA 3.0Gb/s, AHCI Mode: Activated, Trim Status: Enabled, Rapid Mode: Not Supported

    Thank you for your time and help. Be blessed! Amanda
      My System SpecsSystem Spec

  7. #6


    Posts : 22,479
    64-bit Windows 10


    Hello Amanda, and welcome to Eight Forums.

    Having TRIM support enabled is ok. TRIM will only be used on an SSD, and defrag will only be used on a HDD.
      My System SpecsSystem Spec

  8. #7


    Posts : 4
    Windows 8 64 bit


    Thank you. I was just wondering if I could glean some power or performance boost by disabling it. Blessings! Amanda
      My System SpecsSystem Spec

  9. #8


    Posts : 22,479
    64-bit Windows 10


    You're most welcome.

    It wouldn't affect performance to disable TRIM support since you do not have a SSD.

    If you should get a SSD, you would want TRIM support enabled to improve the health and performance of the SSD.
      My System SpecsSystem Spec

TRIM Support for SSD - Check and Enable or Disable
Related Threads
Hello all, I'm trying to launch my application directly after boot. Someone had adviced me to replace shell from "explorer.exe" to the application I want to launch. Is it the correct way for launching the application after boot. Please advice. Thanks, Narayanan K
How to Enable and Disable Hyper-V in Windows 8 and 8.1 This tutorial will show you how to enable and disable the built-in Hyper Virtualisation (Hyper-V) feature in Windows 8 Pro or Windows 8 Enterprise. You must be signed in as an administrator to be able to do the steps in this tutorial....
Hi, I have a Microsoft Surface Pro 2 and I am running Windows 8.1 Pro Update 1. I have been unsuccessful at building a WinPE image that provides BitLocker support. I searched around the internet and found many posts. Eventually, I ended up trying to build it with the various added...
40802 If you notice the I with the circle that shows up on some machines and not others and I cant seem to find out anything about it or find ANY setting in the bing desktop that enables or disables it? Anyone?
how can i know if trim is enable? in Drivers & Hardware
Hi how can i know if trim is enable on my ssd? thanks
How to Enable or Disable App Switching in Windows 8 and 8.1 This tutorial will show you how to enable or disable the App Switching options in PC settings, and the ability to switch between recent Store apps in the Switch List bar for all or specific users in Windows 8. You must be signed...
Hi Guys Please let me know how to disable DEP temporarily in Windows 8: I tried the below but did not work: C:\bcdedit /set {current} nx Always Off
Eight Forums Android App Eight Forums IOS App Follow us on Facebook