How to Switch from IDE to AHCI without repairing/reinstalling windows


Recommended Posts

About 2 months ago I installed an SSD drive in my media center. For some reason up until tonight I never checked what the Sata mode was set to in the bios. It was set to IDE. I also really wasn't keen in reinstalling windows. Of course once you change it in the bios from IDE to AHCI windows will no longer boot. So I looked around the internet and found some really great instruction to switch from IDE to AHCI without having to repair or reinstall windows.

You start with step 1 while you are still in windows in IDE mode.

1) Run the Registry Editor (regedit.exe)

2) Navigate to Registry Key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Msahci

3) Set the "Start" value to 0 (zero)

4) Navigate to Registry Key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Pciide

5) Set the "Start" value to 0 (zero)

6) Shut down

7) Start up again, but before Windows boots go into the BIOS configuration screens and change the disk mode to "AHCI". Save the new BIOS configuration and restart so that Windows boots.

When Windows starts, it will detect the change, load new disk drivers, and do one more reboot to start up with them.

I had to do this with my install as the new mobo had AHCI enabled by default.

Also, this trick only works on Windows Vista/7.

Microsoft have a Fix-It for this, it's linked in my sig.

I had to do this with my install as the new mobo had AHCI enabled by default.

Also, this trick only works on Windows Vista/7.

Microsoft have a Fix-It for this, it's linked in my sig.

Thanks for the head up. Title edited

Is there any real world benefit for using AHCI instead of IDE if i'm not running raid?

Apparently AHCI gives you much better performance when using SSD drives (but don't quote me on that)

checked neo158's sig and came up with:

AHCI provides several features for SATA devices. These include hot plug functionality and power management functionality. For more information about the AHCI specification, visit the following Intel Web site:

http://www.intel.com/technology/serialata/ahci.htm

No really worth it I guess, at least not for HDDs not paired in any raid.

Msahci is already set to 3 and pciide is already set to 0, I assume this is running in AHCI mode already, right?

Maybe you can check in Device Manager under "IDE ATA/ATAPI controllers", if you're on AHCI there should be an AHCI controller under it.

To add on, if you don't like your internal drives showing up in "safely remove hardware" in the task tray - heres a tweak:

http://www.overclock.net/raid-controllers-software/974023-fix-ahci-sata-drives-showing-safely.html

----

Just tried AHCI on my P5K SE yesterday.

Had to flash a modded BIOS to unlock it.

Found the HDD connected to the first and second to SATA ports on the mb stuck at Multi-word DMA mode 2 (read from Device Manager).

Disk Management was also not working, it keeps on loading for a long time with a blank window.

In the end switched back to good old IDE where all drives are at UDMA mode 5 (though according to HDtune, my drives are capable of more.)

But everything works.

Is there any real world benefit for using AHCI instead of IDE if i'm not running raid?

Yes... provided you've got a hard drive that supports it (and most SATA-II drives do), AHCI enables Native Command Queuing on the drive, which can increase drive life and make things a bit faster. Of course, this doesn't really apply to SSD's, but for standard drives it's a big benefit: http://en.wikipedia.org/wiki/Native_command_queuing

  • 1 month later...

This trick won't work with a NT5-OS right?

2K/XP supposedly supports it, you might want to read up on it though: http://www.overclock.net/intel-motherboards/269993-how-enable-ahci-ncq-windows-2k.html

  • 4 months later...

hi all. would like some advice before i try the guide, if possible.

just got a new, overclocked system. mobo is Gigabyte Z68XP-UD4, running an i5 2500k o/c to 4.6gHz, 8gig DDR3 1600mhz Ram, nVidia GTX 550TI 1 Meg graphics card, WD Black Caviar 500gig sata lll hdd connected to sata lll on mobo. SATA ll Pioneer DVD Burner on a SATA ll connector and Pioner Sata BluRay burner on SATA ll connector,

i didn't check before i installed win7 ultimate x64 whether mobo was set to IDE or AHCI. found afterwards that there are 3 settings that are on IDE. these are:

PCH SATA Control Mode, GSATA3 Ctrl Mode and eSATA3 Ctrl Mode

to prevent reinstalling windows and programs, what i would like to know is,

can i change to AHCI in Bios after using the Reg Change above?

will i have to change all the 3 IDE settings used atm to AHCI, if not what one(s) do i change?

will i have to install the Intel AHCI drivers afterwards and perhaps other drivers as well? if so, which ones?

will it kick out my o/c?

anything else i need to know or will have to do?

hope someone can advise.

many TIA

1) Thats the only way to do it, you cant change to AHCI in the bios before you do the reg change or Windows will fail to boot

2) Yes change them all to AHCI

3) If you already have Intel drivers installed I think the drivers should already be cached so once it detects AHCI it should already have the drivers

4) No your o/c is fine

5) Nothing else to know

many tnx for replies, guys. one more question, if you dont mind. forgot to ask this with other questions. if i change the registry as instructed but dont then change in the bios but leave it at IDE, will that have any adverse affects? did try to install the Intel AHCI, but was told 'this computer does not meet the minimum requirements for installing the software', so assume no AHCI drivers installed at all atm?

