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

    • For some reason I suddenly have the urge to go shopping at Sears.
    • So I did a quick test based on 3+ different public instances from the litany at searx.space ... and it spins everything rather differently. It seems that SearXNG is a meta-search engine (queries multiple search indexes rather than only Google's or Bing's or Wikipedia's or Reddit's) that operates in two modes: > public instances ... each instance opens itself to outside users who piggyback on its cached search history; this instance's own identity becomes known/tracked but end-users are hidden similar to an anonymization proxy; this instance's querying of major search indexes may be API based [rated limited, blocked, etc.]). > private instances ... your private install/instance that itself queries multiple (configurable) search indexes of crawled web content; every major Search Engine associates all traffic to your private instance (so your traffic is tracked via network usages) but client-side tracking (your own browser/computer specs) is flushed because it's a "server" doing the querying rather than your browser. My test asked the same 1 question to the 3+ engines and they all returned vastly different results: some had CAPTCHA failures against Google, some had failures against Wikipedia, and the actual results were also different -- some had auto-complete enabled, others returned a wikipedia highlighted excerpt despite the Wikipedia failure (hinting at results being cached from previous keyword matching), and others just gave an Are-You-Human non-CAPTCHA loop before returning random results. So this begs the caveat: Search query results will vary based on which instance is used because every instance queries the other search indexes separate (and thus its results are influenced on that instance's aggregate search history and index-access limitations). The major distinctions for SearXNG versus DDG or Brave: > The search UI is 'untracked' since no UI trackers are baked-in which would phone home or lay cookies into your browser (for DDG/Brave usage stats), > There is no 'crawler' that canvasses the Internet to discover fresh content (it leaves that to the major search indexes), > Queries multiple search indexes ("meta-search engine") based on the configurations and usage history of the server instance, > Privacy-friendly due to its ability to shield user tracking via standing up a non-local server instance connectable to major VPN providers: queries would all appear to come from general VPN/Proxy providers rather than your private instance (whether installed locally or on your own VPS in the cloud). PS: I've previously come across specialized search engines of this nature that indexes searches across media assets like YT, OF, etc. SearXNG seems to be a good backbone...if the rate-limiting/captcha/etc. issues were resolved.
    • For a guy who claims to hate Farage and the ignorant, gullible, rightwing racist skinheads sponsored by Putin that his lies represent, you sure are quoting them time and time and time again, mate. I guess you're conveniently ignoring the fact that your country and commonwealth just happened to work much better when it was still part of the E.U.? Denial isn't just a river in Egypt.
    • Do you live in the U.K? Do any of the people here that are against the UK leaving the E.U, live in the U.K? If not then why are you bothered? If you do live here then it is a different thing . Brexit was a good idea, should have done it years before, it was done badly, but the idea was good. You are saying the same thing as remainers do, oh we did what Putin wanted, we listened to the lies and Farage. I hate Farage and never believed most of what he said, certainly did not believe the £350m a week for the NHS. But we did pay a lot of money to the E.U and yes some of it came back, but what is the point of paying it out for only some of it to come back? Get out of the E.U, no money to them and in theory we can use the money to do things in the country. I said in theory, but our governments are a total and complete waste of space. No matter what colour rosette they wear. You and others say it was a mistake and yet the two main parties in the U.K are not looking at rejoining the EU, I wonder why that is? I was not tricked by anyone. Makes no odds now, we are out and have been for 10 years, what we need is a decent government to run the country. All they do is shout at each other like a load of kids and seems to do nothing and make this country more into a police and nanny state. Getting more like China all the time.
    • 4TB TEAMGROUP MP44Q, 2TB T-Force G50, and 2TB WD My Passport SSDs drop to great prices by Fiza Ali Prime Day may be over, but there are still worthwhile storage deals available, including discounts on SSDs for shoppers who missed the event or are looking to upgrade their storage solution. Particularly, 2TB Western Digital My Passport, 2TB TEAMGROUP T-Force G50, and 4TB TEAMGROUP MP44Q SSD are selling at great prices with up to 23% off. The 2TB TEAMGROUP T-Force G50 is an M.2 2280 PCIe 4.0 x4 NVMe SSD with sequential read speeds of up to 5,000MB/s and sequential write speeds of up to 4,500MB/s. The drive has an endurance rating of 1,300 TBW (terabytes written) and features a DRAM-less design. The company specifies a mean time between failures (MTBF) of 3 million hours. The drive includes an "ultra-thin" graphene heat spreader that helps dissipate heat without significantly increasing the drive's thickness. It also supports S.M.A.R.T. monitoring, allowing compatible software to monitor drive health and operating status. The SSD is rated for operating temperatures from 0°C to 70°C, with a storage temperature range of -40°C to 85°C. The drive is backed by a five-year limited warranty as well. 2TB TEAMGROUP T-Force G50 SSD: $269.99 (Amazon US) The TEAMGROUP MP44Q is an M.2 2280 PCIe 4.0 x4 NVMe SSD that delivers sequential read speeds of up to 7,000MB/s and sequential write speeds of up to 5,900MB/s. It uses 3D QLC NAND flash memory to provide 4TB of storage capacity for games, applications, media files, and other data. The drive has an endurance rating of 2,000 TBW and an MTBF of 1.6 million hours. The SSD features a DRAM-less design and supports TEAMGROUP's S.M.A.R.T. monitoring software, allowing users to monitor drive health, temperature, and remaining lifespan. For thermal management, the MP44Q also includes an "ultra-thin" graphene heat spreader. It is designed to operate at temperatures between 0°C and 70°C and can be stored at temperatures ranging from -40°C to 85°C. The SSD is also backed by a five-year limited warranty. 4TB TEAMGROUP MP44Q SSD: $478.99 (Amazon US) The 2TB WD My Passport SSD connects via a USB-C port using the USB 3.2 Gen 2 interface. It delivers sequential read speeds of up to 1,050MB/s and sequential write speeds of up to 1,000MB/s through NVMe technology. In terms of security features, the drive includes password protection with 256-bit AES hardware encryption. The SSD is also designed to resist shock and vibration and is rated to withstand drops from heights of up to 6.5 feet. The recommended operating temperature range is 5°C to 35°C, while the non-operating temperature range is -20°C to 65°C. This drive is also backed by a five-year limited warranty. 2TB Western Digital My Passport SSD: $279.99 (Amazon US) Good to know This Amazon deal is U.S. specific, and not available in other regions unless specified. We only use first-party seller links (at the time of article publishing); ensure that you purchase from a first-party seller link only. Check out Today's Deals on Amazon | or our recent tech deals. Become a Prime member (for Students or SNAP) via Neowin Get Prime Access - Prime for half price (for qualifying Medicaid, EBT, SNAP) Subscribe to Prime Video, Audible Plus, Music Unlimited or Kindle Unlimited via Neowin As an Amazon Associate, we earn from qualifying purchases.
  • Recent Achievements

    • Week One Done
      flexorcist earned a badge
      Week One Done
    • One Month Later
      Woland13 earned a badge
      One Month Later
    • Week One Done
      Woland13 earned a badge
      Week One Done
    • One Year In
      bernmeister earned a badge
      One Year In
    • Week One Done
      Scoobystu earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      492
    2. 2
      +Edouard
      225
    3. 3
      PsYcHoKiLLa
      147
    4. 4
      Steven P.
      75
    5. 5
      FloatingFatMan
      71
  • Tell a friend

    Love Neowin? Tell a friend!