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:
Thank you for the post. Unfortunately it caused instability in my particular case, maybe there are additional settings in BIOS to deal with? or the native windows driver isn’t the best choice? changing the registry item back to 3 and going back to IDE mode in BIOS seems to work.
Thankyou so very much for this!!!! Im running Win7 x64 and the instructions worked perfectly!!
WOW, Thanks, it was so easy. You’re the best !
this reg file is not quite same as this post?
1. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Msahci
2. HKEY_LOCAL_MACHINE\System\ControlSet001\Services\Msahci
am I wrong ?
I agree post itself and .reg file have different registry keys listed.
Which one to use?
Thanks for the share friend :)
Thank you very much for sharing this info, worked perfectly for me after I installed a new motherboard and wanted to use the AHCI settings.
Thanks!
This worked perfectly! Other sites said it was impossible.
Does this patch work on a windows XP box ?
My mobo bios does have ahci between the options, but for xp to recognize the disk, I needed to keep this options as ‘sata’ because if I select ‘ahci’ the installation procedure said there is no hard disk!
So, now and after a successfull installation of xp, I wish to change it to ‘ahci’, but up to now, to no avail.
Regards,
its very helpful of you Sir, thanks very much.
Hey – thanks for the tip. Do you know if this will work going from AHCI to RAID? If so, do you know the value to enter?
Worked like a charm, thanks
thanks so much now I install achi drivers on my As5738g!
Thanks a bunch…will be trying this out on my home PC this weekend. Also thanks because this helped resolve an issue on my work PCs.
Thanks a bunch…will be trying this out on my home PC this weekend. Also thanks because this helped resolve an issue on my work PCs.
Hello,
Despite your detailed walkthrough, I had to stick to Compatibility on my ThinkPad X60 with a Kingston SSD. Just didn’t go past POST if I turned on AHCI.
Hello,
Despite your detailed walkthrough, I had to stick to Compatibility on my ThinkPad X60 with a Kingston SSD. Just didn’t go past POST if I turned on AHCI.
Hello,
Despite your detailed walkthrough, I had to stick to Compatibility on my ThinkPad X60 with a Kingston SSD. Just didn’t go past POST if I turned on AHCI.