When you installed Windows 7 on your disk with IDE mode, your computer might lost some advantages of SATA/AHCI mode. Then, you may want to enable SATA/AHCI mode for your disk. But simply changing your disk mode settings in BIOS setup is not enough. This will cause your system automatically restarting. Below tip may be help you.
Tips and tricks for you: Tech - Internet - Programming - ...