Enable or Disable TRIM on SSD

How to Enable or Disable TRIM on SSD

Are you looking for methods to enable or disable TRIM on SSD? Well, you are in the right place at the right time. This guide has one of the most astonishing methods to enable or disable TRIM on SSD.

Wondershare Recoverit Authors

Nov 23, 2020 • Filed to: Answer Hard Drive Problems • Proven solutions

0
Q: How to enable or disable TRIM on SSD?
"I have been using SSDs for quite a while now, but I'm striving to know how to disable or enable TRIM on SSD. I want to enable TRIM on SSD on Windows 10 because I want to enhance the performance of my SSD. I only want to enable TRIM on SSD, which I previously disabled due to third-party software intervention. I'm hoping to see the simplest ways to conduct this task; if the scenario can be discussed in detail, then I also want to know that. However, I'm also not aware of common situations where people conduct this task."

Many individuals are not aware of methods for enabling or disabling TRIM on SSD and look for simple methods; that's pretty normal. In reality, you just need the right techniques to do that. In this guide, you will have a built-in function method for your ease to enable or disable TRIM on SSD. You can surely choose the way of your choice. At the start, we will be discussing some common reasons because of which people enable or disable TRIM on SSD and why it is necessary. Once you have read them, you will have detailed methods. Just stick to the guide with great concentration.

Part 1: What is TRIM on SSD?

The first thing that you should know is about TRIM on SSD. This is an Advanced Technology Attachment (ATA) command, which enables the computer operating system to inform the solid-state drive to erase data blocks when they become useless, and the computer isn't using any of them. The TRIM command on a solid-state drive allows the SSD's controller to manage the storage space which is available. This is to increase the efficiency of the drive and improve the read and write speed of data at your SSD. TRIM is mostly utilized to enhance the performance and lifespan of your solid-state drive (SSD).


Part 2: When do you need to enable or disable TRIM on SSD?

TRIM command is enabled by default, but your actions may result in disabling it on SSD. Whenever you use a third-party tool, there are chances that the tool might disable TRIM on your SSD. To enhance the performance of the SSD, you need to check whether TRIM on SSD is enabled or disabled. If it isn't, it is suggested that you enable it. This is certain that TRIM's use surely gives you the efficient performance of SSD, but it diminishes the chances of possible data recovery on your device. This is because it continuously erases data blocks whenever you choose "Delete" operation on any of the files or folder. This is the reason that some people want to disable the TRIM command on SSD. Mostly the people who have computers vulnerable to virus attacks and many other entities. This action is also counted in a better data recovery strategy. Still, it is up to you if you want to enable or disable TRIM on SSD. In the next section, you will have the methods to do it.


Part 3: How to enable or disable TRIM on SSD in windows 10?

To implement any of the actions, you first need to check if TRIM is enabled or disabled on your SSD. You can certainly check and manage the TRIM function on your SSD using the command prompt, people can also utilize a third-party tool, but the command prompt is undoubtedly efficient. For this, you need to enter proper TRIM commands to check, enable, or even disable. Using the command prompt for this task is the most efficient way to conduct the job. These three methods which can help you out; you need to follow them all with great interest.

Method 1: Manage TRIM on SSD via Command Prompt

To identify if TRIM is in use or not, you can certainly use the command prompt. Here are the steps to check if TRIM is enabled on your SSD. Follow them carefully;

To check if TRIM is on;

Step 1: First of all, you need to click the "Start" button on your system and type cmd.

Step 2: Once you have done that, you need to right-click "Command prompt" and run it as administrator.

Step 3: You need to enter this command now;

fsutil behavior query DisableDeleteNotify

Step 4: If the result is DisableDeleteNotify = 0, the TRIM is enabled on your SSD. If you receive the result DisableDeleteNotify = 1, the TRIM is disabled on your SSD.

To enable TRIM on SSD via command prompt

Step 1: In the first step, you need to click the "Start" button on your system and type cmd.

Step 2: Once you have done that, you are required to right-click "Command prompt" and run it as administrator.

Step 3: Now, you need to enter this command;

fsutil behavior set DisableDeleteNotify 0

Step 4: If you want to disable TRIM on SSD, you need to replace "0" with "1".

Method 2: Enable or Disable TRIM support for SSDs with NTFS file system

If you want to use a bit different approach for the task. You can surely enable or disable TRIM support for SSDs with the NTFS file system. Here are the steps to do so;

trim-ntfs

Step 1: In the first step, you need to open an elevated command prompt on your computer.

Step 2: Once you have opened the elevated command prompt on your computer, you need to enter the following commands to enable or disable TRIM support for SSDs with NTFS files system;

To enable TRIM support for SSDs with the NTFS file system;

fsutil behavior set Disabledeletenotify NTFS 0

To disable TRIM support for SSDs with NTFS file system;

fsutil behavior set Disabledeletenotify NTFS 1

Method 3: Enable or Disable TRIM support for SSDs with ReFS file system

Suppose you want to more-simpler method; you can use the ReFS file system. You can surely enable or disable TRIM support for SSDs with the ReFS file system. Here are the steps to do it;

trim-refs

Step 1: First of all, you need to open an elevated command prompt on your computer.

Step 2: Once you have opened the elevated command prompt on your computer, you need to enter the following commands to enable or disable TRIM support for SSDs with ReFS files system;

To enable TRIM support for SSDs with ReFS file system;

fsutil behavior set Disabledeletenotify ReFS 0

To disable TRIM support for SSDs with ReFS file system;

fsutil behavior set Disabledeletenotify ReFS 1


Conclusion

SSDs have multiple problems and multiple solutions. All you need to do is to follow them correctly. When talking about TRIM on SSD, this utility is also enjoyed by the majority population around the world. However, it still fails to provide a better recovery strategy. This is the reason that many people choose the option to disable the TRIM on SSD.

Recoverit author

Theo Lucia

chief Editor

(Click to rate this post)

Generally rated4.5(105participated)

Home > Resources > Answer Hard Drive Problems > How to Enable or Disable TRIM on SSD