Nebo tady https://www.overclock.net/forum/newreply.php?do=postreply&t=1227636 doporucuji napred odinstalovat AHCI driver - to mozna neni nutny, ale proc ne
If currently installed, uninstall your RAID or AHCI SATA driver (for intel, intel rapid storage technology)
Basically open msconfig -> boot tab -> check safe boot -> restart
Go into UEFI/BIOS and set SATA mode to which ever one you want
Boot up into windows safe mode
Open msconfig again -> under the main menu tab (general) click the normal startup circle - > restart
Your system should boot into windows fine and you can install your AHCI or RAID driver.