Configuring AHCI

How do I configure AHCI settings?

The best way to enable AHCI is to go to BIOS and enable AHCI mode, and then install the operating system.

  • Boot the system,
  • Enter BIOS setup
  • Change SATA settings from IDE to AHCI.
  • Install the operating system.

When Windows is installed without enabling the AHCI mode in BIOS setup, an error may occur while Windows is booting.

Change the settings as shown below, or reinstall Windows.

Windows 7:

  • Go to Start>Run, and then enter "regedit" in the Run window and press Enter to launch the Registry Editor
  • HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > services > msahci
    • In this menu, you will see an item named Start. Double-click it to change it to "0"and then reboot.
  • Enter BIOS setup, and change SATA settings from IDE to AHCI.

Windows 8/8.1/10/11:

  1. Click the Start Button and type cmd
  2. Right-click the result and select Run as administrator
  3. Type this command and press ENTER: bcdedit /set {current} safeboot minimal (ALT: bcdedit /set safeboot minimal)
  4. Restart the computer and enter BIOS Setup
  5. Change the SATA Operation mode to AHCI from either IDE or RAID
  6. Save changes and exit Setup and Windows will automatically boot to Safe Mode.
  7. Right-click the Windows Start Menu once more. Choose Command Prompt (Admin).
  8. Type this command and press ENTER: bcdedit /deletevalue {current} safeboot (ALT: bcdedit /deletevalue safeboot)
  9. Reboot once more and Windows will automatically start with AHCI drivers enabled.

- How to enter BIOS setup for different mainboards :

** These are generalized steps for major manufacturers, steps may vary for additional motherboards and models.

  • ASUS Intel chipset : Main > Storage Configuration > Configure SATA as
    • In this menu, select AHCI
  • ASUS AMD chipset : Main > Storage Configuration > SATA Mode Select
    • In this menu, change to AHCI Mode
  • GIGABYTE Intel chipset : Integrated Peripherals > SATA RAID/AHCI Mode
    • In this menu, select "AHCI"
  • GIGABYTE AMD chipset : Integrated Peripherals > OnChip SATA Type
    • In this menu, select AHCI
  • MSI Intel chipset/ AMD chipset : Integrated Peripherals >
    • On-Chip ATA Devices > In RAID Mode, select AHCI

related articles