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, where as 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, specially if you’re a notebook user. Of course with the variety of PC hardware, experience many vary.


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.

Related Posts

  • Pingback: iDeneb 1.3 on AMD Athlon II I nVidia GeForce 6150SE Graphics I nVidia MCP61 Chip()

  • Pingback: || Pc upgrade()

  • Pingback: [User-Review] Asrock Z68 Pro3 & - M: Leistungsaufnahme Tests - Seite 13 - Forum de Luxx()

  • Pingback: Kit LGA 1155 Overclock - Page 2 - My Garage()

  • Pingback: Waarom is mijn SSD zeer langzaam?()

  • Pingback: blue screen: - My Garage()

  • Pingback: Hardware probleem bij crashes na 5-15 min gamen? - 9lives - Games Forum()



  • Mr_jazzsax

    amazing, just what i needed.. thanks

  • Thijs Wegkamp

    Thanks I did this and it worked. Now I have a problem though; 8 out of 10 times my computer will boot up to go into BIOS right away. I need to enter ‘discard changes and exit’ for it to boot up to Windows. Very anoying because I bought an SSD just so my computer would be (and boot up) faster. 
    Does anyone know how to fix this?  I tried flashing my bios, and changing the sata cables of my 2 drives around. 

    Thanks in advance : 

    Intel core i5-2320 @ 3.00GhzWIN7 64b sp18 gig ramgtx 560 bios: MSI H61M-E33 (B3) bios v10.141st drive SSD OCZ-AGILITY3 120g 
    2nd drive: some old (but good working Seagate sata 2, 3ghz , 220g   drive) 

  • dinesh

    Thanks for u r help it is very easy and excellent work done by u thank u..

  • ricardo brito

    microsoft as a file fix

  • jordi

    thanks man it workt fine for me

  • mike andrews

    Just installed a samsung SDD 840, ASUS M3A78-EM mother board, could not for the life of me get AHCI to run right. Spent a couple of hours playing and updating my bios to no avail. Found this web site, tried this fix and voila!!! AHCI is now enabled and running!! Victory…Thanks for the great tutorial!!

    • D Phil

      I’m right where you were Mike (but add a couple of hours)….I can’t wait to get home to try this! Will let y’all know.

  • michael clyde

    how come the path in the registry (if you do it manually) is different than the path it the .reg file you have for download?

  • D Phil

    Well holy cow, it worked….Thank you Imran!! You have no idea how many days I’ve waisted reading other peoples spew, trying it, and failing…..sure wish I came across this sooner, but, it brought me from a 7.6 to a 7.8 on performance. Of course I had a couple of 6.0 etc…on the way to get here :(….But thanks again and keep it up…..please.

  • sumomanu

    thank you, works like a charm.

  • Chuck

    Bless you!! I fought with this issue for a day and a half. Found your solution and fixed it in less than 5 minutes. I’ve saved your post and “fix” so when I have to do a reinstall down the road, it will be a cake walk next time.

  • Danny


    I followed your steps, however after I enabled AHCI in the BIOS after making the registry change and shutting down I still got the Blue Screen. Enabled IDE mode and booted normally. Confirmed the reg key was still set as mentioned above. This was on an 8440p EliteBook HP Notebook.

  • Ben

    Your steps say the change has to be made in subkey CurrentControlSet. The file we can download makes the change to ControlSet001. Do both keys need to be changed?