logo elektroda
logo elektroda
X
logo elektroda

[Solved] Switching SATA Mode: IDE to AHCI on ASROCK B85m, Win7 Home Basic 64bit - BSOD Fix Needed

Sheppard 11865 16
Best answers

How can I stop the blue screen when switching a Windows 7 system on an ASRock B85M from IDE to AHCI mode?

You need to enable the AHCI/Intel storage drivers in Windows before switching the BIOS to AHCI, and if setup still fails, use the proper Intel SATA/AHCI drivers from the motherboard or Intel website. Set `Start=0` for `msahci`, `pciide`, `iaStorV`, `iaStor`, and `atapi` in the registry, then change the SATA mode in BIOS to AHCI and boot [#17145201] The board uses an Intel controller, and the SATA floppy/driver package can be integrated into the Windows 7 installer so you do not need a diskette [#17145268] In this thread, the registry changes alone did not solve it, and the final diagnosis was missing drivers [#17200710]
Generated by the language model.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17145050
    Sheppard
    Level 5  
    Posts: 41
    Rate: 1
    Welcome. I am at war with the performance of my disk. I thought that at the beginning it would be good to switch to AHCI. I fired up the registry, found what I needed by supporting the windows support page. I did exactly as it was on the site, resets my computer, I change the mode from IDE to AHCI, the computer reboots and I think to myself WOW I made it !. At the moment I got in the face of life moments after the animation of the windows logo appears blue screen.

    ASROCK B85m motherboard.
    Edit.
    Windows 7 Home Basic 64 bit. In the register:
    HKEY_LOCAL_MACHINE / SYSTEM / services / msahci. There in the Name column right click on Start -> Modify and changed the value "Value data" from 3 to 0.
    Only this. I was afraid to touch the register for obvious reasons ...
  • ADVERTISEMENT
  • #2 17145074
    Kolobos
    IT specialist
    Posts: 85152
    Help: 17158
    Rate: 10418
    Something you did wrong, it's a pity you didn't even specify what system you have, not to mention what exactly you changed in the registry.
  • #3 17145089
    Sheppard
    Level 5  
    Posts: 41
    Rate: 1
    Kolobos wrote:
    Something you did wrong, it's a pity you didn't even specify what system you have, not to mention what exactly you changed in the registry.

    I completely forgot. Already corrected.
  • #4 17145096
    Robert B
    Level 43  
    Posts: 22594
    Help: 2027
    Rate: 1412
    The change from IDE to AHCI is done in the BIOS and then installed Windows.
    A change on the installed system results in a blue screen.
    Sheppard wrote:
    I am at war with the performance of my disk

    First of all, show the SMART of this disk.
  • #5 17145115
    iJuliusz
    Level 16  
    Posts: 84
    Help: 29
    Rate: 9
    Change the path yet
    HKEY_LOCAL_MACHINE / System / CurrentControlSet / Services / iastorV
    Start at "0"

    Then switch to AHCI in Bios.

    Found: We turn on AHCI
  • ADVERTISEMENT
  • #6 17145124
    Sheppard
    Level 5  
    Posts: 41
    Rate: 1
    Robert B wrote:
    The change from IDE to AHCI is done in the BIOS and then installed Windows.
    A change on the installed system results in a blue screen.
    Sheppard wrote:
    I am at war with the performance of my disk

    First of all, show the SMART of this disk.

    iJuliusz wrote:
    Change the path yet
    HKEY_LOCAL_MACHINE / System / CurrentControlSet / Services / iastorV
    Start at "0"

    Then switch to AHCI in Bios.

    Found: We turn on AHCI


    Still the same.
    Attachments:
    • Switching SATA Mode: IDE to AHCI on ASROCK B85m, Win7 Home Basic 64bit - BSOD Fix Needed SMART.png (92.9 KB) You must be logged in to download this attachment.
  • ADVERTISEMENT
  • #7 17145154
    Kolobos
    IT specialist
    Posts: 85152
    Help: 17158
    Rate: 10418
    It's worth changing all three:
    HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Services \ msahci
    HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Services \ iaStorV
    HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Services \ iaStor
  • #8 17145168
    Sheppard
    Level 5  
    Posts: 41
    Rate: 1
    Kolobos wrote:
    It's worth changing all three:
    HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Services \ msahci
    HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Services \ iaStorV
    HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Services \ iaStor



    Still unchanged.
  • #9 17145201
    Kolobos
    IT specialist
    Posts: 85152
    Help: 17158
    Rate: 10418
    Paste into notebook, save as Fix.reg and run:
    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ msahci]
    "Start" = dword: 00000000

    [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ pciide]
    "Start" = dword: 00000000

    [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ iaStorV]
    "Start" = dword: 00000000

    [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ iaStor]
    "Start" = dword: 00000000

    [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ atapi]
    "Start" = dword: 00000000

    After doing this, change the bios to ahci and try to boot the system.
  • ADVERTISEMENT
  • #10 17145235
    Sheppard
    Level 5  
    Posts: 41
    Rate: 1
    Kolobos wrote:
    Paste into notebook, save as Fix.reg and run:
    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ msahci]
    "Start" = dword: 00000000

    [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ pciide]
    "Start" = dword: 00000000

    [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ iaStorV]
    "Start" = dword: 00000000

    [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ iaStor]
    "Start" = dword: 00000000

    [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ atapi]
    "Start" = dword: 00000000

    After doing this, change the bios to ahci and try to boot the system.


    As for the registry editor, the script does not work: / I changed these values manually and did not help either. I'm starting to be in favor of a format :| Only that during the previous installation of windows in AHCI mode, after creating the partition, I clicked Next and I got some error, I don't remember what :|
  • #11 17145244
    Robert B
    Level 43  
    Posts: 22594
    Help: 2027
    Rate: 1412
    Sheppard wrote:
    Only that during the previous installation of windows in AHCI mode, after creating the partition, I clicked Next and I got some error, I don't remember what

    Probably about the lack of disk controller drivers that you need to specify on the pen.
  • #12 17145254
    Sheppard
    Level 5  
    Posts: 41
    Rate: 1
    It is not surprising that blue screens crashes ... Only that I am not an expert but it seems to me that after switching to AHCI some installer should be launched but smaller. Where to get these drivers?
  • #13 17145268
    Kolobos
    IT specialist
    Posts: 85152
    Help: 17158
    Rate: 10418
    Have you ever visited the producer's website? You have everything there including controllers for the controller! > "SATA Floppy Floppy Disk Image Image ver: 12.8.0.1016"

    The controller is intel, the drivers are also on the Intel website, you can integrate them with the installation CD, then you will not need a diskette.
  • #14 17145282
    Sheppard
    Level 5  
    Posts: 41
    Rate: 1
    I have to unpack the driver, load it and what's next?
  • #16 17145337
    bolekis
    Level 35  
    Posts: 2894
    Help: 199
    Rate: 261
    And how to replace the driver in the device manager?
  • #17 17200710
    Sheppard
    Level 5  
    Posts: 41
    Rate: 1
    In the end I was forced to format. The problem was the lack of drivers. Thanks to everyone for the time and reading of my scribbles. :D

