What Is SSD Trim and How to Check it? [MiniTool Wiki]

  • Linkedin
  • Reddit

Quick Navigation :

About SSD TRIM

TRIM definition: TRIM is a command that helps your installed operating system know precisely where the data you want to move or delete is saved.

With SSD TRIM, whenever a delete command is issued by you or the operating system, the pages or blocks where the files are stored can be immediately wiped.

To be more specific, TRIM command enables the OS to preemptively notify the SSD which data pages in a specified block can be erased.

Necessities of SSD TRIM

As we know, one of shines of SSD is its flash memory chips. In order to enable the operating system to read and manipulate the data on these chips, SSD has to have a way to manage this data. Data stored on an SSD is divided into blocks of data, and the blocks are divided into pages of data.

Tip: You can click here to learn about the difference between SSD and HDD.

After knowing the storage mode of data on an SSD, you can imagine that an SSD without TRIM has to move siginificant data in advance, then wipe out all blocks on it, and finally write new data into those blocks when you issue a deleting or rewriting command.

This means the SSD does a lot of erasing and wiping, which causes a fast wear of the flash memory chips and shortens the longevity of the SSD.

However, if an SDD has TRIM, there is no need to worry about the above situation, because TRIM eliminates any necessary copying of discarded or invalid data pages to save time and improve SSD performance.

In can be said that SSD TRIM comes in the benefit in areas of performance and drive longevity.

Check Your Windows Has TRIM Enabled for SSD

In fact, Windows 7 and above are set to automatically enable TRIM on SSD. But you can check whether Windows has turned on TRIM for SSD.

How to do that? Command Prompt can help you. Please follow the below steps.

Step 1: Press Windows and R key on the keyword simultaneously, then type cmd to launch Command Prompt, and finally click OK button.

type cmd when the pop-up window shows up

Step 2: After the Command Prompt shows up, please type this command: fsutil behavior query disabledeletenotifyand hitEnteron the keyword.

type fsutil behavior query disabledeletenotify

After typing Enter key, two options are displayed in Command Prompt.

Option 1: NTFS DisaleDeleteNotify = 0, which means TRIM is enabled for your SSD.

Option 2: NTFS DisaleDeleteNofity = 1, which means TRIM is disabled for your SSD.

get the option: NTFS DisableDeleteNotify = 0

If you get the Option 2, please don’t worry. The following content will show you how to enable SSD TRIM.

Enable SSD TRIM in Windows

Step 1: Open Command Prompt.

Step 2: Type fsutil behavior set disabledeletenotify 0 in the black pop-up window and then hit Enter key on the keyboard.

type fsutil behavior set disabledeletenotify 0

If you get the message: fsutil behavior set disabledeletenotify = 0, it means that SSD TRIM has been enabled.

Absolutely, you can disable TRIM if you don’t like it.

Open Command Prompt, type fsutil behavior set disabledeletenotify 1, and finally hitEnteron the keyboard.When you get the message:fsutil behavior set disabledeletenotify 1, you have disabled the feature successfully.

  • Linkedin
  • Reddit