1

I've just installed a new Samsung 830 256GB SSD and have configured BootCamp with Lion and Windows 7.

Under Lion, I have installed Trim Enabler.

Under Windows 7 I have installed the Samsung (Wizard) software that came with the SSD. In this software I've applied all of the recommended optimisations under 'OS Optimisations', however, the Samsung wizard software is informing me that AHCI is not enabled at present and for best performance, this should be enabled.

I'm not sure a) what implications there are if it's left disabled (will it affect the lifespan of the SSD or is it purely a speed thing?) and b) if there is a way under BootCamp for an Early 2011 MacBook Pro to have AHCI enabled?

I was also concerned that if AHCI is not enabled, perhaps TRIM won't be enabled either? However, I did run a tool which I found online that said that TRIM was enabled on this Windows 7 install (despite AHCI not being enabled).

This is my first SSD drive so am not very familiar with the technology, terminology and best practices etc.

3 Answers 3

3

TRIM does not depend on AHCI mode and is also available for IDE. However, it may depend on the drivers you are using.

If you use your SSD in IDE or AHCI mode together with the Windows 7 native drivers, TRIM should work. However, using IDE you will miss some AHCI-specific features which may affect your drive lifespan. You can find a benchmark with a short summary here and here.

Here you can find a guide to installing specific AHCI drivers for Windows/BootCamp on a 2010 Mac Pro.

You can check if you have TRIM enabled in Windows 7 by using this command with administrator privileges:

fsutil behavior query disabledeletenotify

Possible results:

DisableDeleteNotify = 0 (Windows TRIM commands are enabled)
DisableDeleteNotify = 1 (Windows TRIM commands are disabled)

2

AHCI is not required for TRIM. However the Samsung drive can que commands and in order to use that you need AHCI enabled. (It will however work fine without AHCI, just a fraction slower)

0

For those who have installed any Windows version (7/8/10) using the Legacy BIOS (not EFI) on an iMac or Macbook, I used this method to enable AHCI on both a 2011 iMac and a Macbook Pro and it worked perfectly:

  1. Backup all your data.
  2. Download this AHCI enabler package (contains BOOTICEx64.exe and patchedcode.bin)
  3. Run BOOTICEx64.exe as admin.
  4. On the Physical Disk tab, make sure your destination disk is your desired drive.
  5. Click on Process MBR.
  6. Select Windows NT 5x/6x MBR.
  7. Click on Restore MBR.
  8. Select the patchedcode.bin file.
  9. Make sure Keep signature and partition table untouched is marked.
  10. Click on Restore.
  11. Now open Windows Registry Editor.
  12. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStorV and edit Start DWORD to 0.
  13. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStorAVC\StartOverride and edit 0 DWORD to 0. (This value will return back to 3 after you restart the computer later.)
  14. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\storahci and edit Start DWORD to 0.
  15. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\storahci\StartOverride and edit 0 DWORD to 0.
  16. Close Regedit, reboot your system and you are done.

I want to credit this solution mostly to sanke1's Tutorial: Enable SATA AHCI Mode in Windows 7,8,8.1 & 10 and Shawn Brinks' How to Enable AHCI in Windows 8 and Windows 10 after Installation

Good luck!

1
  • Note: The downvoting might be deceptive. This procedure worked just fine.
    – SiLenCe
    Commented Oct 8, 2023 at 15:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .