Skip to content

Instantly share code, notes, and snippets.

@anhkind
Created April 6, 2026 07:55
Show Gist options
  • Select an option

  • Save anhkind/8b30c7ecdaaacfd5399fe4ef36caee6e to your computer and use it in GitHub Desktop.

Select an option

Save anhkind/8b30c7ecdaaacfd5399fe4ef36caee6e to your computer and use it in GitHub Desktop.
Switch IDE / RAID to AHCI within Windows 10 without reinstallation
# from https://www.reddit.com/r/Ubuntu/comments/iu6gf9/comment/g5j12p3/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
1. While logged into Windows normally, 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
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. While in Safe Mode, Right-click the Windows Start Menu once more. Choose Command Prompt (Admin).
8. Type this command and press ENTER: bcdedit /deletevalue {current} safeboot
9. Reboot once more and Windows will automatically start with AHCI drivers enabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment