Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows
Consider the following scenario. You install Windows Vista Service Pack 1 (SP1). At the time of the installation, you install a Serial ATA (SATA) controller driver other than the Microsoft Advanced Host Controller Interface (MSAHCI) driver. Then, after Windows Vista SP1 is installed, you update the existing SATA driver to the MSAHCI driver. However, when you restart the computer after you update the driver, you receive the following stop error message:
This issue occurs because a new feature in Windows Vista SP1 disables the MSAHCI and ATAPI drivers if they are unused. In this scenario, Windows Vista SP1 detects that these drivers are unused at the time of the installation. When you update the existing SATA controller driver to the MSAHCI driver, the MSAHCI driver is enabled, but the ATAPI driver is still disabled. This causes the stop error message.
To work around this issue, enable the ATAPI driver manually before you update the SATA controller driver to the MSAHCI driver. To do this, use one of the following methods.
Method 1: Use the Service Control Manager tool to enable the ATAPI service (recommended)
Click Start
Collapse this imageExpand this image
, type cmd in the Start Search box, and then click cmd in the Programs list.
Collapse this imageExpand this image
If you are prompted for an administrator password or confirmation, type your password, or click Continue.
Check the current state of the ATAPI service. To do this, at the command prompt, type sc qc atapi, and then press ENTER. You see output that resembles the following:
Change the start type for the ATAPI service from DISABLED to BOOT. To do this, at the command prompt, type sc config atapi start= boot, and then press ENTER.
Verify that the ATAPI service is enabled. To do this, at the command prompt, type sc qc atapi, and then press ENTER. You see output that resembles the following:
Method 2: Use the registry to enable the ATAPI service
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
Click Start
Collapse this imageExpand this image
, type regedit in the Start Search box, and then click regedit in the Programs list.
Collapse this imageExpand this image
If you are prompted for an administrator password or confirmation, type your password, or click Continue.
Locate and then click the following registry entry:
If you receive the stop error message that is mentioned in the "Symptoms" section and you cannot restart the computer, follow these steps to start the computer and to change the start value of the ATAPI service:
Start the computer by using the Windows Vista installation media.
At the installation screen, press SHIFT+F10 to open a command prompt.
Click Start
Collapse this imageExpand this image
, type regedit in the Start Search box, and then click regedit in the Programs list.
Collapse this imageExpand this image
If you are prompted for an administrator password or confirmation, type your password, or click Continue.
Locate and then click the following registry subtree:
HKEY_LOCAL_MACHINE
On the File menu, click Load Hive.
In the original Windows Vista installation %SystemRoot%\System32\Config folder, click the System file, and then click Open.
In the Load Hive dialog box, type test, and then click OK.
Note The HKEY_LOCAL_MACHINE registry subtree of the original Windows Vista installation is loaded as a subkey of the current HKEY_LOCAL_MACHINE registry subtree.
Locate and then click the following registry entry: