Change ATA to AHCI after Installation of Win7

So, I spent awhile setting up the perfect WMC box only to discover in my bios I had to switch to AHCI from ATA in order to enable e-sata.. no problem! I quickly changed the setting in my bios and everything looked okay. until…
I was stuck in a reboot loop! However I noticed it did not reboot until windows was partially loaded, so this had to be a driver issue. I switched back to ATA, found registry keys to change to enable AHCI, then switched to AHCI in the bios yet again.
This time all is well. In the registry change the following keys value to hexadecimal 0.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Msahci
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\IastorV