Greetings everyone, today we’ll look at how you can enable Windows 10 boot using the protocol AHCI without reinstalling the operating system. How to enable AHCI mode in Windows 10 after installing the system, if for some reason reinstallation with AHCI mode previously enabled in the BIOS or UEFI is not possible, and the system was installed in IDE mode. I note that for almost everyone modern computers with pre-installed OS this mode is already included, and the change itself is especially relevant for SSD drives and laptops, since the AHCI mode allows you to increase SSD performance and, at the same time (albeit slightly) reduce power consumption.

On my PC, like many users, the Windows 10 operating system is installed on an SSD, and all files are stored on an HDD hard drive. When installing from a flash drive cut from the official Windows image 10 with update Creators Update, for some reason it was not possible to install it right away in AHCI mode and had to be installed using a standard IDE. Eventually SSD speed according to the test, 100 units lower than declared, the HDD with files buzzes annoyingly.

Immediately after switching, the benefits are noticeable:

  • HDD is noticeably quieter;
  • The SSD gives full speed, if with IDE it gave 425 and 445, then with AHCI it gives full speed 514 and 548.

Now a little what it is...

(AHCI)

Advanced Host Controller Interface (AHCI) - a mechanism used to connect storage devices using the Serial ATA protocol, allowing for advanced features such as built-in command queuing (NCQ) and hot swapping.

Designed to replace the outdated classic ATA controller, which maintains top-down compatibility with the original IBM PC/AT, and supports direct memory access only as an addition. The main real problems with this controller is the lack of support hot swap(even though eSATA equipment supports it) and command queues, on one channel (in the case of SATA, each device has one channel) - only one command can be executed at a time. Thus, using the ATA NCQ feature, even if it is supported by the disk itself, is impossible on a classic ATA controller.

When switching, with Windows OS already installed, the ATA controller included in south bridge, in the “AHCI” mode, this will mean, for the installed operating system, the use of incompatible logic of the HDD controller - this action is equivalent to installing an ATA controller board into the system, different from the existing one, and physically switching the boot disk to this board.

And one more detail: in theory, the described actions can lead to undesirable consequences, such as the inability to start the OS; in this case, Windows will not find boot disk and crashes with BSOD STOP 0x0000007B, INACCESSIBLE_BOOT_DEVICE.. Therefore, take them on only if you know why you are doing it, know how to get into the BIOS or UEFI and are ready, if anything happens, to correct unforeseen consequences (for example, by reinstalling Windows 10 from the very beginning in AHCI mode).

You can find out whether AHCI mode is currently enabled by looking at UEFI settings or BIOS (in the parameters of SATA devices) or directly in the OS.

Well, now let's get down to business...

Enable AHCI using Windows 10 Registry Editor

It seems to me that this is the simplest, and most importantly trouble-free method.

To launch the registry, press the Win+R keys on your keyboard and enter regedit.

1. Go to the registry key HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ iaStorV, double click on the parameter Start and set its value to 0 (zero).

2. In the next registry section HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ iaStorAV\ StartOverride for a parameter named 0 set the value to zero.

3. In the section HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ storahci for parameter Start set the value to 0 (zero).

4. In subsection HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ storahci\ StartOverride for a parameter named 0 set the value to zero.

5. Close Registry Editor.

In my case, the values ​​needed to be changed only in steps 2 and 4.

Restart your computer and enter UEFI or BIOS. In UEFI or BIOS, find the choice of drive operating mode in the SATA parameters. Set it to AHCI, then save the settings and restart your computer.

Immediately after the reboot, the OS will begin installing SATA drivers, and upon completion you will be prompted to restart your computer. Do this: AHCI mode in Windows 10 is enabled. But I would like to immediately note that for many boards the driver is already in the OS and the system will not load it or install it in the usual way; after a reboot, the desired AHCI is immediately turned on.

In 95% of cases everything goes smoothly and without a hitch, but it’s still better to play it safe. To do this, do the following:

At the same time, it is better to start Windows 10 for the first time after a reboot in safe mode, and therefore I recommend turning it on in advance safe mode using Win+R -

