Verify That TRIM Is Enabled In Windows 7 - gHacks Tech News

Verify That TRIM Is Enabled In Windows 7

The TRIM command has been designed to counter the performance degradation of Solid State Drives over time. TRIM allows the operating system to notify the SSD's controller that data blocks are no longer in use and may be wiped and reused as a consequence.

Before TRIM, SSDs degraded in performance over time due to the way the storage devices 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. Garbage Collection could run defragment operations or use TRIM to optimize the storage.

Now, the difficult thing 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 Notifications (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.

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.

Another option is to press the Windows-key, type cmd.exe, hold down the Shift-key and the Ctrl-key, and select the result.

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.

Summary
Verify That TRIM Is Enabled In Windows 7
Article Name
Verify That TRIM Is Enabled In Windows 7
Description
How to make sure that TRIM is enabled on your operating system if you are running Solid State Drives.
Author
Publisher
Ghacks Technology News
Logo




  • We need your help

    Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

    We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.

    If you like our content, and would like to help, please consider making a contribution:

    Comments

    1. Thomas said on September 14, 2010 at 5:44 pm
      Reply

      for intel ssd users, an easier solution might just to install the Intel SSD Toolbox which has just been updated to v2. http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=18455

      1. Martin said on September 14, 2010 at 6:03 pm
        Reply

        Thanks for the tip, will review it asap ;)

    2. Ricambi Fiat 500 said on November 12, 2010 at 11:12 pm
      Reply

      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 said on December 19, 2010 at 2:52 am
      Reply

      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 said on April 2, 2012 at 10:44 pm
      Reply

      Thanks very much for this article.

    5. Sparkstation said on November 29, 2013 at 6:33 am
      Reply

      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:
      GRAPHICS
      AUDIO VIDEO
      BROSIX MESSAGING
      DOWNLOADS
      MAIL
      USER
      SECURITY
      SYSTEM TOOLS
      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.

      Cheers

    6. Gene Zucker said on September 7, 2014 at 5:45 pm
      Reply

      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!

      Thanks!

      1. steve said on September 24, 2014 at 1:25 am
        Reply

        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 said on September 29, 2015 at 5:46 pm
      Reply

      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