Systems installed with RAID drivers (among others Intel's RST) can be switched to AHCI without reinstalling Win10.
Run MSCONFIG and enable Safe Boot (minimal).
Reboot into UEFI/BIOS and change to AHCI.
Boot into safe mode, run MSCONFIG again and disable Safe Boot.
Reboot.