This is another WDS blog post that I have to give some credit to my friend Louie Meraz who I worked with when doing this. Deploying Windows 7 with WDS is very simple, deploying XP is also simple but maybe not quite as straight forward and fluid.
To create an XP image again you should have an XP machine with whatever configurations and applications you require on there. Also the most up to date Windows Updates. Take it off the domain and then run setupmgr (part of the deploy.cab you can download) to create an RIS answer file. You will see a few lines in this file (found on the machine under C:\windist) with %ServerName% you need to change this to your WDS Servers hostname and also update the OriSource Path to the path which will contain your XP Answer file. e.g. \\%SERVERNAME%\RemoteInstall\Images\XP\XPTest\$OEM$\$1\sysprep
The answer file should be copied to the server under:
D:\RemoteInstall\Images\XP\XPTest\$OEM$\$1\sysprep
You will then need to run a SysPrep on your machine. SysPrep is not natively on XP so you will need to get a copy of the Cab file which contains it. Download and do a Mini Setup and Reseal and Reboot.
After the machine Reboots hit F12 to go to your Boot Menu and navigate to WDS. Now select capture. As you have performed a sysprep WDS will now create an Image and upload it to Captures on your WDS server. Once this has completed you will need to copy it to the correct Image Group e.g. XP.
Next Pre-Stage your machine that you want to image e.g.:
C:\Windows\System32\WDSUTIL /Add-Device /Device:” HostnName & ” /ID:” Mac” /WDSClientUnattend:Machine.xml /BootProgram:boot\x64\PXEboot.
<unattend xmlns=”urn:schemas-microsoft-
<settings pass=”windowsPE”>
<component name=”Microsoft-Windows-Setup” processorArchitecture=”x86″ publicKeyToken=”
<DiskConfiguration>
<WillShowUI>OnError</
<Disk wcm:action=”add”>
<CreatePartitions>
<CreatePartition wcm:action=”add”>
<Order>1</Order>
<Type>Primary</Type>
<Extend>true</Extend>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action=”add”>
<Active>true</Active>
<Format>NTFS</Format>
<Label>System</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</
</Disk>
</DiskConfiguration>
<WindowsDeploymentServices>
<Login>
<Credentials>
<Domain>COM</Domain>
<Username>USER</Username>
<Password>PASSWORD1</Password>
</Credentials>
</Login>
<ImageSelection>
<WillShowUI>OnError</
<InstallImage>
<ImageName>XPTest</
<ImageGroup>XP</ImageGroup>
<FileName>XPTest.wim</
</InstallImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
</ImageSelection>
</WindowsDeploymentServices>
</component>
</settings>
</unattend>