Topic summary

✨ The discussion revolves around a user attempting to switch the SATA mode from IDE to AHCI on an ASROCK B85m motherboard while running Windows 7 Home Basic 64-bit. After modifying the registry settings to enable AHCI, the user encounters a blue screen of death (BSOD) upon reboot. Various responses suggest checking and modifying additional registry paths related to AHCI, including msahci, iaStorV, and iaStor. The user is advised to ensure that the necessary disk controller drivers are available, as the lack of these drivers is likely causing the BSOD. Ultimately, the user resorts to formatting the system due to persistent issues, confirming that the absence of drivers was the root cause of the problem.
Generated by the language model.

FAQ

TL;DR: Switching IDE→AHCI on Windows 7? Enable 3 registry drivers first; “Change all three” (msahci, iaStorV, iaStor). [Elektroda, Kolobos, post #17145154]

Why it matters: This FAQ helps Windows 7 users on ASRock/Intel boards fix boot crashes and regain proper SATA performance after switching modes.

Quick Facts

  • Enable msahci, iaStorV, and iaStor in the registry before changing SATA mode to AHCI to avoid boot failures. [Elektroda, Kolobos, post #17145154]
  • A shared .reg example enables five services (msahci, pciide, iaStorV, iaStor, atapi) to cover both IDE and AHCI starts. [Elektroda, Kolobos, post #17145201]
  • ASRock B85m uses Intel SATA; download the “SATA Floppy Disk Image ver: 12.8.0.1016” or Intel RST F6 drivers. [Elektroda, Kolobos, post #17145268]
  • During Windows 7/Vista setup, click “Load Driver” and point to the extracted AHCI driver on a USB stick. [“SATA Driver - Load in Windows 7 or Vista Setup”]
  • If registry enabling still fails, a clean install with the correct SATA driver resolved the OP’s issue. [Elektroda, Sheppard, post #17200710]

How do I switch Windows 7 from IDE to AHCI without a BSOD?

Enable the storage drivers first, then change the BIOS. Kolobos shared a .reg that sets five services to Start=0. How‑To: 1. Set Start=0 for msahci, pciide, iaStorV, iaStor, atapi. 2. Reboot and switch SATA mode to AHCI in BIOS. 3. Boot Windows and verify. This sequence avoids the boot crash after the Windows logo. [Elektroda, Kolobos, post #17145201]

Which registry keys do I need to change before switching to AHCI?

Set the Start value to 0 for three keys under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services: msahci, iaStorV, and iaStor. As one expert said, “Change all three.” This activates Microsoft and Intel AHCI drivers so Windows can boot after you change BIOS mode. [Elektroda, Kolobos, post #17145154]

Where do I get AHCI/Intel RST drivers for ASRock B85m?

Download from ASRock support or Intel RST pages. On ASRock, look for the “SATA Floppy Disk Image ver: 12.8.0.1016.” You can also integrate the driver into your installer so a legacy diskette isn’t needed. “Have you ever visited the producer’s website?” [Elektroda, Kolobos, post #17145268]

How do I load the SATA/AHCI driver during Windows 7 setup?

Start Setup, choose Custom install, then click Load Driver. Browse to your USB with the extracted Intel/ASRock AHCI files (INF). Select the correct controller, load it, and continue with installation. This fixes the “no drives found” or post-partition errors when AHCI is enabled. [“SATA Driver - Load in Windows 7 or Vista Setup”]

Why did I get a blue screen right after the Windows logo?

You changed SATA mode on an installed system without activating the AHCI driver. Windows tries to boot with the wrong storage driver and crashes early. This is expected when changing IDE to AHCI after installation if drivers aren’t enabled first. [Elektroda, Robert B, post #17145096]

The .reg fix didn’t work; what should I do next?

If repeated registry edits still fail, perform a clean install with AHCI enabled and load the correct Intel SATA driver during Setup. The original poster solved the issue after formatting; the root cause was missing controller drivers. [Elektroda, Sheppard, post #17200710]

Can I just replace the SATA controller driver in Device Manager?

No. BIOS mode changes happen before Windows loads Device Manager drivers. Swapping drivers there won’t fix the pre‑boot failure. Use the registry‑enable method first or reinstall with the AHCI driver loaded during Setup. [Elektroda, Robert B, post #17145096]

Windows setup errors after creating partitions in AHCI—what’s wrong?

The installer doesn’t have your Intel SATA/AHCI controller driver. Load the driver from USB via Load Driver or integrate it. As noted, “Probably about the lack of disk controller drivers.” After loading, Setup proceeds normally. [Elektroda, Robert B, post #17145244]

Can I integrate the Intel AHCI driver into the Windows 7 installer?

Yes. Slipstream the Intel RST F6 driver into your installation media so Setup recognizes the controller automatically. With integration done, you won’t need a floppy or manual loading during Setup. [Elektroda, Kolobos, post #17145268]

What should I check about my disk before changing modes?

Check the disk’s SMART report. If the drive is unhealthy, changing to AHCI won’t fix performance issues. Share SMART data first so failures or reallocated sectors are addressed before system changes. [Elektroda, Robert B, post #17145096]

Which BIOS setting should I change on the ASRock B85m?

Open BIOS and set SATA mode to AHCI. Do this only after enabling the required drivers in Windows to avoid a boot loop. [Elektroda, iJuliusz, post #17145115]

If I still hit BSOD after enabling the keys, what’s the next move?

Assume a missing Intel controller driver or a damaged install. Load the correct driver during Windows Setup, or perform a clean install with AHCI enabled. The OP only succeeded after reinstalling with drivers present. [Elektroda, Sheppard, post #17200710]

Which Intel driver version should I start with?

ASRock lists “SATA Floppy Disk Image ver: 12.8.0.1016” for this platform. Start with that package or a newer, matching Intel RST F6 driver for your chipset. [Elektroda, Kolobos, post #17145268]

How can I revert from AHCI back to IDE if needed?

Switch the BIOS SATA mode back to IDE. Ensure IDE services are enabled so Windows can boot (pciide and atapi set to Start=0). Kolobos’s .reg covers both AHCI and IDE starts. [Elektroda, Kolobos, post #17145201]
Generated by the language model.
ADVERTISEMENT