For purposes of ghosting SysPrepped PC's it could be important to switch Windows XP to AHCI after installing Windows. We have been doing this with our Dell laptops.
Our baseline SysPrep image works well on Dell Precision M65's and M4300's, which do not support AHCI. The new Dell Precision M4400's we have been ordering do. In order to not re-create the image from a fresh Windows install, I have figured out how to switch a PC from ATA to AHCI mode after Windows is installed.
- Start with a fresh M4400 booted with the Dell installation of Windows XP using AHCI.
- Run regedit.exe
- Right-click on HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001 and select Export. Save this on a USB stick as ControlSet001.reg.
- Now right-click on HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iastor and select Export. Save this on the stick as IAStore.reg.
- Copy the file C:\WINDOWS\system32\drivers\iaStor.sys to your USB stick.
- Go to Intel's web site and download the latest Matrix Storage Manager: http://downloadcenter.intel.com/Product_Filter.aspx?ProductID=2101&lang=eng Put this on the stick also.
- Restart the PC and boot to the BIOS configuration. Switch the Disk Controller to ATA mode.
- Use a Ghost boot disk and copy your SysPrep'd image onto the M4400.
- Boot the new image, and complete the mini Windows Setup wizard.
- Copy the iaStor.sys file from your USB stick to the C:\WINDOWS\system32\drivers folder.
- Install the ControlSet001.reg and IAStore.reg registry files by clicking on them.
- Shut down and restart the PC. Before it boots, go back to the BIOS settings. Select AHCI mode.
- Boot the PC. It will run the Found New Hardware wizard. Cancel this wizard without installing anything.
- Install the Intel driver you downloaded earlier. Restart again.
All of the files you need to switch a Dell M4400 can be found here:
Dell M4400 Files
All of the files you need to switch a Dell M2400 can be found here:
Dell M2400 Files
After trying this procedure on a Dell Precision M2400, I found that there is too much junk in the HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001folder. So instead of exporting the entire tree from this point, search from here to find iaStor. Copy the key within HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDatabase where it is found. Export this key as your ControlSet001.reg instead of the full tree.
More on this topic can be found here: