How to check if TRIM is enabled on your SSD

God a fancy new drive? SSD maybe? TRIM support advertised?

Well, here’s how you can check if TRIM support is actually enabled and working in your windows installation:

Start a command prompt window (WIN+R, type cmd and press enter)

In the command prompt window type the following:

fsutil behavior query disabledeletenotify

Checking the state of the TRIM command support inside the windows  command promptYou will get one of the following:

DisableDeleteNotify = 1 (Means that Windows TRIM commands are disabled)
DisableDeleteNotify = 0 (Means that Windows TRIM commands are enabled)

What is TRIM and why do you need it

In computing, a TRIM command allows an operating system to inform a solid-state drive (or “SSD”) which data blocks, such as those belonging to a deleted file or affected by a format command, are no longer considered in use and can be wiped internally.

TRIM was introduced soon after SSDs started to become an affordable alternative for traditional hard disks as permanent storage in PCs. Because low-level operation of SSDs differs significantly from traditional hard disks (see details below), the typical way in which operating systems handle operations like deletes and formats (not communicating the involved sectors/pages to the storage medium) resulted in unanticipated progressive performance degradation of write operations on SSDs. TRIM enables the SSD to handle garbage collection overhead, that would otherwise significantly slow down future write operations to the involved blocks, in advance.

[from wikipedia.org]

Tags:

Please consider supporting this blog by checking out these offers!

  • Ross Patterson

    Of course, there’s a third result, which means your version of Windows doesn’t even know what TRIM is, let alone has it enabled:

    C:\>fsutil behavior query disabledeletenotify
    Usage : fsutil behavior set

    disable8dot3 1 | 0
    allowextchar 1 | 0
    disablelastaccess 1 | 0
    quotanotify 1 through 4294967295 seconds
    mftzone 1 through 4
    memoryusage 1 through 2

  • Tom Jones

    My command prompt is open for a split-second, and I can’t read that fast! And, to answer the question posited in the title of this article, God is not, in my opinion, a fancy new drive.

  • Tom Jones

    I ran the command prompt as admin, and that worked. D’OH!

  • http://www.sgvulcan.com/ silviu

    Didn’t know what was with the sudden rush of traffic on this page. It seems I’ve been quoted on lifehacker (on http://lifehacker.com//5802838/how-to-maximize-the-life-of-your-ssd right after the “How do I know if my SSD supports TRIM?” headline)

    Cool !