Technical Anshu
Tutorials Blog
💽 AHCI Switch Guide

Switch an Existing Windows From RST to AHCI Safely Without Reinstall

Flipping the BIOS to AHCI on an installed Windows causes a blue screen only when you do it in the wrong order. This is the right order — Safe Mode first, BIOS second — and it needs no reinstall and touches no data.

✍️ Technical Anshu🪟 Windows 10 / 11 Setup⏱️ 7 minute read
🎥 Watch the video — the missing drive fix and the RST VMD RAID settings shown live

You want AHCI mode, but Windows is already installed and working under RST — and everyone warns that flipping the BIOS setting causes a blue screen. They are right, if you flip it first. Done in the correct order, the switch takes five minutes and no reinstall: you tell Windows to boot once into Safe Mode, change the mode while it is off, and Safe Mode forces Windows to load the AHCI driver and adopt it permanently. Order is everything here.

Administrator Command Prompt — run these BEFORE changing the BIOS
bcdedit /set {current} safeboot minimal The operation completed successfully.
This one command is the whole secret. It makes the next boot land in Safe Mode, where Windows loads the storage driver for whatever mode the BIOS is then set to.
1

Why the Wrong Order Causes a Boot Loop

Windows loads exactly one storage driver at the very start of boot — the one matching the mode it was installed with. Switch BIOS from RST to AHCI without preparing, and at boot Windows looks for the RST controller, does not find it, and stops with INACCESSIBLE_BOOT_DEVICE. It retries, fails again, and you are in a loop. The fix below works because Safe Mode does not use the stored assumption — it probes and loads the standard drivers fresh.

2

Step One — Arm Safe Mode While Windows Still Works

  1. Boot into your normal Windows and open Command Prompt as administrator
  2. Run exactly this command: bcdedit /set {current} safeboot minimal
  3. Confirm it answers The operation completed successfully
  4. Restart the PC and go straight into the BIOS setup — do not let Windows boot normally in between

If your Windows is protected by BitLocker, keep the recovery key handy — firmware changes can trigger a recovery prompt on some machines.

3

Step Two — Change the Mode and Boot Into Safe Mode

  1. In BIOS, change the storage setting: SATA Operation from RAID On to AHCI, or set the VMD Controller to Disabled — whichever your brand shows
  2. Save and exit. The PC now boots into Safe Mode automatically because of step one
  3. Reaching the Safe Mode desktop means the AHCI driver loaded and Windows has registered it for normal boots too
4

Step Three — Remove the Safe Mode Flag

  1. In Safe Mode, open Command Prompt as administrator again
  2. Run: bcdedit /deletevalue {current} safeboot
  3. Restart. Windows now boots normally — in AHCI mode, with no reinstall and no data touched

Forget this step and the PC keeps booting into Safe Mode forever; it is the most common reason people think the method failed.

🔴 Honest note: this method is for a normal single-drive Windows. If the machine runs a true RST RAID array or Optane acceleration, do not switch modes at all — the array depends on the RST controller, and no boot trick changes that. And if something goes wrong midway, reversing the BIOS setting restores the original boot exactly as it was.

🎥 Watch the Complete Fix in the Video

Watch the video for the BIOS side of the switch, then follow this page for the Windows preparation order.

▶️ Watch Full Video
❓ Frequently Asked Questions

What happens if I change to AHCI without the safeboot command

Windows blue-screens with INACCESSIBLE_BOOT_DEVICE and loops, because it tries to boot with the RST storage driver against an AHCI controller. It is not damaged — set the BIOS back to RAID On and Windows boots normally again, then repeat the process in the correct order.

The PC keeps booting into Safe Mode after the switch

The safeboot flag was never removed. Open Command Prompt as administrator and run bcdedit /deletevalue {current} safeboot, then restart. That deletes the instruction that forces Safe Mode, and normal booting resumes with AHCI active.

Does this method work for switching back from AHCI to RST

Yes, the same order works in reverse: arm Safe Mode with the bcdedit command, restart into BIOS, set the mode back to RAID On or enable VMD, boot into Safe Mode once, then delete the safeboot value. The rule is always the same — never change the storage mode without a Safe Mode boot prepared.

This guide is based on the Technical Anshu video linked above • Stuck on a step? Ask in the video comments — you will get a reply 🙏