# Enabling AHCI with Sysprep for Windows XP

I am preparing an image (Ghost) at work and our newer "standard desktop" use SSDs. My boss has directed me to make it so the image will enable ahci when we image the newer desktops. So I found the proper drivers and prepared the Syspref.inf. After imaging if I have AHCI enabled in the BIOS it constantly restarts. If I disable it, it installs fine. Yet if I go in and turn on AHCI in the BIOS again, constant restarts. Below is the last part of Syspref.inf

Syspref.inf

[Sysprep]
BuildMassStorageSection = Yes

[SysprepMassStorage]
PCI\VEN_1002&DEV_4392&CC_0104 = %systemdrive%\Sysprep\drivers\storage\amd\ahcix86.inf
PCI\VEN_1002&DEV_4393&CC_0104 = %systemdrive%\Sysprep\drivers\storage\amd\ahcix86.inf
PCI\VEN_1022&DEV_7802&CC_0104 = %systemdrive%\Sysprep\drivers\storage\amd\ahcix86.inf
PCI\VEN_1022&DEV_7803&CC_0104 = %systemdrive%\Sysprep\drivers\storage\amd\ahcix86.inf
PCI\VEN_1002&DEV_4391&CC_0106 = %systemdrive%\Sysprep\drivers\storage\amd\ahcix86.inf
PCI\VEN_1002&DEV_4392&CC_0104 = %systemdrive%\Sysprep\drivers\storage\amd\ahcix86.inf
PCI\VEN_1002&DEV_4393&CC_0104 = %systemdrive%\Sysprep\drivers\storage\amd\ahcix86.inf
PCI\VEN_1002&DEV_4394&CC_0106 = %systemdrive%\Sysprep\drivers\storage\amd\ahcix86.inf
PCI\VEN_1022&DEV_7801&CC_0106 = %systemdrive%\Sysprep\drivers\storage\amd\ahcix86.inf
PCI\VEN_1022&DEV_7802&CC_0104 = %systemdrive%\Sysprep\drivers\storage\amd\ahcix86.inf
PCI\VEN_1022&DEV_7803&CC_0104 = %systemdrive%\Sysprep\drivers\storage\amd\ahcix86.inf
PCI\VEN_1022&DEV_7804&CC_0106 = %systemdrive%\Sysprep\drivers\storage\amd\ahcix86.inf
PCI\VEN_8086&DEV_27C1&CC_0106 = %systemdrive%\Sysprep\drivers\storage\intel\iaahci.inf
PCI\VEN_8086&DEV_27C5&CC_0106 = %systemdrive%\Sysprep\drivers\storage\intel\iaahci.inf
PCI\VEN_8086&DEV_2922&CC_0106 = %systemdrive%\Sysprep\drivers\storage\intel\iaahci.inf
PCI\VEN_8086&DEV_2929&CC_0106 = %systemdrive%\Sysprep\drivers\storage\intel\iaahci.inf
PCI\VEN_8086&DEV_3A02&CC_0106 = %systemdrive%\Sysprep\drivers\storage\intel\iaahci.inf
PCI\VEN_8086&DEV_3A22&CC_0106 = %systemdrive%\Sysprep\drivers\storage\intel\iaahci.inf
PCI\VEN_8086&DEV_3B29&CC_0106 = %systemdrive%\Sysprep\drivers\storage\intel\iaahci.inf
PCI\VEN_8086&DEV_3B2F&CC_0106 = %systemdrive%\Sysprep\drivers\storage\intel\iaahci.inf
PCI\VEN_8086&DEV_3B22&CC_0106 = %systemdrive%\Sysprep\drivers\storage\intel\iaahci.inf
PCI\VEN_8086&DEV_1C02&CC_0106 = %systemdrive%\Sysprep\drivers\storage\intel\iaahci.inf
PCI\VEN_8086&DEV_1C03&CC_0106 = %systemdrive%\Sysprep\drivers\storage\intel\iaahci.inf
PCI\VEN_8086&DEV_27C3&CC_0104 = %systemdrive%\Sysprep\drivers\storage\intel\iastor.inf
PCI\VEN_8086&DEV_27C6&CC_0104 = %systemdrive%\Sysprep\drivers\storage\intel\iastor.inf
PCI\VEN_8086&DEV_2822&CC_0104 = %systemdrive%\Sysprep\drivers\storage\intel\iastor.inf
PCI\VEN_8086&DEV_282A&CC_0104 = %systemdrive%\Sysprep\drivers\storage\intel\iastor.inf

-
What steps are you using to run Sysprep? – Ƭᴇcʜιᴇ007 Nov 22 '11 at 14:50
I use 'Mini-Setup' and 'Reseal'. – MrStatic Nov 22 '11 at 15:30
Is AHCI enabled in the bios during installation? It needs to be. – Moab Nov 22 '11 at 16:26
If I have ahci enabled during installation it just constantly reboots. – MrStatic Nov 22 '11 at 16:32