Having a few problems imaging Vista machines and putting the image on to a PC with different hardware. And wonder if anyone can help.

First off im using this TID to get the PC ready for imaging so the ZEN Agent is in the image. However as this is Vista the sysprep is a bit different but i will get to that in a minute.

Next im putting in the following commands at a command prompt so that you don't have to boot from the Vista disk to fix the boot files:

BCDEDIT /SET {BOOTMGR} DEVICE BOOT
BCDEDIT /SET {DEFAULT} DEVICE BOOT
BCDEDIT /SET {DEFAULT} OSDEVICE BOOT

Then run Vista sysprep at the CMD with an xml answer file with the following command:

sysprep /generalize /oobe /shutdown /unattend:sysprep.xml

using the following answer xml file:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86"
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>en-uk</InputLocale>
<SystemLocale>en-uk</SystemLocale>
<UILanguage>en-uk</UILanguage>
<UserLocale>en-uk</UserLocale>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86"
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>*********</Value>
<PlainText>true</PlainText>
</Password>
<DisplayName>tech</DisplayName>
<Group>administrators</Group>
<Name>tech</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOrganization>NCD</RegisteredOrganization>
<RegisteredOwner>NCD</RegisteredOwner>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86"
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ComputerName>*</ComputerName>
<ProductKey>**********************</ProductKey>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London</TimeZone>
</component>
<component name="Microsoft-Windows-Security-Licensing-SLC-UX"
processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral"
versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipAutoActivation>true</SkipAutoActivation>

</component>
</settings>
</unattend>






Now when i put the Image on a DELL Optiplex GX620, which is what i used to create the image, it works fine the PC boots and then registers into the zone with no problems. However if i put it onto a DELL Optiplex GX745 or a GX520 i get the following error message during sysprep wizard when the PC first boots with the new image:

The computer restarted unexpectedly or encountered an unexpected error. Windows installation cannot proceed. To install windows, click "OK" to restart the computer, and then restart the installation.

Now i would think this might be down to drivers for the different hardware in the image. Does anyone know where to put the drivers and how to get sysprep to use them? And also i have created an image without the ZEN Agent on using the same sysprep xml and put it on the other PCs and the sysprep runs ok and you can log into the PC so maybe this isn't an issue with drivers but more to do with the ZEN agent?

Thanks for any help