How to enable TRIM

Status
Not open for further replies.

zhongyan

Distinguished
Oct 21, 2010
93
0
18,640
All I know is to set the Sata Type in the BIOS to AHCI mode before installing Windows 7.
Is that all that is needed or is there something else I've missed?
Thanks!
 

mattyg_nz

Distinguished
Oct 10, 2011
66
0
18,640
Nope, you've got it. Windows will pick up your SSD in AHCI mode on install and use the TRIM commands. Bravo to your research!
NB// Intel is nearly releasing TRIM support through RAID. Don't know if that affects you.
 
TRIM is a Microsoft Windows 7 feature. It is enabled by default. TRIM compliments ssd garbage collection.

Don't forget to disable hibernation and defragmentation.

Some ssd's come with a utility which can be used for optimization. Other ssd's might have the utility available for download. There are different names for it. Some are called toolkits or toolboxes. Samsung calls theirs SSD Magician. The utilities usually include an optimization feature while others just check settings and recommend optimized settings.
 
I dont know if it is enabled by default but here is how so you can make sure OP.

How to enable TRIM Command in Windows 7 with a Solid State Drive

To enable or disable TRIM Command, you will need to open an Elevated Command Prompt window.

How To Open an Elevated Command Prompt window: Click on Start Orb > Type "CMD.exe" in Search box > Right click on "CMD" and select "Run as Administrator" (If you receive a prompt confirmation, click YES)

How to Enable TRIM Command

In the Elevated command Prompt windows, type the following:

fsutil behavior set disabledeletenotify 0

How to Disable TRIM Command

In the Elevated command Prompt windows, type the following:

fsutil behavior set disabledeletenotify 1

How do I know if TRIM is working in Windows 7?

In the Elevated command Prompt windows, type the following:

fsutil behavior query disabledeletenotify
Results explained below:
DisableDeleteNotify = 1 (Windows TRIM commands are disabled)
DisableDeleteNotify = 0 (Windows TRIM commands are enabled)


How to enable AHCI in Windows 7 after Instalation:

There is one way to fix this, although you need to have knowledge of registry editing. The detailed steps from Microsoft are as follows:

1.Exit all Windows-based programs.
2.Click Start, type regedit in the Start Search box, and then press ENTER.
3.If you receive the User Account Control dialog box, click Continue.
4.Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesMsahci
5.In the right pane, right-click Start in the Name column, and then click Modify.
6.In the Value data box, type 0, and then click OK.
7.On the File menu, click Exit to close Registry Editor.

After this you’ll have to restart your computer, go to BIOS and enable AHCI. When you log in to Windows again, you’ll notice the installation of drivers for AHCI. Another restart will be required to finish the driver installation.

These steps are provided at your own risk and not suggested unless you know and understand the risks. You will want to make sure the controller driver and MB BIOS support this option before you enable it
 
This is an old thread from last year. You would have been better off starting your own thread.

The answer to your question is yes. I have two pc's and a laptop. Each one has a Samsung ssd. After installing Windows 7 I ran the Samsung SSD Magician and let it optimize the ssd and Windows 7. No muss! No fuss! No bother!
 

lokiharr

Distinguished
Jul 26, 2010
7
0
18,510
I too have a Samsung SSD and had their Magician soft optimize the drive, assuming it would enable TRIM. ---> NOT SO.
I do not know what ''optimizing'' it did but it did not change TRIM. I used the command line method as posted by thently.
That method works.
 
Status
Not open for further replies.