SOLUTION: Switch Windows 10 from RAID/IDE to AHCI operation

PSA: You should not be attempting these fixes unless you’re a professional!  And it goes without saying, you will ALWAYS need your local admin password, recovery media, and backups of your data before fooling around with low-level storage driver configuration — or really anything else for that matter.  See the comments section below for examples of a couple of people who ran into mishaps after encountering other underlying issues or forgetting their admin password before starting the process.  PROCEED AT YOUR OWN RISK!

It’s not uncommon to find a system on which RAID drivers have been installed and something like the Intel Rapid Storage Technology package is handling storage devices, but where an SSD might require AHCI operation for more optimal performance or configurability. In these cases, there is in fact a way to switch operation from either IDE or RAID to AHCI within Windows 10 without having to reinstall.  Here’s how.

  1. Right-click the Windows Start Menu. Choose Command Prompt (Admin).
    1. If you don’t see Command Prompt listed, it’s because you have already been updated to a later version of Windows.  If so, use this method instead to get to the Command Prompt:
      1. Click the Start Button and type cmd
      2. Right-click the result and select Run as administrator
  2. Type this command and press ENTER: bcdedit /set {current} safeboot minimal
    1. If this command does not work for you, try bcdedit /set safeboot minimal
  3. Restart the computer and enter BIOS Setup (the key to press varies between systems).
  4. Change the SATA Operation mode to AHCI from either IDE or RAID (again, the language varies).
  5. Save changes and exit Setup and Windows will automatically boot to Safe Mode.
  6. Right-click the Windows Start Menu once more. Choose Command Prompt (Admin).
  7. Type this command and press ENTER: bcdedit /deletevalue {current} safeboot
    1. If you had to try the alternate command above, you will likely need to do so here also: bcdedit /deletevalue safeboot
  8. Reboot once more and Windows will automatically start with AHCI drivers enabled.

That’s all there is to it!  Special thanks to Toobad here for outlining this procedure.

Update 8/2/17:  Thanks also to Aalaap Ghag for clarification of instructions for those who have already updated to the Creators Update.  Thanks also to those who wrote in about removing {current} to make this work for some users.

Donate to say "Thanks" if this post has helped save you time and money! 🙂