If you have UEFI, in this case I recommend doing this through “Settings” (Win + I) - “Update and Security” - “Recovery” - “Special boot options”. Then go to “Troubleshooting” - “Advanced options” - “UEFI Software Settings”. For systems with BIOS - use the F2 key (usually on laptops) or Delete (on a PC) to enter the BIOS settings.

Read, how to determine in what mode the computer controller is operating. And, how to activate the AHCI mode of the SATA interface on a computer with Windows already installed. Many people will reasonably ask: why do we need IDE mode for a SATA drive if the AHCI mode is its “native” mode and is the one in which the SATA drive will operate adequately for its characteristics and purpose. Moreover, many motherboard manufacturers set their PATA compatibility mode to IDE by default.

  • The SATA interface can operate in two modes, IDE and AHCI:

    • IDE is a compatibility mode for older hardware and software. Essentially, the capabilities of SATA in this mode are no different from those of its predecessor, the ATA (or PATA) interface;
    • AHCI is a new mode of working with storage devices in which the computer takes advantage of all the advantages of SATA, the main ones being: more high speed work hard And SSD drive ov (Native Command Queuing or NCQ technology), as well as the possibility of “hot” replacement hard drives. Activating AHCI mode helps speed up access to files stored on storage devices and has a positive effect on the overall performance of the computer.

    Many people will reasonably ask: why do we need IDE mode for a SATA drive if the AHCI mode is its “native” mode and is the one in which the SATA drive will operate adequately for its characteristics and purpose. Moreover, many motherboard manufacturers set their PATA compatibility mode to IDE by default.

    The thing is that operating systems began to support the controller in AHCI mode starting with Vista. That is, if a disk with Windows XP is connected to a system whose controller operates in AHCI mode, the user will receive BSOD error("blue screen of death"). And on the other hand, any SATA drive can freely operate in IDE mode. Moreover, many users, not knowing about it, will not even feel any difference. Thus, computer manufacturers are trying to avoid possible problems with computer compatibility and software users.

    Another important difference between IDE and AHCI concerns working with SSD drives. Please note that it is not possible to install an operating system in IDE mode on an SSD; this will require AHCI activation.

    How to determine in what mode the computer controller is operating?

    It is likely that AHCI mode is already activated on your computer. You can check this in several ways:

    Method 1

    • Go to
    • Open section “IDE ATA/ATAPI Controllers”
    • If there is a device in this section with the word “AHCI” in the name, as in our case, then the AHCI mode on the computer is already in use.

    Method 2


    Please note that in the BIOS of some computers there is no option to change the mode to AHCI. In this case, the problem can sometimes be solved by updating (flashing) the BIOS version.

    How to activate the AHCI mode of the SATA interface on a computer with Windows already installed?

    There are several ways to activate the AHCI mode of the SATA interface on a computer with Windows already installed, while maintaining its functionality:

    FIRST:


    If for some reason the first method did not work, also pay attention to second option. But first, if you are having errors when starting Windows in AHCI mode, return to IDE mode and turn on your computer.


    After that:


    As you can see, the described actions in theory can lead to undesirable consequences, such as the inability to start the operating system. Therefore, take them on only if you know why you are doing it, can access the BIOS or UEFI, and are ready to correct unforeseen consequences if something happens. For example, by reinstalling Windows from the beginning in AHCI mode.

  • Proper operation of a computer is possible only with coordinated interaction between the hardware and the operating system. Technologies are developing and Lately This is most noticeable in the area of ​​storage. Modern hard disks and SSD drives are many times faster than those used in computers 5-10 years ago. Used for data transmission SATA interface, through which the drive is connected to the computer. The SATA interface is capable of operating in two modes: IDE and AHCI, and if you have a modern HDD or SSD, you can speed up your computer by enabling AHCI mode.

    What is AHCI mode

    As noted above, AHCI is one of the data transfer modes over the SATA interface. As you know, through the SATA interface you can transfer information at speeds from 1.5 to 6 Gigabytes per second. The maximum speed is supported in AHCI mode, which should be used with all modern drives. As for the IDE mode, it is supported in the SATA interface for compatibility with older hard drives.

    By default, AHCI mode is not always enabled in the Windows operating system, even if the drives are connected to motherboard via SATA. Because of this, the user loses in computer performance, since the disk speed is limited by software. By setting the AHCI mode, you can increase the speed of the drive by 20-30%, which will affect the overall experience of the computer.

    How to find out if AHCI mode is enabled in Windows

    Most often, users do not even suspect that it is necessary to enable AHCI mode in order to improve computer performance. At the same time, Windows by default does not always work with HDDs and SSDs, even the most modern ones, in AHCI mode. To check if AHCI mode is enabled in Windows, you need to do the following:


    Note: Also, the absence of devices operating in AHCI mode in the list may be due to the fact that old drives that are not capable of operating in the new mode are connected to the motherboard.

    You can also check whether the SATA interface works in AHCI or IDE mode through the BIOS. To do this, you need to restart the computer and press “Del” or F2 during the boot process. The BIOS will launch, where you will need to find the SATA Mode item and see whether the AHCI or IDE option is installed.

    Important: If you notice in the BIOS that the SATA interface is set to work in IDE mode, you do not need to switch to AHCI mode, since this will not do any good.

    How to enable AHCI mode in Windows

    Microsoft company in operating systems ah Windows began supporting AHCI mode with Windows 7. However, you can enable it in Windows XP if you download the necessary drivers on the Internet, made by enthusiasts, and install them. However, it is worth noting that this method does not always give a performance boost, and on Windows XP it is better to abandon the idea of ​​​​using AHCI mode and work with drives through a standard IDE.

    To enable the AHCI mode itself, just set the appropriate setting for SATA in the BIOS. But this must be done before installing the operating room Windows systems, otherwise, when loading, the computer will display error 0x0000007B INACCESSABLE_BOOT_DEVICE or go into a permanent reboot state. Therefore, to switch IDE mode to AHCI when installed Windows, you need to make some changes to the registry; below we will look at what actions to perform for each version of the operating system.

    How to enable AHCI mode in Windows 10

    In the modern Windows 10 operating system, Microsoft did not offer a setting that would enable support for AHCI mode on the fly if the SATA interface previously worked through the IDE. To correctly switch to AHCI mode, you will need to do the following:


    After the computer boots, the Windows operating system will prompt you to install the necessary drivers to work with AHCI mode; be sure to do this.

    How to enable AHCI mode in Windows 8 and Windows 8.1

    To switch the Windows 8 or Windows 8.1 operating system to work with AHCI mode, you need to do some work in command line. You will need to do the following:


    It is worth noting that if the computer runs on an Intel CPU, then you can use the company’s standard utility, which allows you to necessary settings to switch Windows to work with AHCI. This is done as follows:


    Note: The above the method will work only for computers Intel processors, for AMD a similar solution in this moment No.

    How to enable AHCI mode in Windows 7

    In the Windows 7 operating system, the method for enabling AHCI mode is close to that used in Windows 10. Here you will also need to make some changes to the registry as follows:


    Note: When you first boot your computer, install all the drivers that the operating system offers.

    It is worth noting that if errors occur after switching to AHCI mode, you can try to resolve them using free utility Microsoft Fix it, which should be downloaded from the official website Microsoft. The program has Russian localization, and understanding it will not be difficult.

    You bought new hard drive. Of course, with a Serial ATA interface. And, of course, we heard a lot about the new interesting feature implemented in the latest models - NCQ. Anticipating a noticeable increase in speed Windows boot and programs, as well as reducing the noise of the hard drive, you connect the hard drive, install the operating system and... Now you will need to do additional manipulations to enable AHCI support and install the appropriate drivers. Otherwise, NCQ technology, as well as others interesting features, will remain unused.

    For what

    The idea underlying the NCQ (Native Command Queuing) technology has been implemented more than once in hard drives and controllers, but not those used in ordinary personal computers.

    So this is the principle behind NCQ. As you know, the hard drive is quite slow compared to other PC devices due to its mechanical nature. Particularly a lot of time is spent moving the heads between the tracks on which the sectors with data requested by the system are located. To minimize these movements, you can use the method of reordering the command queue, well known in computer science. In this case, the distance between the tracks to be accessed is used as a restructuring criterion. Read commands coming to the hard drive from the system are not executed in order, but accumulate in a queue. There they are swapped in such a way that the head moves as little as possible when executing neighboring requests. Due to this, acceleration is achieved.

    A classic example used to illustrate the effect of reordering is an elevator in a building. Imagine that he moves through the floors in the order in which the buttons on the panel were pressed. But the elevator works much more efficiently - it opens the doors on the floors in the direction of travel. Yes, some passengers have to wait longer, but others get to the desired floor much faster.

    Actually, after giving the example of the elevator, some disadvantages became obvious to you. Not all requests will be completed faster - some may get stuck in the queue, allowing other requests to pass through. And the appearance of a write request generally complicates the processing of the command queue, since a situation of data integrity violation is possible.

    In addition, such technology will only provide benefits if commands to the hard drive are received in a dense stream and much faster than it can execute them. In modern PCs, this situation does not occur very often - mainly at the time of loading the OS and large software packages. Therefore, the implementation of NCQ technology has only recently been undertaken, although in a server environment, intelligent command reordering has been used for a long time and successfully.

    It should be noted that the ability to change the order of commands and process queues is also included in the ATA interface protocol (TCQ technology). And there are even examples of its quite successful implementation. But it was not done very nicely or conveniently. The fact is that the ATA interface protocol, on which hard drives with a conventional, “parallel” interface operate, is based on the operation protocol ISA buses. The initialization and command transmission procedure, as well as monitoring status and errors, is a rather lengthy and complex procedure that requires analysis of several registers. Therefore, the developers decided to implement support for this technology in hard drives using the new interface - Serial ATA.

    AHCI protocol

    The Serial ATA controller, according to the requirements of this standard, must support at least two operating modes. First - emulation mode of a standard ATA controller (Legacy Mode). In this mode, the controller completely repeats the protocol for accessing the ATA hard drive and, from the point of view of the operating system and drivers, is no different from the “parallel” interface controller. In this case, the hard drives connected to it are emulated either as Master devices on a separate channel, or, if the operating system “does not understand” more than two channels, as pairs of Master and Slave devices. This mode is enabled by default and is fully supported by all operating systems and BIOS.

    The problem is that in emulation mode the implementation additional functions Serial ATA is partially or completely impossible, otherwise compatibility with classical implementation ATA will be broken. Therefore, the controller has the ability to switch to “native” Serial ATA mode, which does not have any “family obligations” that bind it to the ATA.

    AHCI (Advanced Host Controller Interface) protocol just describes the behavior of the controller in Native mode from a system point of view. It describes how the controller processes the command queue, where and how they are stored, how the programmer should place commands in the queue, and where to obtain the results of their execution. All conventions of the ATA protocol have been discarded, all difficulties with manipulating registers and flags have been eliminated as unnecessary. The implementation of all additional Serial ATA functions, including NCQ, Hot Swap, Port Multiplier, Staggered Spin-Up, etc., is now unlimited.

    Native Mode is designed to work with operating systems Windows 2000, XP, Vista, Windows 7.

    In other words, AHCI protocol functions only work in Native Mode Serial ATA.

    This protocol was developed by a special initiative group led by Intel. It is an addition to the Serial ATA standard, which, in general, does not describe the requirements for host controllers (controllers on the computing system, to which the hard drive is connected). Together with AHCI, the Serial ATA standard is a complete solution for organizing the disk subsystem in a new generation PC.

    At the same time Compatibility with software that does not natively support Serial ATA is lost. The controller cannot operate in two modes at the same time. By switching to Native mode, it loses the ability to accept commands from software that does not “understand” the AHCI protocol. Let us remember that Windows XP does not work natively with Serial ATA in Native Mode AHCI, but Vista and Windows 7 support it.

    How to enable AHCI

    Method one, classic. As with creating a RAID, you are using the installation floppy disk that came with motherboard or created independently. You start installing Windows, get to the first reboot, and when “Press F6...” appears at the bottom blue screen, press F6 and offer a floppy disk. You should select the correct driver option and continue installing Windows. Subsequently, when the installation is completed successfully, it will be useful to install the drivers and utilities again - they will allow you to make some settings and make sure that NCQ is enabled.

    The second method is more complicated, but it allows you to do without a floppy disk and without reinstalling Windows. To do this, your computer’s BIOS must have the ability to disable AHCI (or Native Mode, which in this case are synonyms). When emulation mode is enabled, you install Windows, and then install drivers from the controller manufacturer (motherboard chipset). If they are not installed automatically, do it manually. Then you enable AHCI in the BIOS, and the system begins to take advantage of NCQ.

    Using Intel as an example

    IN Intel chipsets AHCI support appeared in the 915 series. However, only in southbridges with the suffixes “R”, “M” and “DH”:

    • ICH6R, ICH6M - 915/925 series chipsets;
    • ICH7R, ICH7M, ICH7DH, ICH7MDH - 945/955/975 series chipsets;
    • ICH8R - 965 series chipsets.
    • ICH9R - P35 series chipsets

    Only laptops on the Centrino platform, starting from the second generation, and motherboards on series chipsets - 925, 955, 975... As a rule, if AHCI is supported, then the BIOS will have a corresponding line. As a last resort, you can look at the manual for the motherboard.

    The AHCI controller is integrated into the chipset with the following controller hub:

    • Block Intel controllers® ICH10R/DO SATA RAID/AHCI
    • Intel® ICH10D SATA AHCI Controller Box
    • Intel® ICH9M-E SATA RAID/AHCI Controller Assembly
    • Intel® ICH9M AHCI Controller Assembly
    • Intel® Controller Assembly 82801IR/IO (ICH9R/DO) - RAID and AHCI
    • Intel® 82801HEM I/O Controller Hub (ICH8M-E) - RAID and AHCI
    • Intel® I/O Controller Hub 82801HBM (ICH8R) - AHCI only
    • Intel® I/O Controller Assembly 82801HR/HH/HO (ICH8R/DH/DO) - RAID and AHCI
    • Intel® I/O Controller Hub 631xESB/632xESB - RAID and AHCI
    • Intel® 82801GHM I/O Controller Hub (ICH7MDH) - RAID only
    • Intel® I/O Controller Assembly 82801GBM (ICH7M) - AHCI version only
    • 82801GR/GH (ICH7R/DH) I/O Controller Block - RAID and AHCI
    • Intel® I/O Controller Assembly 82801FR (ICH6-R) - RAID and AHCI
    • Intel® 82801FBM I/O Controller Hub (ICH6M) - AHCI only

    You will need Intel Matrix Storage drivers, formerly Intel Application Accelerator, and their installation floppy. Its image can be downloaded from the Intel website. The drivers from this floppy disk will be useful both for installing Windows and for enabling AHCI after installation. In the latter case, be sure to install the Intel INF Update before you begin manipulating other drivers. Once the standard Serial ATA controller drivers have been replaced with the drivers from the Intel installation diskette, you can enable AHCI. Windows will be able to boot, and you can then continue installing the Matrix Storage kit - without enabling AHCI, it will refuse to start. For controllers from other manufacturers, the procedure is similar - first install the drivers, then enable AHCI.

    In this case, the hard drive is not affected - format, change, etc. do not need anything.

    Step-by-step instructions for m/b Intel with south bridges ICH6R, ICH6M, ICH7R, ICH7DH, ICH7M, ICH8R, ICH9R

    Note: below we are talking about 32bit versions of Windows. Of course, there is a driver for x64 as well. It's easy to find.

    1. Make sure AHCI is disabled in the BIOS and don't forget to make a backup Windows folders. I also recommend making a spare boot disk.
    2. Download 79im05ww.exe and unpack it, for example, to C:\DRIVERS\WIN\SATA
    3. In case you have ICH7M, go to step (5)
    4. Edit C:\DRIVERS\WIN\SATA\PREPARE\IMSM_PRE.inf replacing all DEV_27C5 values ​​corresponding to your southbridge:
      • ICH6R - DEV_2652
      • ICH6M - DEV_2653
      • ICH7R - DEV_27C1
      • ICH7DH - DEV_27C1
      • ICH7M - DEV_27C5
    5. Press Win+R, enter C:\DRIVERS\WIN\SATA\PREPARE\INSTALL.CMD, click Ok
    6. Restart your PC and enable AHCI support in the BIOS
    7. When the OS boots, the wizard for detecting new devices will start:
      • For Windows XP, select No, not this time, then Install from a list or specific location (Advanced) and specify C:\DRIVERS\WIN\SATA as the path
      • For Windows 2000, select Search for a suitable driver for my device (recommended), then Specify a location and specify C:\DRIVERS\WIN\SATA

    Solutions for board with ICH8R:

    • To install Windows XP with AHCI enabled, you must first create a floppy disk with the AHCI driver. Everything you need for this is on the disk that comes with the motherboard.

    When installing Windows XP SP 2, place the floppy disk with the driver in the FDD reader. When the Windows installer asks you to “Press F6 to install a special SCSI or RAID driver,” press F6 and select the AHCI driver from the list provided.

    • if you do not have a floppy disk reader, or Windows XP is already installed in SATA operating mode, IDE can be integrated required driver directly in the operating system.

    This is done as follows.
    We go to the device manager and find IDE ATA/ATAPI controllers in the list.
    We update drivers for controllers (by default there are 2).
    To do this, select Update driver => Do not search. I will choose the right driver myself.
    Specify the path to the Drivers\Chipset\Intel\makedisk\DOS\F632 folder on installation disk to the motherboard.
    Uncheck “Only compatible devices” and select Intel ® ICH8R/D0/DH SATA AHCI Controller from the list. (this is true for both controllers!!!).
    The system will ask you to reboot - do it. When rebooting into the BIOS, select the controller mode - AHCI.

    Installing Windows XP on laptops with Vista and Serial ATA AHCI

    As the developers of this operating system admit in a special document (http://www.microsoft.com/whdc/device...alATA_FAQ.mspx), the disk subsystem of all Windows versions, released before Vista will not support AHCI. They explain this by the presence of features in the implementation of AHCI by manufacturers of different controllers. In the future in Windows kernel A new mechanism for connecting drivers will be implemented - Ataport, and the drivers will include a standard miniport for the Native mode of the Serial ATA controller. In the meantime, alas, you need to install a special driver or SCSI miniport directly from the controller manufacturer.

    This problem is more complex than it seems at first glance. The Windows operating system is designed in such a way that at startup it must “pick up” the correct driver for the hard drive controller. Otherwise, the start is interrupted by the notorious “blue screen”, which can only be gotten rid of by reinstalling the system. Moreover, the installation process will also be interrupted by the same “blue screen” if you do not provide Windows with a floppy disk with the required driver in time. You won’t envy the owners of laptops at all - they have nowhere to insert a floppy disk, and Windows in this case does not accept other media.

    So, we install Windows XP on a laptop with AHCI.

    In most cases, trying to install XP in emulation mode results in a BSOD (“blue screen of death”) with the following error:

    STOP 0x0000007B INACCESSABLE_BOOT_DEVICE

    As already mentioned, there are 2 ways to install Windows XP with SATA Native Mode enabled in the BIOS: adding drivers to the distribution when loading via F6 or modifying the operating system so as to already integrate necessary drivers into the distribution.

    In the first case, Since there is no flop drive in the laptop, the only way out is to use a USB Floppy Drive, which is not that cheap.

    Driver integration into a distribution kit is more complex, but economically more feasible.

    There are quite a lot of distribution kits (assemblies) with already integrated drivers; just download one from the Internet and burn it to a disc. If you cannot find such an assembly, then all that remains is to integrate the drivers yourself into the distribution using the nLite program.

    For example, for Intel platforms with ICH7-ICH8 (Intel ® Matrix Storage Manager) these files are standard:

    • iaahci.cat
    • iastor.cat
    • iaahci.inf
    • iastor.inf
    • txtsetup.oem
    • iastor.sys

    During installation Windows Vista All unused storage device drivers are disabled. This allows you to increase the operating system startup speed. When replacing a boot disk driver with a driver that was disabled, you must enable new driver before changing the SATA configuration in the BIOS.

    Let's assume that Windows installation to a computer with a controller that uses the driver Pciide.sys. The user then performs a mode change from SATA to AHCI. The drive should now load the Msahci.sys driver. However, before making such changes, you must enable the driver Msahci.sys. This problem only applies to the boot disk. If the change is made to a disk that is not bootable, this problem does not arise.

    To troubleshoot problems, enable the AHCI driver in the registry before changing the boot drive's SATA mode. To do this, follow these steps:

    1. Launch the registry editor regedit.
      Find and highlight the following registry subkey:
    2. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Msahci
    3. In the right pane, click right click mouse parameter Start in column Name, then click Change.
    4. In field Meaning enter 0 and click the button OK.
    5. Close Registry Editor.

    The method is professional. Instead of integrating the drivers into the distribution, you can try writing the file \i386\winnt.sif and putting it in the distribution, in which you can write the paths to the folders with the driver.

    Something like:

    OemPnpDriversPath = "Drivers\megaIDE;Drivers\ICH85;Drivers\ICH78;Drivers\ICH62;Drivers\!inf;Drivers\lan.Pro100;Drivers\lan.Pro1000;lan.Drivers\lan.rtl8169;Drivers\IntelVGA895;Drivers\ IntelVGA845;Drivers\lan.Marvell;Drivers\lan.Attansic;Drivers\jMicron;Drivers\ATK100;Drivers\ATK110"

    Advanced Host Controller Interface (AHCI) - a mechanism used to connect storage devices using the Serial ATA protocol, allowing for advanced features such as built-in command queuing (NCQ) and hot swapping.

    Designed to replace the outdated classic ATA controller, which maintains top-down compatibility with the original IBM PC/AT, and supports direct memory access only as an addition. The main real problems of this controller are the lack of hot swap support (despite the fact that eSATA hardware supports it) and command queues on one channel (in the case of SATA, each device has one channel) - only one command can be executed at a time. Thus, using the ATA NCQ feature, even if it is supported by the disk itself, is impossible on a classic ATA controller.

    When switching, with Windows OS already installed, the ATA controller included in the south bridge to the “AHCI” mode, this will mean, for the installed operating system, the use of incompatible operating logic of the hard drive controller - this action is equivalent to installing an ATA controller into the board system that is different from the existing one, and physically switching the boot disk to this board.

    In this case, Windows will not find the boot disk when loading and will crash with a BSOD. STOP 0x0000007B, INACCESSIBLE_BOOT_DEVICE.

    Text taken from the free encyclopedia http://wikipedia.org/

    So, since you came to my site, it means we have a common problem, which you got after purchasing a new SSD (For example, in OGO.ru). And after reading the text above, you could understand its root. For some reason, Microsoft still cannot make a free transition from one driver to another. And to do this, users have to work a little with their hands, but in principle, very little. To solve the problem, before switching to the BIOS, you must set Windows driver AHCI, or rather, make a small amendment to the registry. This instruction is for operating systems Windows 7, Windows Vista and Windows Server 2008 R2. For Windows 8, the instructions are slightly different and are available at the following link:

    I. Manually switching Windows 7 to AHCI mode

    1) Go to the registry. To do this, use WIN+R and in the window that opens write regedit:

    2) The built-in “Registry Editor” of the Windows system will open. On the left side of the window we follow the path:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\msahci


    3) Double click open parameter Start and change the value to 0 (the default value is " 3 » - AHCI is not supported):

    4) That's all, close the registry and restart the computer.

    5) During boot, go into BIOS and enable AHCI support. You can read how to do this in the instruction manual for your motherboard. Save the settings and restart the computer.

    After Windows startup It will install the AHCI driver itself and restart again. After a restart, the hard drives will work in the AHCI standard.