Welcome all , so let me explain I installed Windows 7 With AHCI set from Bios , but after that i wanted to use ide (becose it boots faster) and when i set Ide from Bios , the windows 7 loading screan camed upp and BSOD (Blue screen of death) with an error code 0x0000005B , i tryed the regedit trick by setting in the "HKEY_LOCAL_MACHINESystemCurrentControlSetServicesMsahci" and then in the right pan the START value from 0 i set it to 1 and it supposed to be working but it was a failiure , it still did the Bsod and i was so pissed of , i wanted to make it work ... AND I DID IT !

Here are the pases :
1) I assume u have installed Windows Vista or Windows 7 with AHCI set from BIOS !
2) Download my registry fix (to add the ide keys to regeditor) simply apply the key
3) Now the manually regedit part Go to :

HKEY_LOCAL_MACHINE_System_CurrentControlSet_Services_Msahci
HKEY_LOCAL_MACHINE_System_CurrentControlSet_Services_iaStor
HKEY_LOCAL_MACHINE_System_CurrentControlSet_Services_iaStorV

And in thease three keys in the right pan u will find a key named "START" change at all three (Msahci,iaStor,iaStorV) values from 0 To 1
Now navigate to HKEY_LOCAL_MACHINE_System_CurrentControlSet_Services_PciIde
,then change the start value to "0"

4) Now u are allmost done , restart your computer/laptop , and go to Bios and set from AHCI to IDE !!! , save settings in Bios and restart