How To Check If TRIM Is Enabled For Your SSD

How To Check If TRIM Is Enabled For Your SSD

Do you have a Laptop or a Desktop with SSD drive ? How to Check if TRIM is enabled for your SSD or not.

In the last couple of years, solid state drives (SSD) have increasingly gained popularity. Probably you have read or at least heard someone else talking about how fast an SSD  is compared to traditional hard drives.

If your Laptop/PC already have SSD or you want to replace your HDD with an SSD to improve your computer’s performance. You should know that TRIM support is for your SSD is enabled. Because SSD drives should not be defragmented.

Which Operating System’s Support TRIM

Windows XP Do not Support TRIM. Windows 7 and above, that is Windows 8, 8.1 and windows 10 are set to automatically enable TRIM on SSD drives.

We are not supposed to worry about enabling TRIM. But,what if it was not enabled? and you want to double-check that Windows has enabled TRIM, you can check.

When TRIM is enabled, Windows sends an instruction to your solid-state drive every time you delete a file. The SSD drive can then automatically erase that file’s contents. This is important for maintaining SSD drive performance.

How To Check If TRIM is Enabled or not

TRIM Is Enabled

You can check this from an Administrator Command Prompt window.

To open Command Prompt window on Windows 8.1 or 10, type “Command Prompt” in the search field. From the result right-click and select “Run as Administrator”. On Windows 7, open the Start menu, search for “Command Prompt”, right-click the “Command Prompt” shortcut, and select “Run as Administrator”

Type the following command in the Command prompt window and press enter. (You can copy paste the following command)

fsutil behavior query DisableDeleteNotify

Once you press enter, windows will show either one of these two results.

TRIM Is Enabled
If you see DisableDeleteNotify = 0 ,TRIM is enabled. Everything is good and you got nothing to worry.
If you see DisableDeleteNotify = 1 , TRIM is disabled. This could be a problem if you have an SSD.

How To Enable TRIM on Your SSD

Windows by default automatically enable’s TRIM if you have Windows 7,8.1 or 10 and with a modern solid-state drive. If for any reason TRIM is disabled,which you will know from the above command. It is possible that Windows for some reasons, did not enable the TRIM function.

Possible reasons could be :  it’s a a very old solid-state drive. But it is also possible that TRIM should have been enabled but something messed up in the automatic detection process by the Operating system.

So if TRIM isn’t enabled and you’d like to enable it (which you should do). You can do so by running the following command in an Administrator Command Prompt window:

fsutil behavior set DisableDeleteNotify 0

TRIM Is Enabled

If your Operating system supports TRIM and you have a modern SSD, windows will enable TRIM and you will get the result as above.

Now if you use the same command “fsutil behavior query DisableDeleteNotify”  in Windows Xp command prompt, you will get the Following message.                                                                                                                                                                                                                                                                                                                               TRIM Is Enabled

This is because Windows XP do not support TRIM function.

Leave a Comment