Verify That TRIM Is Enabled In Windows 7

The TRIM command has been designed to counter the performance drops of Solid State Drives over time. TRIM basically allows the operating system to notify the SSD about data blocks that are no longer in use so that they can be wiped.

Before TRIM, SSDs degraded in performance over time due to the way they handle write operations. Some manufacturers countered this with reset tools, which had to be run regularly to keep the performance at an acceptable level. Finally, some added garbage collection to the controller. This basically meant that the data on the drive would be defragmented, or that the TRIM command would be issued based on the findings of the garbage collection.

Now, the difficulty with TRIM is that it is only supported by Windows 7, Windows Server 2008 R2 and Linux at the moment. Users who do not run those operating systems do not have access to TRIM.

Windows users need to make sure that TRIM is working properly, especially if they notice that the performance of the Solid State Drive seems to drop significantly over time.

We would like to introduce two options to find out if TRIM is enabled in the operating system.

Drive Controller Info

The portable software program performs a scan of all drives and will report if Windows Filesystem Delete Notification (ATA TRIM) is enabled or not. All it takes is to execute the program, wait some seconds for the scan to complete to see the results in the main program interface.

Read also:  Disable the annoying Set up OneDrive popup on Windows 10

trim windows 7

Drive Controller Info can be downloaded by clicking on this link.

Administrator Command Prompt

The second option requires no third party software. Users need to start a command prompt with elevated rights. This is done by clicking on the start orb, then All Programs, Accessories, right-clicking on Command Prompt and selecting Run as Administrator.

Now execute the command fsutil behavior query DisableDeleteNotify and take a look at the result.

trim enable windows-7

Two results are possible:

  • DisableDeleteNotify = 0: This indicates that TRIM is enabled and working on the operating system.
  • DisableDeleteNotify = 1: This means that TRIM is not enabled, and that SSDs will therefor not benefit from it.

If TRIM is not active on the system, which can be the case if the SSD has not been properly recognized, if it is to slow or if drivers have not been properly installed.

TRIM can be enabled with a similar command if it is not enabled in Windows 7. To activate TRIM issue the command fsutil behavior set DisableDeleteNotify 0.

Update: Corrected an error in the command in the last sentence.

Article Name
Verify That TRIM Is Enabled In Windows 7
How to make sure that TRIM is enabled on your operating system if you are running Solid State Drives.
Please share this article


Filed under:

Responses to Verify That TRIM Is Enabled In Windows 7

  1. Thomas September 14, 2010 at 5:44 pm #

    for intel ssd users, an easier solution might just to install the Intel SSD Toolbox which has just been updated to v2.

    • Martin September 14, 2010 at 6:03 pm #

      Thanks for the tip, will review it asap ;)

  2. Ricambi Fiat 500 November 12, 2010 at 11:12 pm #

    Hi, thanks for this useful information, I've just installed a X25-M 80Gb in my system and the command prompt trick was really helpful to verify that TRIM was ok and working. How amazing is having such a fast and quiet PC... it's really another level!

  3. Peter December 19, 2010 at 2:52 am #

    this only shows if the os supports trim, but is there any way how to check if my ssd drive is actually using trim? as I have 2x 240GB vertex 2 in raid 0 and would like to double check if the trim is really working.

  4. Conor April 2, 2012 at 10:44 pm #

    Thanks very much for this article.

  5. Sparkstation November 29, 2013 at 6:33 am #

    For me with a new ADATA 256GB SSD, and a fast PC, the Run Command system worked, but only flashed onto the screen for about 0.2 seconds each time I tried.

    That was faster than I could read the result although I tried several times.

    The downloadable Utility works just fine, and I placed an unzipped copy into a "System Tools" Folder called Folder S which is located on the desktop.

    I use that Folder as a Special Personal Fast Menu, by going to the Task Bar -> Right click -> Toolbars -> New Toolbar and Browse to Sektop -> S.

    It makes it easy to locate.

    That Folder S has lots of personal items (as Shortcuts - EXCEPT This Drive Controller Info, which has a Copy of the Utility) in it:

    Folders as follows:
    Plus Individial Shortcuts below, too, so as life is simple

    The S Toolbar shows up immediately to the left of the System Tray "Notification Area in Microsoft Windows 7 terminology.


  6. Gene Zucker September 7, 2014 at 5:45 pm #

    Thank you! I could not get the Command Prompt approach to work. Even though it states I am the owner of this PC with full rights, it would deny me access, saying I did not have Administrative authority. So, I installed Drive Controller Info. Instant peace of mind!


    • steve September 24, 2014 at 1:25 am #

      To get around the above problem Start > Search CMD It will find CMD.EXE among others. Right click on CMD.EXE and pick "Run as administrator" to run command line utilities that require admin privileges. If the command window closes too quickly add |more to the command (for example dir |more will show you the directory a page at a time, you have to hit space to get the next page or return to get the next line.) The | (called pipe) symbol on my keyboard is the shift of the key above the enter key on my keyboard.

  7. Howard S September 29, 2015 at 5:46 pm #

    What if I have a mixed drive setup i.e. rotating media C: and E: Drive and an SSD D: Drive; What setting should I then use for TRIM? If I enable it, will it have an effect on the rotating media drives?

Leave a Reply