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
Page Contents
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
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.
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
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.
This is because Windows XP does not support the TRIM function.
Hello! I am Ben Jamir, Founder, and Author of this blog Tipsnfreeware. I blog about computer tips & tricks, share tested free Software’s, Networking, WordPress tips, SEO tips. If you like my post /Tips then please like and share it with your friends.