How to enable AHCI in Windows 7 RC after installation

AHCI (Advanced Host Controller Interface) enables native command queuing and hot-plugging through SATA host controllers (Serial-ATA) for your hard drives. In many scenarios, it enables more efficient multi-tasking. Vista was the first Windows OS to support AHCI out of the box, whereas Windows 7 does the same. But an issue with AHCI is that if you install the OS without enabling AHCI in the BIOS, enabling it after installation will render your OS unusable. This is because Windows disable the AHCI driver since it is not needed during the installation.

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

To resolve this issue, enable the AHCI driver in the registry before you change the SATA mode of the boot drive. To do this, follow these steps:

  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. enable ahci in Windows 7

I’ve simplified the steps by Microsoft by exporting the registry key. Just download the following file and run it. You’ll still need to go through the steps of restarting your computer and enabling AHCI in the BIOS.

Hopefully, you’ll find a somewhat noticeable improvement in multitasking, especially if you’re a notebook user. Of course with the variety of PC hardware, experience many vary.

Disclaimer:

Beware, though, you’re responsible on your own for messing around with the registry. This guide comes with no warranties if your computer blows up, gets angry at you, stops working or just shows a Blue Screen of Death.
About the Author

Technology enthusiast, Internet addict, photography fan, movie buff, music aficionado.

243 comments

  1. You're right – Windows keeps a few backups of the CurrentControlSet registry key (that is the CurrentControlSet001, etc, that you see) – used for recovery if something goes wrong. When running, the *currently used version* of the key is made available (mapped) as 'CurrentControlSet'.

  2. Great Guide!! method works flawlessly..
    However can somebody help me to enable IDE after installing Win7 in AHCI mode??.. I get the BSOD after switching from AHCI to IDE in bios…

  3. Works!! You’ve saved me from hours of frustration. I’ve got an ASUS P5B and Win7 x64. I bought an external eSATA drive and used your trick to enable it. Thank you!

  4. Didn’t work for me :(. I have a Dell mobo with ICH9R. Dual boot Windows XP (32) and 7 Pro (64). Bios only has setting of IDE/RAID, but it looks like RAID encompasses ACHI. Was able to change XP from IDE to RAID buy following one of the guides online – big reg entry to id the hardware, copy intel driver file, set bios and reboot. I thought 7 would be much easier – not! I made the suggested reg entry enabling msahci, but still BSOD on boot when setting the bios to RAID. When back to IDE 7 is ok. I have triple verified the reg entry. Any suggestions?

    Thanks!

  5. thanks a lot. it works like a champ. but ide x ahci performance looks the same. thanks anyway.

  6. Worked as advertised. The only new thing I noticed was that now the SATA drives, including the boot drive c: are included in the “safely remove hardware and eject media” icon. Of course, it won’t allow you to eject your boot drive:-)

    Thanks for the info!

  7. It worked perfectly for my P7P55D motherboard with Intel Core i5 750 / windows 7 bits, while the ASUS AHCI had refused to install, saying the OS was not compatible. Thanks a lot ! The result is brilliant, windows open much faster, although Windows Performance Index for my WD velociraptor stayed the same at 5,9.
    Pascal – France

  8. It worked for my Dell Studio 14Z.

    This was a problem for me – since I have a windows 7 UE that is “upgrade only” DVD (purchased from Academic Institution) – I have to install windows XP first, then install Windows 7. Problem is, windows XP would not install unless I change the HDD controller to ATA from the bios. Then after windows 7 installation is done, I had no way of going back to AHCI mode…

    Thanks for the tip. MUCH Appreciated.

Leave a comment