AHCI (Advanced Host Controller Interface) is a new interface specification that allows the SATA controller driver to support advanced features that can give better performance out of SATA hard drives, especially in Windows Vista/7.
After two or three times of restarting the Windows 7 installation process after changing the SATA Operation to AHCI in the BIOS, I thought their must be a way to make this change without having to reinstall Windows. After a little digging, I found out their is a simple registry change that can be made that will allow for the SATA Operation change. Here's what you can do:
- Start "regedit.exe"
- Browse to HKLM\System\CurrentControlSet\Services\msahci\
- Change the DWord value named "Start" from "3" (ATA) to "0" (AHCI)
- Shutdown the computer
- Power the computer back on, making sure to enter the BIOS and change the SATA Operation to AHCI
- Save the change
Justin
Warning: Changes made to the Windows registry happen immediately, and no backup is automatically made. Do not edit the Windows registry unless you are confident about doing so. Creating a backup before editing the registry is highly recommended.
Thank you! This helped me a lot. I had a computer that was responding a little slow on the hard drive after we installed Win 7 over XP. I didn't have an image of Win 7 because I wanted all of the old windows.old files to be on the C: for me. Anyway, this helped me from having to reinstall (again). Much appreciated.
ReplyDeleteGlad it helped someone out! :)
ReplyDeleteYou may want to fix your typo, though: Servuces\msahci\ :) Should be Services
ReplyDeleteTypo fixed. Thanks for catching that.
ReplyDeletemicrosoft themselves also suggest to switch
ReplyDeleteHKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\IastorV
to 0 in knowledge base article 922976
Microsoft Knowledge Base Article 922976 stats to change one or the other. Thanks for bringing this up though as I'm assuming you would want to change the IastorV "Start" value to 0 if switching from ATA to RAID. Thanks!
ReplyDeletehttp://support.microsoft.com/kb/922976
Worked Great! Thank you so very much.
ReplyDeleteCan you do this from the BIOS as well?
ReplyDeleteStep 5 in my instructions above must be completed in the BIOS. However, steps 1-4 must be completed first.
DeleteHow do these instructions change for Windows 8?
ReplyDeleteThank you! Very helpful and saved me lots of time than doing a fresh install.
ReplyDeletehow about from ahci to raid?
ReplyDeleteThanks for this, our encryption software doesn't seem to play well with ATA mode, so being able to change to AHCI mode without reimaging saved us a lot of time during our rollout!
ReplyDeleteThank you also to this post---I've done the same thing myself a few times in reconditioning older systems and I forget how to successfully make the correction afterwards. This is it, quick n easy---thank you!!
ReplyDeleteSir. Thank you from the bottom of my heart. After installing Windows 7 and spending a couple of agonizing days getting it updated over a slow connection, I realized I had left the HDDs in ATA mode. This is going to be a production machine, so it has to be "right". You have saved me hours.
ReplyDeleteGlad to hear my tip is helping people. This one saved me lots of time many-times :) And, now that you're at Windows 7, you should be able to do the free upgrade to Windows 10.
DeleteAmazing post
ReplyDeleteAMAZING!!! I was about to format and start from scratch.
ReplyDeleteI had a Dell tower and the e-sata port was not working. Bios said the port only worked in AHCI mode. This fixed it. e-sata is working. THANK!!!
DeleteIt works like a charm!
ReplyDeleteThanks a ton.
Thanks Justin! Just upgraded a customer's HDD to SSD and the Samsung Magician software said it needed the computer to be in AHCI mode so your procedure did the trick!
ReplyDeleteThanks Justin, I image computer labs and the newer pcs only have ahci and raid mode. My image uses ATA, used your tip on an existing machine, changed the mode to AHCI and it booted fine. Now I can deploy to the new machines, saved me a ton of work, thanks!
ReplyDeleteOn my Dell780USFF I have Win7Pro64 running in ATA mode and Bios is set to ATA - it boots fine, but the eSata port does not, as it requires bios to be set to AHCI.
ReplyDeleteI modified the registry as suggested, switched bios settings to AHCI and rebooted. DID NOT WORK (infinite reboot loop)
I switched back to ATA in Bios; Strangely Win7 loaded even if the registry was still set as AHCI (0), so I'm baffled.
SUGGESTIONS? Thanks.
Yes this is it. A great alternate to the people that tell us reinstall for about every problem there is. Thank you.
ReplyDelete