I windows installed on an SSD with IDE option on BIOS. After changing to AHCI bios setting I windows was popping a BSOD. The solution seemed really simple.
Before changing the value in BIOS i had to edit the mode. Open command prompt with administrative rights. Run this command.
bcdedit /set {current} safeboot minimal
Reboot, change the bios entry, start Windows and run this command (as administrator)
bcdedit /deletevalue {current} safeboot
Then reboot again.
In general, AHCI mode is faster than IDE emu mode. It allows for things like NCQ (native command queuing) and hotplug for SATA. System feels more responsive and smooth. This solution is tested and works on Windows 7, 8, 8.1
Also remember to check if TRIM is supported on your SSD. While Windows is designed to automatically detect most SSDs, sometimes it doesn’t work as intended. If you find the performance of your SSD is degrading (or just want to make sure TRIM is properly enabled), run this command (as administrator):
fsutil behavior query DisableDeleteNotify
It will give you one of two results, either a 0 or a 1. A zero indicates that TRIM is enabled correctly, a one means that it is not.
You can now enable TRIM with the following command.
fsutil behavior set DisableDeleteNotify 0
Or disable TRIM as follows
fsutil behavior set DisableDeleteNotify 1