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:
- 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, specially 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.
Subscribe to our RSS feed to stay updated with our latest blog posts!
Join our Facebook fanpage or follow us on Twitter to stay up to date on all things different about Microsoft, Apple and the Internet.
- Twitter Trackbacks for How to enable AHCI in Windows 7 RC after installation | ithinkdifferrent [ithinkdiff.com] on Topsy.com
- Bloodrage GTI issue – Xtreme CPU
- M
- HTPC for my family – HEXUS.community discussion forums
- Hot-swapping drives in Windows 7 « Tech That!
- how to enable ahci after windwos 7 installation – TweakTown Forums
- A few problems installing Windows 7 « Handwaving
- Need some guided help please. – Overclock.net – Overclocking.net
- How do I enable AHCI with Win 7? – Overclock.net – Overclocking.net
- How do I enable AHCI with Win 7? – Page 2 – Overclock.net – Overclocking.net
- The *Official* MSI K9N2 SLI PLATINUM Owners Club – Page 62 – Overclock.net – Overclocking.net
- [Windows 7] votre port e-sata ne fonctionne pas ? , Le petit blog de Pierre / Pierre’s little blog
- uberVU – social comments
- Windows 7 Slow to Boot, Shadow Copy Fails | Windows Seven 7



January 17, 2010 - 12:50 am
Thanks! I was just searching for that
January 17, 2010 - 10:19 am
@shiftin enable ahci after install with reg hack http://www.ithinkdiff.com/how-to-enable-ahci-in-windows-7-rc-after-installation/
January 17, 2010 - 2:55 pm
Perfect !!
January 20, 2010 - 3:02 am
it´s for you Windows User.Not a Bug.It´s a feature….
January 21, 2010 - 7:49 pm
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.
January 23, 2010 - 10:26 pm
Worked fine on my Asus P6T SE with a Corsair P64 ssd under Windows 7 Home Premium 64 bit.
The windows performance index went from 7.1 to 7.3
Thanks!
January 27, 2010 - 1:06 pm
Hi All,
I tried doing the same thing for my Fujitsu Amilo si 3655 with windows 7 OS. The setting in registry is already 0.
When i looked into BIOS and trying to enable Sata drive it is in non editable mode.
I am very new to all these settings so probably I might be looking at some wrong place. Please let me know where exactly do I need to go to enable the AHCI mode.
January 29, 2010 - 5:44 am
Thanks for the tip, worked fine for me on my EVGA E758-A1
January 31, 2010 - 10:44 pm
did not work for me on a p6t / i7950 / win7 ultimate x64 ….. changed the registry, enabled ahci in bios and got a bsod when starting windows …
February 1, 2010 - 7:30 am
Mine hasn’t been working, so I would like to change it back.
When you right click on start, in the “Msahci” and change the number to 0, what was it originally?
I would like to change everything back to how it was before I tried this, as whenever I tried booting into windows, I would get a BSOD.
So yes, what was the number before you are suppose to change it to 0?
February 1, 2010 - 2:34 pm
the original value is 3 … I did also revert the registry to its initial value for that matter and it worked fine!
February 1, 2010 - 3:42 pm
It worked flawlessly on an old Acer 4715Z notebook.
Thanks a lot!
February 5, 2010 - 1:06 am
On my ASUS P5KC the registry script works fine.. No bluescreens.. However when I attempted to switch from SATA to AHCI it is no longer there..
I will have to revert and figure out what is going on..
February 5, 2010 - 1:11 am
It might be because I have 3 drives now installed.. I am so confused.. Oh well might just wait for reinstall time etc..
February 5, 2010 - 8:47 am
I just went from a 7.1 to 7.6 score for my primary hard disk using Windows 7 “Windows Experience Index” test.
This worked out great, thanks for the info!
February 7, 2010 - 4:25 pm
@redbeard0×0A Do you mean I should reconsider changing to AHCI? Or that I should do it? http://bit.ly/bGwce9
February 9, 2010 - 7:31 am
Thanks alot! This worked perfectly on my Windows 7 retail OS and Gigabyte EP45-UD3P board.