TRIM in Windows 10 is used to allow the operating system to give information to the Solid State Drives; to wipe the blocks of data internally, which is not in use anymore. TRIM was introduced soon after the introduction of SSDs. In the case of SSDs, deleting and formatting operations are little difficult to handle, which slows down the write operations.
Trimming helps the SSD to handle the garbage collection more efficiently.
Microsoft has done a great job that makes the SSD’s life easier, healthy and longer, in Windows 10. Well, the Windows 7 was the first platform, where the TRIM emerged. Back then, it started recognizing the SSD drivers and optimizes them to work better with the platform.
Consecutively, then came the Windows 8, where the features of the TRIM were treated with some enhanced features. And now, it’s the Windows 10 that brings-in more improvements for the SSDs.
Alternatively, there is also, Reset options that are already available. But it deletes the complete data from the drive, unlike the TRIM feature. Moreover, the TRIM also enables an efficient internal background garbage collection mechanisms; by notifying the SSD of pages which no longer contain valid data. Accordingly, when a file is deleted, the OS will mark the file sectors as free. Thus after trimming, the SSD will not have any contents of the block while writing new data to a page of flash memory.
As you all know, when you delete any data or files from your Solid State Drive, Windows marks it as deleted. Yet the data is retained on the drive physically. Yes, it’s all because of the SSD controller’s garbage collection. Thus, here comes a savior, the TRIM. It will let those physically retained chunks to be wiped so that they become empty and ready to be written. With the help of the TRIM in Windows 10, the deleted data in your storage can be freed up and from the next time, you can enable the write operation to be performed faster.
Even though the TRIM is enabled by default in Windows 10, you have to ensure that the SSD TRIM support is enabled, anyway. You’ll have to check this via Command Prompt with Administrator privileges. To evoke the Windows 10 Command Prompt, just right click the start button and select “Command Prompt (Admin)”.
The result will be either,
NTFS DisableDeleteNotify=0, which infers TRIM is enabled (or)
NTFS DisableDeleteNotify=1, which infers TRIM is disabled
ReFS DisableDeleteNotify=0, which infers TRIM is enabled (and)
ReFS DisableDeleteNotify=1, which infers TRIM is disabled
If the above commands result in “1”, then you’ll probably need to know how to enable TRIM in Windows 10.
Windows should automatically take care of the TRIM; if you have the latest version of the Windows with a modern solid-state drive. However in any case, if you’re notified that the TRIM in Windows 10 is disabled; then you’ll have to look forward to the steps to enable it.
Well, here it is. With the following command, you can forcibly achieve this task.
Now, a notice reading DisableDeleteNotify = 0 will be delivered, which means that the TRIM is enabled. That’s it! Further, if you’d like to disable the TRIM for some peculiar reason; then run the above-mentioned command, but replace the with 1 instead.
Surprisingly in Windows 10, the TRIM is also put up in the Drive Properties, under the Tools menu. To invoke it, right click on the desired drive and select the Properties. Once getting into the Properties window, click the Tool menu, from the various tabs shown.
In this case, the TRIM is integrated with a feature called Optimize that is found here. You can put this feature into action by just clicking it.
This will take you further to the Optimize Drives app; which allows you to execute the TRIM on a predefined schedule and even to run it manually.
For instance, let’s assume that you have deleted bevy amount of data from the drive. Subsequently, by running the Optimize feature you can immediately retrieve the space back and improve the SSD’s performance.
As said earlier, you can schedule your desired timings to execute TRIM in your PC. By default, the disk optimization is scheduled on a weekly basis. You can change this schedule if needed. It can be done by clicking the Change Settings button in the Optimize Drives window.
Therefore, all the aforementioned methods will help you to enable or disable the TRIM. You can even use the same commands on the Windows 7 and Windows 8 too, though we’re focusing only on the Windows 10. On the whole, you will enjoy all these great features that come with Windows 10. So there are no concerns about your SSD issues anymore. TRIM in Windows 10 has taken good care of them, out of the box.
He is Windows enthusiast and experienced content writer. Apart from writing, Pradeep has involved in SEO projects for many International businesses ranging from online startups to some of the popular world wide blogs.