Technical Anshu
Tutorials Blog
💽 Boot Recovery

Windows Will Not Boot After Changing RST to AHCI the Recovery Order

A blue screen boot loop after a storage mode change feels like a dead Windows. It is a five-minute mismatch with a safe way back — and the first step is simply undoing the change.

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

You changed the BIOS storage mode — RAID On to AHCI, or VMD off — and now the PC that worked yesterday blue-screens with INACCESSIBLE_BOOT_DEVICE and restarts in a loop. Stop. Do not reinstall Windows, do not run random repair tools. The recovery order is short, safe, and starts with the move most people never try: put the setting back.

The blue screen that follows an unprepared mode change
INACCESSIBLE_BOOT_DEVICE Your PC ran into a problem and needs to restart. (Windows cannot reach its own system disk — it is looking for the OLD storage controller mode.)
This error after a BIOS storage change is a driver mismatch, not a broken Windows. The system disk is fine; Windows is knocking on a door that moved.
1

Recovery Step One — Put the BIOS Setting Back

  1. Restart and enter BIOS setup
  2. Restore exactly what you changed: SATA Operation back to RAID On, or the VMD Controller back to Enabled
  3. Save, exit, and let Windows boot. In the overwhelming majority of cases it starts completely normally — nothing was damaged

This works because Windows was never broken. It holds the driver for the old mode; give it the old mode back and the boot succeeds. Automatic repair and Startup Repair cannot fix this, because the repair environment faces the same missing driver.

2

Then Do the Switch Properly This Time

Now that Windows is alive again and you know the return path works, follow the safe order from this series: run bcdedit /set {current} safeboot minimal in an administrator Command Prompt, restart into BIOS, change the mode to AHCI or VMD off, boot into Safe Mode once, then run bcdedit /deletevalue {current} safeboot and restart. Five minutes, no loop, no reinstall.

3

If You Cannot Remember the Original Setting

There are only two or three positions the switch can be in. Try them one at a time — RAID On / VMD Enabled, then AHCI — booting after each. One of them is the mode Windows was installed under, and that attempt will boot. Avoid changing unrelated BIOS settings while you search; every extra change adds a variable you cannot account for later.

4

If Windows Still Will Not Boot in Any Mode

Then the mode change is probably not the whole story. Consider: a BitLocker recovery screen means the key, not a reinstall, is the answer — firmware changes legitimately trigger it. A PC that fails identically in every mode, with the drive missing in BIOS, has the hardware problem covered in the dead-drive test of this series. Only when the drive is visible, the mode is original, and Windows still cannot start should you move to WinRE repairs like System Restore — in that order, and not before.

🔴 Honest note: the worst outcome in this situation comes from panic — reinstalling Windows over a healthy system because a blue screen looked fatal. INACCESSIBLE_BOOT_DEVICE after a storage change is a five-minute fix. Reinstall is the last resort of a different problem entirely.

🎥 Watch the Complete Fix in the Video

After you recover the boot, watch the video to complete the original job — a Windows install that can actually see the drive.

▶️ Watch Full Video
❓ Frequently Asked Questions

Why does Windows blue screen after I change RAID On to AHCI

Because Windows boots using the storage driver for the mode it was installed under. Change the mode without preparing, and at boot it searches for the old controller, cannot find its own disk, and stops with INACCESSIBLE_BOOT_DEVICE. The Windows installation itself is undamaged.

Will Startup Repair or System Restore fix the boot loop

Startup Repair cannot — the repair environment has the same driver problem. System Restore does not change which storage driver loads at boot either. The reliable fix is restoring the original BIOS storage mode so Windows boots, then switching modes properly with the safeboot preparation described in this series.

I switched the BIOS back and Windows booted — is it safe to try the switch again

Yes, and now you have proof the return path works. This time prepare Windows first: bcdedit safeboot minimal, restart into BIOS, change the mode, boot Safe Mode once, delete the safeboot value, and restart. That order lets Windows adopt the AHCI driver instead of crashing against it.

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 🙏