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. It works with my Asus M4A79T MB, Windows 7 64bit and a Seagate HDD.

    Thanks for the hint!
    //XMaster

  2. It works with my Asus M4A79T MB, Windows 7 64bit and a Seagate HDD.

    Thanks for the hint!
    //XMaster

  3. Amazing!

    This is truly amazing, I would have expect Windows 7 to do much better than this! I just had a few blue screens after turning AHCI on. And guess what: Ubuntu, that I run dual boot on the same computer works fine. So we are at this point where Linux actually does better and is more robust than Windows. It used to be different, but times change as I can see. Now I have to jump through hoops to enable AHCI, a thing that is standard nowadays. It shows that Windows is all old and inflexible at a problem like this, and that they badly need to redesign some stuff from scratch!

  4. Amazing!

    This is truly amazing, I would have expect Windows 7 to do much better than this! I just had a few blue screens after turning AHCI on. And guess what: Ubuntu, that I run dual boot on the same computer works fine. So we are at this point where Linux actually does better and is more robust than Windows. It used to be different, but times change as I can see. Now I have to jump through hoops to enable AHCI, a thing that is standard nowadays. It shows that Windows is all old and inflexible at a problem like this, and that they badly need to redesign some stuff from scratch!

  5. Hi,
    I did the same steps as you have written but i was not requiered to restart my laptop! i restarted it and in BIOS i found nothing about AHCI.
    If anyone can help me please i will be thankfull!

    regards
    Tommy

  6. Hi,
    I did the same steps as you have written but i was not requiered to restart my laptop! i restarted it and in BIOS i found nothing about AHCI.
    If anyone can help me please i will be thankfull!

    regards
    Tommy

  7. Hi,
    I did the same steps as you have written but it was not requiered to restart my laptop! i restarted it and in BIOS i found nothing about AHCI.
    If anyone can help me please i will be thankfull!

    regards
    Tommy

  8. Great worked perfectly on my system. Did not use your file – followed your instructions and job is done. Thank you

  9. Pingback: Anonymous
  10. Pingback: MA78GM-S2H will load OS only under Native IDE
  11. dude, worked perfectly (except i had to go into each individual drive in the 'device manager' and select “better performance,” then i got my correct SATA speeds and didn't need the USB cable attached) [win 7 x64, 1 tb external] -thanks and peace!

  12. According to Microsoft it is the first one. The second one might be a mistake

  13. Hi, this isn't working for me. I've tried it a few times and it still hasn't showed up in the bios. I just installed Windows 7 last week.
    Please email the solution to
    Thanks in advance.

Comments are closed.