tnx again for help

This topic is now closed to further replies.
  • Posts

    • It sounds like you’re trying to rewrite a narrative to align this layoff with your political beliefs. Games can be horrible, whatever backwards notions you have don’t change that bungie has problems, mostly with just bad games, and arrogance. When they pushed Microsoft to let them be independent they lost their way. They hired on a bunch of people and they couldn’t justify the employee count consistent with their revenue.
    • Trying out Noctalia v5 on CachyOS  
    • Calibre 9.10 by Razvan Serea  Calibre is an open source e-book library management application that enables you to manage your e-book collection, convert e-books between different formats, synchronize with popular e-book reader devices, and read your e-books with the included viewer. It acts as an e-library and also allows for format conversion, news feeds to e-book conversion, as well as e-book reader sync features and an integrated e-book viewer. Calibre's features include: library management; format conversion (all major ebook formats); syncing to e-book reader devices; fetching news from the Web and converting it into ebook form; viewing many different e-book formats, giving you access to your book collection over the internet using just a browser. Calibre 9.10 changelog: New features Content server: A new "modern" interface with a sidebar to ease navigation Content server: When used with HTTPS allow installation as a PWA (Progressive Web App) Edit book: Saved searches: When filtering the list of saved searches match by keywords CSS parsing: Add support for CSS Level 4 selectors Cover grid: When using an image larger than the viewport as a texture scale it to fit the viewport Annotations browser: Allow restricting displayed annotations by custom annotation styles as well Edit book: Compress images: Add option to convert PNG images to JPEG or WEBP Bug fixes E-book viewer: Fix IME on Windows not working when typing in notes for highlights Conversion: Heuristics: Improve performance in some pathological cases SNB Input: Fix error on some input files Windows: fix rare crash when too many notifications are displayed at once Fix duplicating of books not duplicating value from enumerated columns when the column has a default value defined Fix a regression in 9.8 that caused errors from AI plugin providers to be silently swallowed and not displayed to user Fix CSV export invalid when exporting comments field Disallow Python templates when reading book metadata (CVE-2026-53511) Improved news sources The Week Economist Espresso Horizons Download: Calibre 9.10 | Portable | ~200.0 MB (Open Source) Download: Calibre for MacOS | 327.0 MB Download: Calibre for Linux View: Calibre Home Page | Calibre Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Malwarebytes Anti-Malware 5.6.1.257 by Razvan Serea Malwarebytes is a high performance anti-malware application that thoroughly removes even the most advanced malware and spyware. Malwarebytes version 5.**** brings comprehensive protection against today’s threat landscape so that you can finally replace your traditional antivirus. You can finally replace your traditional antivirus, thanks to a innovative and layered approach to prevent malware infections using a healthy combination of proactive and signature-less technologies. While signatures are still effective against threats like potentially unwanted programs, the majority of malware detection events already come from signature-less technologies like Malwarebytes Anti-Exploit and Malwarebytes Anti-Ransomware; that trend will only continue to grow. For many of you, this is something you already know, since over 50% of the users already run Malwarebytes as their sole security software, without any third-party antivirus. What's new in Malwarebytes 5.****: Unified user experience - For the first time, Malwarebytes now provides a consistent experience across all of our desktop and mobile products courtesy of an all new and reimagined user experience powered by a faster and more responsive UI all managed through an intuitive dashboard. Modern security and privacy integrations - Antivirus and ultra-fast VPN come together seamlessly in one easy-to-use solution. Whether you’re looking for a next-gen VPN to secure your online activity, or harnessing the power of Browser Guard to block ad trackers and scam sites, taking charge of your privacy is simple. Trusted Advisor - Empowers you with real-time insights, easy-to-read protection score and expert guidance that puts you in control over your security and privacy. Malwarebytes 5.6.1.257 changelog: Features and improvements Updated the sign-in section of the My Subscription page to clarify that users can activate their subscription by signing in with their Malwarebytes account. Updated the uninstall flow to collect more meaningful insights and address customer concerns. Refreshed the app's tutorial layout for a better look and feel. Issues fixed Fixed an outdated link when clicking Take action after running a Digital Footprint Scan. Miscellaneous bug fixes. Download: Malwarebytes 5.6.1.257 | 472.0 MB (Free, paid upgrade available) Links: Malwarebytes Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Week One Done
      xvvxcvv earned a badge
      Week One Done
    • One Month Later
      xvvxcvv earned a badge
      One Month Later
    • Enthusiast
      Xonos went up a rank
      Enthusiast
    • Conversation Starter
      Admir earned a badge
      Conversation Starter
    • First Post
      The_Focal_Point earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      405
    2. 2
      +Edouard
      168
    3. 3
      PsYcHoKiLLa
      129
    4. 4
      neufuse
      69
    5. 5
      Xenon
      68
  • Tell a friend

    Love Neowin? Tell a friend!