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! 🙂

178 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?

  56. My dell Latitude E6420 is running Windows 7 Professional and I wish to Upgrade the current hard disk to using Samsung 850 EVO, somehow my Bios is only A04, it does not recognise the SSD drive at all even though I intend to download the Windows & Professional from the Optical DVD. Please kindly advise.

  57. Would the process be the same just in reverse from going from ACHI to RAID? Gonna try this latter as I really would like my Lenovo Yoga 720 to be able to run both Windows 10 and Linux. After much research I am clueless to why Lenovo would use RAID in the first place since there is only a single SSD in the device. Thanks Steve for the guide.

  58. I tried this but still get BSOD even when booting in safe mode. Dell 7710 with M.2. Any thoughts?

  59. Edit: BIOS was just updated, along with a bunch of firmware (which is also causing havoc with Red Hat on a separate SATA SSD-for the record, I hate Red Hat-Ubuntu is the way to go, for me at least).

  60. @Blake:

    I think so, but I can’t confirm for certain that it’s the case. In either situation, simply reverting back to AHCI should render the system bootable again if it fails to work.


    Did you get this corrected yet? If you can’t make it work in Safe Mode then I’m not sure what’s up to be honest. You should be able to reinstate RAID in the meantime to get back into Windows and figure out what is happening. Wish I could be of more service here but it’s really hard to troubleshoot these kinds of issues without being in front of the system!


  61. I had almost reach the end of my rope in frustration trying to get both Ubuntu and Windows to load. Thanks for saving my sanity. –Sandy

  62. Hi, thanks for the tutorial.

    Will this also work the other way around? I.e. going back to RAID/IDE from AHCI?

    It looks like you didn’t do anything specific to AHCI that I can see but rather force windows to accept the new configuration?

  63. Steve,
    Do you have any idea why a manufacturer would put the bios into RAID mode with only one hard drive?

  64. Thank you! This allowed me to install Linux in dual-boot mode on my company Windows10 laptop (Dell Precision 5520). A tip for others maybe: After I enabled safeboot and booted into Windows, it appeared that things weren’t working because I all saw was my background screen. No menus were availalbe and Windows hotkeys were not working. After waiting 10 to 15 minutes, the menus finally came up. I was able to login with my domain account (I did not have a local account) using the domain\userid as my username and using my regular domain password. I was then able to unset safemode and reboot into Windows successfully from that point on.

  65. Hi! Tested this on dell 2350 AIO and I can not get back to windows. Now if I change back to RAID from bios I can get to choose “safe mode” but it never really loads. With ACHI I do not get to choose “safe mode”. Also was hopeing to install linux

  66. Hi again, please consider my previous reply wrong! I had tested for 16 hours to install elementary OS and my brain was so hot that I got things mixed up! Correct is that this solution did not work for my DELL AIO, I was not able to get to safe mode with ACHI, but I was still able to turn back to RAID and then get to safe mode and turn safe mode off.

    The problem I described in previous reply (if possible, please delete) happened after another fix I tested, after changing the drivers from RAID to ACHI in device manager and then rebooting (and changing in BIOS from RAID to ACHI)

  67. Thank you. It worked perfect.
    Done under Windows 10 Pro 1709 Build 16299.192 even with Bitlocker enabled.

  68. I’m stuck on safe mode, when I enter bcdedit/deletevalue safeboot in cmd it says ‘bcdedit’ is not recognized as an internal or external command, operable program or batch file. What do I do??

  69. I am trying without success to update Windows 10 1607 to 1703/1709 and found this site in solutions search. My Dell 7510 (no warranty support) is continuously attempting to update but is unsuccessful, so every few hours it restarts after re-downloading the update. Countless hours googling and also chatted with Microsoft Level 2 support for hours-no help. I found on Dell’s site ‘Windows 10 install fails’ due to multiple internal disk drives installed. It says to disable the SATA storage device (haven’t confirmed how to best do this for a laptop) change to AHCI in the bios – which is how i got here (and a few other steps). I had the same blue screen as a result but was lucky enough to find my way back to windows without any damage. I’d like to try your solution but first wanted to see if you might know about Windows updates not working on systems with multiple hard drives installed? I’ve tried everything that my limited computer knowledge allows and goggle has provided. If you have any thoughts on the matter and/or you think your solution might fix the updates issue -I would be most appreciative. THANK YOU!!

  70. I have already run the update assistant several times with no solution. Is there a way to disconnect the sata drives through system settings rather than physically unplugging since I have a laptop? I used the media creation tool and put windows 10 on the usb drive. I would like to try again and want to disconnect the sata drive so the system only sees the ssd. Thanks

  71. Within BIOS setup you can disable particular SATA ports on Dell computers. However you’ll need to be careful as you can accidentally disable your boot device if you don’t pay attention to which devices are on which ports.

    Press F2 repeatedly as the system reboots to enter Setup and give it a shot if you like. However, in my experience this doesn’t always correct this problem.

    Did you try installing from the USB media you created I presume? Normally if nothing else works, that approach does. If it also fails, and if disconnecting drives doesn’t work, you may have something else happening. It might require BCD parameter rebuilds, or it could possibly be an issue with the component store.

    Hope this helps.


  72. Dell xps 13 9360
    Works perfectly…
    I invoked msconfig from the search bar instead of using bcdedit. This gives you a cute GUI with a boot tab.

  73. It worked for me on Dell Inspiron 7577 except that now there are two funny things after I’ve installed dual boot with ubuntu. Windows store has problems, for isntance spotify won’t launch because it says: CliP license device ID does not match the device ID in the bound device license

  74. The other thing is that shut down doesn’t work from windows. I have to restart to Ubuntu and then I can shut down

  75. Hi Steve, I have 2X Samsung 960EVO SSD running in RAID0, but unfortunately the Samsung Magician software to manage these ‘drives’ is unable to detect them because they are in RAID mode instead of AHCI. If I switch to AHCI, will I lose the RAID set and so all data on the drives?

  76. Hey lme,

    In short, yes, if you are using the Intel RAID driver to manage the array between the disks then you will indeed lose the data on the disks or will not be able to access it when booting AHCI. The only clean way to handle this switch is to upgrade to a drive of matching capacity of the total array space so that you have enough room for all of the data and then image the partitions from the RAID array over to the new Drive. Hope this helps.

  77. Thanks a lot steve ! I needed AHCI mode to dual-boot my new machine, and it seemed like i’d have to re-install my win10. But thanks to your nice little hack, the issue was solved in a matter of minutes.
    Oh, and btw, congratulations ! You had me hit my first command lines in windows since good old MS-DOS times (last century), i never thought i would …. (i’m usually a pure linux user, spend my days solving OR problems, I keep win10 for gaming purpose only).

  78. do you have any insight if it is worth the switch to ahci for the 500gb evo 960? This is for the dell xps 13 9360.

    I’m currently on raid, but my benchmarks are somewhat lacking. I was told that computer model is designed to gimp the ssd to reduce power/heat but the benchmarks are still lower than other benchmarks with this ssd and computer.

    is there any reason to expect an improvement in performance or power efficiency from switching?

  79. This has worked previous, but on my father’s Acer laptop it doesn’t work. Computer can’t find boot volume when booting with AHCI activated. I’ll look for a BIOS upgrade but I’m not holding my breath.

  80. Steve,

    First of all thank you for putting your time and effort into making this tutorial. I’m having a few problems and would like your help.

    I have a Dell XPS 17 (Windows 10, Raid on) and I’m attempting to dual-boot it with Ubuntu 16.04 (ACHI). I was successfully able to boot into Safe Mode. However after restarting my computer and pressing F2, I want to change RAID to ACHI. I did this, and my windows will not start (even with Safeboot on!) Of course, I switched it back to RAID and my windows booted up (in safe mode), i turned safe mode off, and now I’m back where I started.

    My question is… why can’t I boot into my Windows 10 using ACHI, even after doing the steps outlined? For some reason, my computer feels the need to “prepare automatic repairs” even though my computer is in Safe mode. Entering a command prompt from this state (in ACHI) shows that it doesn’t detect my OS at all. For example, doing bcdedit in the command line showed me that it doesn’t detect it.

    Any help would be greatly appreciated, I for some reason can’t find any articles for Dell XPS 17 (and the ones that exist for 15 and lower haven’t worked)

    Thanks! Nathan

  81. I hope this is not considered hijacking this post, but my problem is related. I have a 5-6 year old Dell XPS 8500 PC. It’s completely stock, no mods. Specs: W7 Home Premium, Core i7-3770CPU @ 3.40Ghz, 12Gb RAM, 32Gb SSD, 2Tb HDD, Radeon HD 7700. As I understand the set-up, the SSD has the OS on it and the HDD is for software and data. The drives are in RAID, not AHCI at present.
    I want to set up a dual boot system with Linux Mint or Fedora. I’ve tried doing that from a USB 16Gb flashdrive with no success. With Mint and other distros, I can do a live session, but when I go to install, I get a message that the installer crashed. With Fedora, I get a message that it can’t find a drive to install to. Some who’ve attempted to install Fedora have had success changing from RAID to AHCI. The danger as you well know is bricking your system if you screw up.
    How would I go about changing over from RAID to AHCI in W7 safely? I know I can’t just do it through the BIOS, I also have to go through some REGEDIT commands, too. Your advice?

  82. Not work in my PC, Dell XPS 8930 with Win 10.
    I found some other 8930 users said that the similar method has worked…..
    After I switch RAID to AHCI, I cannot load into windows. Forever rebooting. Forever failing to repair…….
    In AHCI mode, I can load into Ubuntu. However, only 15GB storage is available. I went back to check that 15 GB is an image created by Dell. I am not sure what is going on. I have 125 GB unallocated storage for Ubuntu….

  83. Please update the article to include the fact that during safe boot login, you’ll need your password, not your pin. I know that the need for the administrator password is already mentioned. I usually log in with my pin (which I know), not my password. I had to use a chntpw boot CD to break back into my system. You should also mention the chntpw boot CD for account recovery.

  84. PC wouldn’t boot when switching to AHCI due to OS being installed with IDE. Had to reset the BIOS to get it to post again. This however worked a charm!

  85. You are a life saver my friend, a true god among humans. This article was the first one I opened and unfortunately I dismissed it as to easy and irrelevant, but my god was I ever wrong. After trying virtual everything else I came back to this article as a last resort and lo-and-behold it frick’n worked! God bless you! God bless all of you! I’m so happy I didn’t have to waste my afternoon reinstalling Windows and all my applications.

  86. Worked great. Keyboard not responsive so switched to tablet mode. mouse worked so I used the on screen keyboard. Thanks much.

  87. Worked great the first time. Firmware software can now see all drives. Thanks for the help.

  88. @thilo

    Your problem is something else. It’s probably UEFI settings. If the new computer uses UEFI, it wouldn’t boot if the drive is set up for BIOS booting. You have to switch from UEFI to legacy and try again.

  89. Quick question,
    If I make the switch on my C: drive (SSD) , will I still have access to my D: and E: drives which are old fashioned spinners?
    Will the BIOS bring them along too or are there more steps?
    Thanks much in advance
    Kevin G

  90. Well, all more simple for me, just changed in bios from IDE to Anchi , then several time god BSOD until auto-repearing mode, after i entered in safe mode, checkedin device manager the ANCHI controler was installed, and restarted it. Everythink work ok. For Windows 7 and xpj just hit f8 to enter safe mode. Good luck!

  91. Great job. Just discovered I wasn’t using my ssd on AHCI. Changing it from raid to AHCI borked my Dell e6230. Is after running these commands, it works perfectly. One thing I will note is that my benchmark speeds went down using AHCI vs. raid. Thanks again.

  92. Thank you, you are a saviour, it worked perfectly (in my case without the {current} parameter)!

  93. NO HELP, thanks for this well written post I fell for it and my system was in an endless reboot, and there was no way to exit out of it. I found a simple different way to solve.

  94. This is great. I had a password issue as well. I didn’t realize that windows update my password to align with my outlook/Hotmail account during latest updates. Once I realized that, I was able to log I to safe mode.

  95. Thanks to the above poster! I, too, did not realise it was the Windows/Skype etc password that was to be used and was about to re-install windows (already had cloned on to the SSD). I now have to use that Windows password to get in to the machine rather than the one which I had previously set up on receipt of the computer (only 3 days old and was waiting for the M2 drive so no big deal if it had gone wrong).

  96. Thank you man! Awsome. worked like a charm and now I am able to go for a Linux / Windows DualBoot Installation on my

    Lenovo Yoga 720 13-IKB 81C3

    Thank you!

  97. In my desktop I have an SSD as my boot drive plus a second internal drive. In addition I have multiple USB drives (5 in total) attached. Does this AHCI only affect the boot drive? I need to make the change as I am adding a third internal 6 TB drive which I formatted on a different computer and copied 4 TB of files to it in AHCI mode. Naturally it is not recognized on my main system which is SATA/IDE. I have tried booting into safe mode, changing BIOS, rebooting into regular Windows. Problem is either it just hangs at starting Windows or says no boot sector.

    Ideas please.

  98. Problem resolved. For some reason my computer was always trying to boot from the wrong drive on each reboot. Thanks for the very excellent advice from your site.

  99. None of the methods worked for me, as soon as I try to use AHCI mode I
    get “Inaccessible Boot Device”, even in safeboot minimal with deleted
    bootoverride on storahci service. Win10 sucks. (Old G41 mobo here stuck on IDE mode, can’t upgrade it because of that).

  100. Ancient hardware has and always will be a liability. Windows 10 isn’t perfect, but there comes a point where you just simply have to bite the bullet and grab something newer.


  101. Steve, the problem is the opposite, win10 is working fine on old mobo, and BSOD on the new one (without IDE mode). So I tried to change to AHCI on the old one before upgrading. I’m stuck to old machine now.
    Reinstalling everything is not an option each time one changes IDE controller…

  102. Now I see what you’re saying. Unfortunately, I don’t have an easy solution for you.

    I can tell you that as a matter of policy I never do board swaps for my clients regardless of Windows version. The HAL (Hardware Abstraction Layer) can only do so much to homogenize settings/drivers/etc in the course of such circumstances. A clean install is quite simply the only stable way to proceed IMHO.


  103. Dear Steve, after two days of internet digging and countless failed experiments of all suggested methods, found a simple solution by myself. Make sure you know how to enter Bios Setup before entering windows (ie: by disabling secure boot, etc).

    1) Boot normally (in IDE mode), go to Device Manager, uninstall all IDE/ATAPI controllers, starting from bottom to top, don’t restart when offered.

    2) Reboot and go to BIOS setup: Change to AHCI mode.

    3) Windows will boot and install or request new drivers automatically.

    For upgrading motherboard:

    2) Change to new motherboard.

  104. Hi Steve,
    Thanks for the details. Can I use this for thinkpad T580 with only 1 SSD drive. It is now on RST. wnt to move to AHCI…bit concerned will there be any issues? if there are issues what is the work around?

  105. Hi Steve,
    I tried option2. when I changed in BIOS I got a setup” warning: All exisiting data stored on the driver will be erased when resetting the controller mode. “. I dont want to loose my data . is there a work around…I am trying this all so that I can install ubantu. I am working on thinkpad 580.

  106. Thanks, this worked on my Dell XPS8930, though after I booted into safe mode, the keyboard did not seem to work; I moused around, was able to open command prompt, then keyboard worked so I could run the second command.

  107. Thank you very much for this easy fix. I thought I needed a clean install of Windows 10 to switch to AHCI. Saved me a lot of time.

  108. We had a batch of (new hire) installers who neglected to change the BIOS before their imaging process.

    This is saving us a lot of time to fix the slow performing machine’s we’re seeing due to the intel rapid storage technology issue you even mentioned – thank you!

    p.s. I’ve never seen a bios with anything referencing ‘irrt’ before. They always specify IDE, ATA, AHCI and RAID as your options, not sure what Oyvind was going on about ^^

  109. Hey man,

    Great article, I haven’t tried it yet, but I am a professional that works on computers daily and you taking the time to create this article is very nice. To the guy who doesn’t realize that he needs to reset his MS account, or how to backdoor create an admin account to gain access, well, he shouldn’t be doing high-level repairs and alterations. Franky, even using the stick-keys hack should let him create a new account and bypass the MS account, though it is a pain in the butt to modify the sethc.exe file – linux works great to bypass that file level protection, allowing the change of the file to command prompt file and then – net user /add name net localgroup administrators /add name

    either way – good job and thanks for the help

  110. This worked for me. I‘d tried everything to get my brand new Dell G3 laptop to allow me to install ubuntu alongside windows and I broke everything twice before getting to this option. Thanks a tonne!

  111. what if I can’t enter windows. My problems goes back to the very boot… it says “no bootable devices found” so I can’t even start windows. I have to switch from uefi to legacy back and forth until it finds the SSD. Isn’t there a fix for this ?

  112. I have lived with this issue for such a long time. Thank you so much for providing a solution that actually worked!

  113. Thanks. I was trying to dual boot w/ a Debian 10.x install. I have NVMe 256 GB drive that came pre-installed w/ Win10. Additionally, some other sources suggested removing drivers, but as above, I found that this was not necessary.

  114. This used to work for me all the time on machines that had a Legacy BIOS option. The newer UEFI-only machines seem to have a problem and this method unfortunately doesn’t seem to work anymore (Dell Precision 7540).

    (Unless there is some way to load the AHCI drivers, or perhaps Windows 1903 doesn’t include them?)

    In fact Dell ImageAssist doesn’t see the drive unless it’s set to RAID.

  115. Thank you very much for this solution, it’s been several days that I’ve been trying everything !!! As for those who do this over the leg without taking precautions such as backing up their data, having a recovery key and / or a system image in case of problem, because it is far from being trivial as the procedure we touch the drivers that read the disk I want to tell you that you are far too confident or naive, for some it’s a fair backlash and for others I am empathetic.
    This gentleman shares a solution that works for some people and it’s extremely nice of him the least he can do is that if you screw up, take it out on yourself because you’re the only one responsible!
    Thank you again sir.

    Translated with (free version)

  116. One more thing for the following ones who have their head on their shoulders this worked on a lenovo C340IML PC with a NVME-Pci-E drive.
    good luck!

  117. It says no bootable device when I follow the steps for my nitro 7

  118. It did not work because of ALT in the tuto !
    I succeeded with these commands:

    bcdedit /set safeboot minimal

    (then I rebooted and switched to AHCI)

    bcdedit /deletevalue safeboot

    and i confirm : it woooooooooorks !!!!! 😀
    I have an asus Z97-A motherboard and Intel rapid storage technology is automatically activated in my bios and it automatically activates RAID and i didn’t want to.
    I wanted AHCI. Every time i reselected AHCI, i had a blue screen crash !

    Thanks to this great tuto i can finally! 🙂 i did not believe it and yet it works perfect!
    I will see if the file transfers are accelerated in writing with my SSD samsung 850 evo 250go 🙂 because before in RAID i never exceeded 80mb/s for files of 20 – 100go approximately when my ssd can go much higher…
    I specify that i am under windows10 pro 64bits in 1909 and i am in UEFI only. thanks again 😉

  119. Wow! This is legit! 05/14/2020 and this fixed my issue with that stupid Intel Optane Boost and not being able to get into AHCI to backup my PC with Clonezilla! Thanks a ton man!

  120. Just wanted to say that this works in reverse (AHCI to RAID) and now my RAID5 volume finally works again. Thank you!

  121. Hi,
    I have already installed the SSD, and using the data migration software I also migrated my OS to SSD. I was able to boot successfully using my SSD labeled as UEFI: ssd name. Now, the problem or the query is, if now I switch from RAID to AHCI, is this step in your post applicable for me? Because although I am able to use the SSD very finely without any issues, samsung magician software does not recognize the SSD. Please help and suggest.

  122. Thank you! This worked for Acer Swift 3 SF314-56-38KC – Laptop Windows 10. Now I am able to install Linux and dual boot.

  123. Hi,
    I have a HP envy laptop with hybrid disk. Wanted to install Parrot Linux on it, not even need for dual boot since i dont have anything of value on it. But looks like on this chipset there is no support for AHCI…only RAID. Went into safe mode but no options to change storage controller mode unfortunately 🙁

    Thanks for the tips anyway!

  124. Thanks a lot
    Excellent publication, it worked perfect following the commands.
    my laptop has an M2 SSD and a SATA SSD.

  125. I rarely leave comments on anything anywhere but I was really stressed out over the possibility of messing with the register or having to do a clean install. I found this and it worked exactly as the instructions said it would. Thank you, thank you, thank you!

  126. This fix worked great for me!
    I installed a new SSD in a Dell Optiplex 9020 desktop. Everything worked out great, fast system. The problems started the moment I added a new 1TB HDD for extra storage. I ended up with…

    No bootable devices found.
    Press F1 key to retry boot.
    Press F2 key for setup utility.
    Press F5 key to run onboard diagnostics

    …but the system loaded perfectly with F1, and it recognized the added HDD.
    Oddly enough, I did try to change SATA Operation mode from RAID to AHCI in BIOS set up, but that wasn’t enough, apparently. Following your detailed instructions, solved the issue.

    Thank you so much!

Leave a Reply

Your email address will not be published.