AHCI (Advanced Host Controller Interface) makes NCQ (Native Command Queuing) along with hot-plugging or hot swapping through SATA Serial-ATA host controllers possible
Usually today’s motherboards will have AHCI enabled in UEFI or BIOS by default. Some older motherboards may have IDE enabled by default instead.
If you wanted to install Windows using AHCI instead of IDE, then you would normally need to have AHCI enabled in BIOS/UEFI first.
This tutorial will show you how to enable AHCI in Windows 8/8.1 and Windows 10 after you have already installed the OS (operating system) with IDE by mistake.