How to Change SATA HDD Mode from IDE to AHCI / RAID in BIOS after Installing Windows

Today we are going to address a very common but one of the most irritating problems in this tutorial.
Consider following scenario:
You got a new computer system in which the SATA hard disk controller mode in BIOS settings was set to IDE ( or IDE Compatibility or Standard IDE) instead of AHCI (Advanced Host Controller Interface) or RAID for better compatibility.

You didn’t notice that and installed Windows. After sometime you realized it and changed the SATA mode from IDE to AHCI or RAID in BIOS and your Windows crashed.

Windows will no longer start and will show a BSOD (Blue Screen Of Death) containing error code “STOP 0x0000007B INACCESSABLE_BOOT_DEVICE“.

Why? Because Windows can’t load the new drivers for AHCI or RAID interface. Actually when Windows is installed, it automatically disables unused storage drivers to speed up Windows startup process.
As a temporary fix, you can reset the SATA mode from AHCI or RAID to IDE in BIOS but you’ll find yourself in the same situation. Or you can reinstall Windows but that would require lots of time and efforts.
Then how to switch SATA hard disk mode from IDE to AHCI or RAID in BIOS after installing Windows so that you would not need to repair or reinstall Windows?
Here is the solution! You just need to tell Windows that hard disk mode is going to change upon reboot using Windows Registry and Windows will automatically detect the mode and will install the required drivers and you’ll be able to successfully change the SATA mode in BIOS without any need to reinstall Windows.
So without wasting time lets start the tutorial:


1. First DO NOT change SATA hard disk mode settings in BIOS, leave it to the default settings which were used while installing Windows.

2. Now start Windows and type regedit in RUN or Start Menu search box and press Enter. It’ll open Registry Editor.

3. Now go to following keys one by one:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\servic es\msahci

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\servic es\pciide

In right-side pane, look for a DWORD “Start“. Double-click on it and set its value to 0 (That’s zero and not alphabet O).

4. If you are using RAID or other interface, do the same thing for following key as well:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\servic es\iaStorV

In right-side pane, look for a DWORD “Start“. Double-click on it and set its value to 0 (That’s zero and not alphabet O).

5. That’s it. It’ll reset the hard disk mode settings in Windows registry. Close Registry Editor and restart your system.

6. Now enter into BIOS settings and change SATA hard disk mode to AHCI or RAID according to your requirements.


7. As soon as Windows will start booting, it’ll automatically detect the change and will install the appropriate drivers. Once the drivers are installed, Windows will boot without any problem and you’ll not need to reinstall Windows just to change SATA hard disk mode.



You can also try following method suggested by one of our readers:

1. Open RUN dialog box by pressing WIN+R keys together and then type msconfig (Windows 8 or later users can open RUN dialog box by right-clicking far left-bottom corner of desktop, then selecting Run option).

2. Click on Boot tab, enable Safe boot checkbox, apply the changes and restart your computer.

3. Upon restart, get into BIOS settings (by pressing DEL or F2 key most likely), change the hard disk mode to AHCI, might also have to change boot order SCSI, save settings on exit and reboot. Windows will now boot in safe mode.

4. Run msconfig again, go to Boot tab, unmark Safe boot option and restart PC.
That’s it. Now your PC will work fine.

Was this article helpful?

Related Articles

Leave A Comment?