Deleting files on a TRIM enabled SSD…

As SSDs have caught on, speed degradation is becoming an issue for many users. Data recovery often relies on the fact that data is still present on the drive itself and it’s only the ‘catalogue’ or ‘index’ that has been destroyed. That is until the block containing that data is overwritten with new data. Data recovery from SSDs is much the same way, albeit the speed that the process is completed is much different.

As more and more data is overwritten on a SSD, fragments of previous files can be seen in the same block. Over time these blocks become cluttered with remnants of previous files. This is where TRIM comes in. When a user deletes a file or formats the SSD, TRIM first purges the data and the link to it so any remnants of files are completely gone.

Clearly though once TRIM is deployed, chances of data recovery are significantly reduced. If your TRIM enabled SSD has deleted a file and the Recycle Bin has been emptied, forget about recovering that file.

To enable TRIM, type the following at the command prompt ‘fsutil behavior query DisableDeleteNotify’ . You will be presented with two options:

DisableDeleteNotify = 0 : TRIM is already enabled and working in Windows
DisableDeleteNotify = 1 : TRIM is not enabled → Proceed to step 3 to enable it

To enable SSD TRIM support in Windows, type the following at command prompt and press enter:

fsutil behavior set DisableDeleteNotify 0

To Disable TRIM Support for SSDs, enter the below command in a command prompt:

fsutil behavior set disabledeletenotify 1