77 thoughts on “SOLUTION: Switch Windows 10 from RAID/IDE to AHCI operation

  1. Blue screen and endless repairing disk cycles for me 🙁 (single disk to no actual raid was ever on, but maybe some interaction with the SSHD being to used to accelerate perf?). 🙁

    Asus Pz77-v MB

  2. Thank you so much for these clear and simple instructions. I had no idea it was this easy to avoid having to reinstall Windows!

  3. Wow thanks! I thought disabling SRT in windows then in bios switching to ahci was enough but nope. This did it. Thanks

  4. I used msconfig to boot into and out of safe mode, therefore not needing to edit the registry. Was able to change from RAID to AHCI, thanks!

  5. does not work for me.. it says:

    PS C:\WINDOWS\system32> bcdedit /set {current} safeboot minimal
    The set command specified is not valid.
    Run “bcdedit /?” for command line assistance.
    The parameter is incorrect.

  6. I had the same error as Mark (“The set command specified is not valid.”), I’m running a brand new Windows 10 machine.

    I got it to work by removing “{current}” from the command:
    > bcdedit /set safeboot minimal
    > bcdedit /deletevalue safeboot

    And your solution worked great, thank you!

  7. When I switch from Raid to ACHI then save and exit it just says “Missing Operating System”. I successfully switched it to safe mode before this, is there anything I can do?

  8. Tried this fix just now to find that now instead of just freezing, my pc now just decides to turn itself off. The setting was already on AHCI. And on top of that my keyboard isn’t working either. Nice.

  9. So the setting was already AHCI? Obviously this would suggest nothing was changed then. Have to tell you this, but it sounds like you’ve got deeper issues at play. You need to get ahold of a local technician you trust to help you out.


  10. Tried this and now my computer is stuck on safe mode. Why didn’t you say anything about making sure you have the local account password before you try to boot into safe mode!? You ruined my Sunday by excluding that vital information. Now I am stuck having to buy a 16gb flash drive so I can make boot media to repair this mess. Microsoft customer service couldn’t help me, suggested I drive an hour to the nearest Microsoft store for help…

  11. Oh and there’s no way to boot back into normal mode once you start safe mode. Another vital chunk of information left out of this article….

  12. Dylan,

    Sorry man, this blog is nothing more than a free resource I provide to help other techs like myself. It assumes the technical background and resources are present to correct any issues that might come your way when undergoing any of the fixes. Obviously I can’t predict every possible problem you might encounter!

    Good luck, it should be an easy fix. I can’t imagine any scenario where someone would be doing this on a PC where they don’t have the local account password though… So you forgot your original password, and I ruined your Sunday? This is what you get for trying to help people out for free I guess!


  13. Look I’m just saying that as one of the top results of a google query about this problem you should definitely put up a disclaimer or a caveat that says “warning – you must use your local account to log in” because in Win10 the default is to use a Microsoft account or a PIN. That’s all.

    I could have easily gotten the password before I doomed my computer into safe mode purgatory if it simply said I needed it in the post.

  14. Hey, I get it, and it sucks you’re frustrated. The thing is, I have no control over my positioning on Google — my visitors do (entirely!), and as you can probably see from the plethora of other (free!) articles and comments here, it’s primarily because I offer some pretty darn useful help at absolutely no cost. I make precisely zero ($0.00) off the operation of this blog apart from the odd donation, and that’s merely out of the kindness of some visitors’ hearts. It’s just a favor from me to the tech community, nothing more, nothing less!

    And it’s certainly FAR from perfect. If I tried to cover every possible variable every time I sat down to donate my time to writing up an article for other techs to have at their disposal, it would make more sense for me to just shut down the entire site and start charging people who have the problems and come to me for answers.

    So again, my apologies that this didn’t work out for you because you didn’t have your local admin password handy. It’s sort of like locking the door behind you on the way out of your house and forgetting that you changed your garage keypad code. You’ll have to call a locksmith to get yourself back in, and after that, write down your passwords and don’t forget them!

    And for future reference — this isn’t some lightweight tech advice here. PLENTY of it can ruin a computer if you don’t know what you’re doing. Check out that disclaimer on the right side of the main page for full details about that.

    If you were in Louisville, I’d ask you to come by so I could get you back in, which would probably take 60 seconds. Unfortunately, I can’t do that for you — so I’d suggest either finding a local tech you trust (the same thing I told someone else above) or downloading a password reset disk such as Active@ Password Changer or PCUnlocker. Good luck, and apologies for your misfortune!


  15. Hey Steve, wanted to update and let you know I solved the problem by creating a 512MB recovery disk on my laptop and then using that to boot back into my account. Was a relatively easy fix.

    I’m going to make a local admin account with no password and use that to follow your instructions so there’s no chance of a weird hangup like what I experienced.

    I’ve never owned an SSD before – so the whole SATA operation thing is new to me, also Windows 10 using a different password for safe mode is new to me too, really seems like bad design. Anyway, I’m confident it should work now.

    Thanks for the communication buddy. I’m in Dayton so really not too far away haha.

  16. Also I’m pretty sure that I either don’t have a local admin account or deleted it, I only have one account on my computer currently.

  17. My mom’s from Dayton! Small world for sure. 😉

    As for the local admin account, what likely happened (if I had to guess) is that you wound up associating your Microsoft account with your Windows installation (it’s relatively easy to accidentally do). That way, Windows forces you to sign in each time using your MS account email and password — but the problem is, if you’re offline for any reason or the information changes somehow, you can’t login until you provide the previous credentials. At least, that’s my best guess.

    As for it being a different password for Safe Mode… well, that part still has me confused as well. Perhaps Windows 10 simply always requires a local account login (rather than MS account) in Safe Mode operation and I’ve never noticed it!

    Either way, appreciate the update, and glad you got things working again. Hopefully now with AHCI mode!


  18. Thanks for the tip. Unfortunately, I only got as far as it booting into safemode, but the mouse doesn’t work and none of the letter on keyboard work either. Any further assistance will be greatly appreciated.


    I had just done a BIOS update and it reset from AHCI mode back to IDE, and Windows ended up trying to boot before I caught it. It loaded the IDE drivers and then wouldn’t finish booting. I got the board to finally keep settings set for AHCI mode and then Windows kept giving me boot_device_inaccessible because it was trying to load the IDE drivers.

    After a few failed boots startup repair gave me the option to open SAFE MODE with Networking, where I found your article! I opened msconfig and switched boot to safe (minimal) and then from there switched safe boot off, and now Windows works again! \o/

  20. Hey Steve, thanks for posting your solution to switch Windows 10 from RAID/IDE to AHCI operations. Worked like a charm. Just sent in a small donation.

  21. Worked perfectly! Like some other mentioned previously, I also had to leave out the {current} part of the command line entry. I was thinking I would have to reinstall Windows.. this was so much better. Thank you!

  22. I am going to try this. I am wondering if Dell’s OEM small diagnostic partition will still work after the change from RAID to AHCI. You can boot into the diagnostics partition so would the change from RAID to AHCI kill that boot or would it still work?

  23. I can’t say for certain as I haven’t tried it to my knowledge since performing this switch on any systems, but logically-speaking it should not make a difference.

  24. Thanks for this fast process. You are correct, it can still boot to the Dell OEM diagnostics partition after the change to AHCI. I’m sorry but my employer won’t donate to you but perhaps my giving you this info about the OEM boot will compensate you at least a little.

  25. This worked really well for me on a Lenovo 710S Plus. Having flashed the BIOS to enable switching between RAID and AHCI this was the missing piece to getting a Ubuntu/Windows 10 dual boot going :)))

  26. Had the same issue in which I was locked in safe mode with no local admin password (enterprise Azure AD login only)

    Restart on the login screen using shift when clicking restart.

    Enter cmd in start-up recovery (had to obtain bitlocker key to access(

    Entered command
    bcdedit /deletevalue {current} safeboot
    This didnt work (parameter issue)

    So changed command to
    bcdedit /deletevalue {default} safeboot

    This worked.

    In order to avoid getting stuck in safe mode again or prior, setup a local account with no Microsoft account details and change from local to admin account.

    This detail should be added to the above description.


  27. i do it and i restarted computer than giving me mag this app not working
    and i check my bios insydeh20
    i don’t see anything about AHCI

  28. My Dell XPS 8000 doesn’t appear to have an AHCI mode in Bios. It’s running Dell A03 Bios (the latest from Dell) and still it doesn’t appear to have the option. I’ve only found ATA or RAID.

    Do you know if the Dell XPS 8000 series supports AHCI?

  29. Your solution worked, I really appreciated it. I been trying to figure out how to get my computer out of using raid for a really long time.

  30. Thank you so much and also to David who mentioned to leave out the {current}. It works flawlessly. Thank you all!

  31. Hello. This solution seemed to work for my Toshiba SSD from running correctly in AHCI mode, I believe. I try to keep up with the times and do a lot of reading and fixing issues I run in to, so I know a few things about fixing PCs but some things still stump me. PC runs great when I get it up and running, but when I turn it off at night and go to turn it on in the morning I get the error “Reboot and select proper boot device or insert boot media in selected boot device and press a key”. I have an older motherboard, an Asus M4A785M with Sata 2 and I have always seemed to have this problem since I upgraded to this SSD. I will need to reset the PC quite a few times to get either device, SSD or DVD to recognize in the BIOS, but I will eventually get it to boot though it gets very frustrating not being able to cold start my pc and boot on the first try! Has anyone had this problem and could you please help me resolve mine?

  32. Thanks for the guide. Think it should be mentioned in the guide that only local accounts work. Had to reinstall, but was no biggie since I basically just did anyway.

    Running AHCI now, thanks.

  33. Cheerz m8 awesome simple guide went without a hitch, so much easier than the whole changing the drivers manually and changing settings in BIOS 🙂

  34. Thanks – very simple (beats the alternative, hands down) and a timesaver!

  35. After changing to AHCI in the BIOS I can’t boot into Windows. The comouter keeps restarting into BIOS(Wont work with IDE either, the SATA is set to RAID. Any ideas why this won’t work?
    The reason I am turing to change is since my C: disk keeps running on 100% activity.

  36. @Nic B
    Your system supports the use of an SSD (at SATA II speeds), but does not support AHCI.

    You have problems with your drive, PSU or SATA controler. I would start by changing the power and SATA cable from the drive, maybe use a different port too.

    To have your BIOS on RAID you need to have at least 2 disks and than you need to configure them as raid but doing so the controller will make all data on your drive unacceptable so you will lose it. If you have changed the settings to AHCI but when you enter back to BIOS is on something else, make sure you save the changes before exiting. If you BIOS was configured as RAID and now you want to change from RAID to AHCI you will lose data unless you had the RAID configured as RAID 1.

  37. This piece of magic, finessed by Grain’s contribution (Dec13 2016), put an end to week’s of drama trying to get Linux to dual boot with Windows 10 on my Dell XPS13 9365. Both Operating systems are working fine now. Cheers!

  38. Had to come post a reply. This was mind bogglingly easy to do! It took all of 2 minutes to complete and works perfectly!!

  39. Thanks to this I can now install and dual boot into my hackintosh. Thanks a lot!

  40. Worked for me but only on a cold boot.

    So every warm boot (restart) if have on startup a blue screen saying there is something wrong and he needs to fix it ;it goes untyl 100% ,reboots and boots fine in windows.
    Every time I turn on my pc (cold boot) I don’t get any errors.
    Anyone any idea’s ?

  41. Johan,

    It is likely your particular SSD is not waking up in time for the machine to detect it upon a cold boot. Three things to try are 1) update BIOS, 2) Update SSD firmware, or 3) disable fast boot or add a boot drive detection delay if possible within the BIOS setup.

    Good luck.


  42. Thank-you so much for this post!! Using msconfig instead of bcdedit made this super easy, and it worked perfectly on a Dell Precision 7510 so I could get a Crucial MX300 working in Microsoft Bitlocker eDrive mode.

  43. This worked for me (without the {current} bit) BUT I found that sleep mode didn’t work afterwards. Probably this was just a problem with the BIOS but it seems to be a common issue so I thought I’d warn people to test this afterwards if it’s important to you.

  44. For over three years I’ve had random “disk read errors” on startup and I could never figure out how to fix it. Scoured the internet searching for solutions but nothing ever worked.

    I was just about to purchase a new SSD or Mobo last night when I can across this post.

    Literally changed my life (regarding having a desktop I’d never use due to reliability lol).

    I could kiss you sir!

  45. Worked great on my computer linked to my Microsoft account. No idea what everyone is talking about having to make a separate local account or something.

  46. Thanks so much for this posting, saved, couldn’t figure out how to go from raid (optane) back to AHCI. {current} didn’t work but this did, thanks so much.
    > bcdedit /set safeboot minimal
    > bcdedit /deletevalue safeboot

  47. Works with the Creators Update!

    To those having trouble running the command, I think you’re using PowerShell instead of the plain old Command Prompt. Click Start, type in ‘cmd’, right click the result and select ‘Run as administrator’.

  48. This was a good tutorial, but in order to make it even clearer, your should point out clearly that there has to be a space character before the forward slash. This is sometimes difficult to read.
    Additionally, the reference to RAID/IDE may be correct, but many BIOS systems do not use this term, but rather the more well known IRRT term.
    So please add that as well.

  49. Great solution, especially after removing the {current} part of the command as a poster suggested. Worked like a charm! Changed my SATA HDD to AHCI from safe mode without having to reinstall W10. Thank you.

  50. I’m switching a Win10 SSD from my Dell E6320 to a E6330 as the old one does not work properly anymore. The new one says No bootable devices, but shows the SSD just fine in the bios.
    I followed the first steps of your manual on the old one, switched the drive to the new one, changed the SATA mode to AHCI (from RAID), but the error persists.
    I put the drive back into the old one and verified with msconfig that safe mode is the current boot setting, it looks like the regular mode though, accepted my pin as well (didn’t ask for local password).
    From older Windows versions I remember Safe Mode looking horrible with VGA res and all, is that all gone now?
    Did I miss some steps? Could there be another cause altogether?

  51. FYI, I had problems with this since I only had a domain admin account, not a local (not known to me before attempting). I used advanced startup options to allow me to reboot into safemode with network access which then allowed me elevated command prompt privileges with the domain admin account to delete safeboot.

    So the command ‘bcdedit /set safeboot network’ is a better option for anyone in a similar position.

  52. I’m trying to install a Samsung EVO 960 SSD into the m.2 slot on a Dell XPS 8910. No back-up software will recognize the SSD to allow me to clone my spin drive to the SSD and subsequently allow me to do future back-ups. I have a driver for the EVO 960 which I need to insert into the Win-PE which will load my Acronis back-up software and allow it to see the SSD. The driver won’t insert into the Win-PE because it sees the RAID being active. I’m reluctant to follow this procedure switching from RAID to AHCI in the UEFI in case it still won’t let me create the Win-PE. At that point I may need to change back from AHCI to RAID. I have complete back-ups of all partitions on my current spin drive. My question is whether doing a complete restore to my spin drive will undo the changes made to the UEFI by switching from RAID to AHCI.

  53. I’m trying to install a Samsung EVO 960 SSD into the m.2 slot on a Dell XPS 8910. No back-up software will recognize the SSD to allow me to clone my spin drive to the SSD and subsequently allow me to do future back-ups. I have a driver for the EVO 960 which I need to insert into the Win-PE which will load my Acronis back-up software and allow it to see the SSD. The driver won’t insert into the Win-PE because it sees the RAID being active. I’m reluctant to follow this procedure switching from RAID to AHCI in the UEFI in case it still won’t let me create the Win-PE. At that point I may need to change back from AHCI to RAID. I have complete back-ups of all partitions on my current spin drive. My question is whether doing a complete restore to my spin drive will undo the changes made to the UEFI by switching from RAID to AHCI.

  54. I just wanted to say, I’ve been looking for a solution for days on how to get my PCIe m.2 SSD to work again after a clean install of Windows. After a while of futile troubleshooting and looking online, I found on an online manual for the SSD a little statement that said something like “will not work with RAID configuration.” Then I find this webpage, very first on Google, possibly for good reason. I hold off for a couple days but realize that once I am in safemode the next set of instructions reverses it. After doing this, I finally am able to see my PCIe SSD again. Thank you so much! I just wanted to point this out because I see a hell of a lot of people asking why their SSD isn’t working, and I figure a good portion of them is because either they haven’t tried to get AHCI configured, or because like me they were not able to put AHCI on without your set of instructions. Simple, painless, and satisfactory. I appreciate what you put out here.

  55. ASSUMING YOU ARE ABLE TO SAFEBOOT INTO WINDOWS 10, what do you do in Windows 10 so that you can boot into Windows 10 next time without safeboot?

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.