Windows 7 and above are set to trigger TRIM automatically on solid-state drives. You should not think about allowing yourself to TRIM. But, if you really want to double-check that Windows has activated TRIM, you are allowed to do that. Once TRIM is activated, each time you remove a file, Windows will deliver a command to your solid-state drive. The solid-state driver can then immediately delete the contents of that file. This is essential to maintain quick driving performance for solid-state drivers. In this article, we will guide you through the whole procedure to check if TRIM is activated in Windows 10 for your SSD (and activate it if not).

Check if TRIM is activated in Windows 10

To check if TRIM is activated in Windows 10, follow this procedure step by step.

Click the Search button. Type Command Prompt in the search bar and right-click on the Command Prompt option. Then choose the Run as administrator option as the following image is showing.

As soon as you click the Run as administrator option, the following screen will appear.

Now type the following command in the Command Prompt editor.

fsutil behavior query DisableDeleteNotify

C:\Users\User\AppData\Local\Temp\SNAGHTML80f2dbd8.PNG

There can be two results. If DisableDeleteNotify = 0, then TRIM is activated. If DisableDeleteNotify = 1, then TRIM is not activated.

According to the above screen, TRIM is enabled. But we will show you to enable TRIM if DisableDeleteNotify =1.

If TRIM is not activated and you want to activate it, you can do so forcefully by executing the below command in the Command Prompt Administrator Window.

fsutil behavior set DisableDeleteNotify 0

TRIM can be disabled again by replacing the 0 with 1 in the above command.

To ensure the Windows retrim optimizations according to a schedule, follow the following steps.

Click the Search button. Type Optimize Drives in the search bar and choose the Defragment and Optimize Drive option as the following image is showing.

As soon as you click the Defragment and Optimize Drive option, the following screen will appear.

Click the Change settings button as highlighted in the above image. As soon as you click the Change settings button, the following dialogue box will appear.

Check the Run on a schedule (recommended) checkbox. Then choose the Frequency through the drop-down and click the OK button as highlighted in the above image.

Conclusion

By following this procedure, you will be able to check if TRIM is activated in Windows 10 for your SSD (and activate it if not).

How to check if TRIM is activated in Windows 10 for your SSD (and activate it if not)
Avatar

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. He blogs at LinuxWays.

Leave a Reply

Your email address will not be published. Required fields are marked *

*