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:
- Exit all Windows-based programs.
- Click Start, type Regedit in the Start Search box, and then press ENTER.
- If you receive the User Account Control dialog box, click Continue.
- Locate and then click the following registry subkey:HKEY_LOCAL_MACHINESystemCurrentControlSetServicesMsahci
- In the right pane, right-click Start in the Name column, and then click Modify.
- In the Value data box, type 0, and then click OK.
- 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.
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:

I confirm, it does work! just switched from IDE to AHCI, no issues. FYI, this will enable the basic Microsoft AHCI driver.
Depending on your configuration, it is possible to update this driver with a native AHCI driver from your motherboard manufacturer.
Last thing I noticed, I had to select my system harddrive to boot properly otherwise my system would hang, although properly selected in the bios.
it work
Thank you
thanx works :P
You’re welcome guys :) Glad to be of help.
THANKS!!! It really works!!!
Just an FYI for anyone doing this on Win7 x64, you can’t use the provided .REG file here as it’s setup to point to the x86 version of the driver file. Following the steps listed to make the change manually works fine though
Ahhh, thank you very much. This solved my odd issue of Windows 7 shutting down before the log-in screen when using AHCI. :D Now to find out how to get RAID to work…
P.S. Love the disclaimer. :) How can I not love the nerds with a sense of humour? Wonderful man, just wonderful.
Thank you :D
I’ll try to come up with a guide on RAID shortly.
THANK U SO MUCH!!!! IT WORKS ON VISTA TOO!!!! :D
I confirmed that it is working for Windows 7 RTM (Build 7600) too.
Thanks for the tip worked fine on the technet build as well :)
Thanks a lot dude it worked for me on a dell inspiron 1420 :D
You're welcome :) Glad to be of help.
Actually this did not work at all on the RTM version. Boot kept failing and I had to use a restore option in order to boot at which point the registry key was set back to the prior setting. And yes, I did change the key properly!
I'm sorry to know that. I tried this on my Windows 7 RTM install and worked fine. Which motherboard/chipset do you have?
Well I messed this up contrary to my claim. My key value was already 0 and I set it to 1 incorrectly. After this was remedied though by a restore, I can boot just fine with my primary sata adapter from Intel in AHCI mode, which it has been from the beginning, but setting my BIOS for the second internal Gigabyte sata controller from IDE to AHCI does still fail to boot but restarts so fast I can’t read the crash screen which is flashed only for an instant. The board is a Gigabyte GA-EP45-UD3P with a P45/ICH10R chipset combination. I guess for some reason, the drivers are not being installed for the Gigabyte sata chipset after changing the BIOS. Registry key is and has been as recommended above. Thanks, Dave
Thanks for this, it mostly worked on my RTM version however i'm still having some issues. I can't hot swap sata hard drives and I'm getting errors with the 2 IDE Channel device that's showing up when I open the Devices and Printers screen. I'm guessing this is to do with enabling the AHCI?
The IDE channels shouldn't be showing up after you've enabled AHCI in your BIOS. Have you tried updating the AHCI drivers?
thanks you~
thanks you~