Enabling TRIM on SSDs

SSDs benefit from having TRIM support enabled for extended performance and lifespan. By default, most SSDs upon Windows install are marked for TRIM support, but it's always a good idea to check if your TRIM Support is working. Here's how you do it.
 
Checking the TRIM status
 
While inside of Windows, click on start then in search type in CMD. When the result comes back, right click on the CMD and choose run as Administrator.
 
When the command prompt comes, this is the command that will verify the status of TRIM.
 
fsutil behavior query disabledeletenotify
 
Make sure that you put a space between all of those words. When you hit enter, you will see 1 of 2 responses. Either it will show:
 
DisableDeleteNotify=1
 
or
 
DisableDeleteNotify=0
 
If the status is 0, then you're good to go. This means that TRIM Support is working and there's nothing you need to do.
 
If however, the status comes back as 1, either your SSD doesn't support TRIM, or it is not turned on. Therefore, you can turn it on by typing the following:
 
fsutil behavior set disabledeletenotify 0
 
If everything goes well, the prompt will simply return to its normal state.
 
Disable defragmentation
 
To run Disk Defragmenter, simply type defrag in search box after clicking on Start menu and click on the result. Under C: drive as well as any other partitions that are on the SSD, the status of Last Run should say NEVER RUN. If it says that it is scheduled, then you have to go to Configure Schedule and uncheck the box to run the scheduled event. Defragmentation is bad for your SSD and you should not be using it.