How To Check If TRIM Is Enabled For Your SSD In Windows

Check If TRIM Is Enabled For Your SSD

Do you have a PC with an SSD drive ( Solid-state drive)? TRIM on SSD (Solid-State Drive) is an Advanced Technology Attachment command that enables the operating system to tell the SSD to erase data blocks when they are no longer in use.

The TRIM command allows the SSD’s controller to manage the storage space available more efficiently and improve the speed of writing data to your SSD improving the performance of your SSD and extend its lifespan.

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. Here’s how to check if TRIM is enabled for your SSD or not.

In case you missed: Should We Or Should We Not Defrag SSD Drive

Which Operating System Support TRIM

Windows XP Do not Support TRIM. Windows 7 and above are set to automatically enable TRIM on solid-state drives. You don’t need to worry about enabling TRIM yourself.

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.

In case you missed: How To Dramatically Speed Up Windows 10 Boot up Time

What is TRIM?

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 for your SSD

command prompt

You can check this from an Administrator Command Prompt window.

To open Command Prompt window on Windows 8.1 or 10, type โ€œCommand Promptโ€ or cmd 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 for Your SSD

Windows by default automatically enable 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 reason did not enable the TRIM function.

Possible reasons could be:ย  itโ€™s 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

Check If TRIM Is Enabled For Your SSD

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 the Windows XP command prompt, you will get the following message.ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย  ย report on Windows XP for trim

This is because Windows XP does not support the TRIM function.