How to Enable AHCI Mode in BIOS Without Reinstalling Windows 7, 10 & 11 (Fix BSOD 0x0000007B)
When Windows is installed on a PC where the motherboard BIOS (or UEFI) SATA controller was left in legacy IDE Mode (also labeled Compatible Mode, Standard IDE, or Native IDE depending on the board manufacturer), the operating system automatically disables the built-in AHCI storage driver at boot time to speed up startup.
The problem surfaces as soon as you upgrade to a solid-state drive (SSD) or add a PCI-E SATA expansion card. SSD management tools like Samsung Magician or Kingston SSD Manager immediately warn you that AHCI mode is required to unlock full sequential speeds, Native Command Queuing (NCQ), and proper TRIM support. However, if you simply enter the BIOS and switch SATA Mode from IDE to AHCI, Windows will crash during boot with a Blue Screen of Death (BSOD 0x0000007B / INACCESSIBLE_BOOT_DEVICE) and enter an endless reboot loop.
Switching the BIOS setting back to IDE lets Windows boot normally again. Fortunately, you do not need to format your drive or reinstall Windows to turn on AHCI – you just need to re-enable the native AHCI boot driver in the Windows Registry before changing the BIOS setting.
Method 1. Enabling the AHCI Driver in Windows 7 via Registry (msahci & iaStorV)
Before making changes, unplug any external USB hard drives or flash drives so only your internal SATA drives are initialized during the transition. While Windows 7 is still booted in legacy IDE mode, follow these four steps:
- Open the Registry Editor: press
Win + Ron your keyboard, typeregeditinto the Run dialog, and press Enter (or typeregeditin the Start Menu search box). - Navigate to the Microsoft AHCI service key: in the left folder tree, expand the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\msahci
- Enable boot-time start: in the right pane, double-click the
StartDWORD value and change its data from3(or4) to0, then click OK.

- Enable the Intel/AMD storage key (iaStorV): on many Intel chipset motherboards, Windows also relies on the
iaStorVservice. Open the neighboring keyHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\iaStorVand set itsStartparameter to0as well.
Close Registry Editor, restart your computer, and immediately press Del or F2 to enter BIOS/UEFI setup. Switch your SATA controller mode from IDE to AHCI, save changes (F10), and boot into Windows. The system will automatically load the Standard AHCI 1.0 Serial ATA Controller driver, complete hardware installation, and prompt you for one final restart.
Method 2. Enabling AHCI in Windows 10 and Windows 11 (storahci)
Starting with Windows 8, Microsoft replaced the legacy msahci driver with storahci. If you are migrating a Windows 10 or Windows 11 system from IDE to AHCI, update these registry entries instead:
- Open
regeditand navigate to:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\storahci - Double-click the
Startvalue and set it to0. - Expand the
storahcifolder and check if it contains a subkey namedStartOverride. IfStartOverrideexists, open it and change the value of entry0from3to0(or delete theStartOverridesubkey entirely, otherwise Windows 10/11 will override your setting and block the driver from loading).
bcdedit /set {current} safeboot minimal. Restart the PC, enter BIOS immediately, and switch SATA mode to AHCI. Windows will boot into Safe Mode and automatically enable the storahci boot driver. Once on the Safe Mode desktop, open an elevated Command Prompt, run bcdedit /deletevalue {current} safeboot, and reboot normally into full speed AHCI mode.
