Windows Server TechCenter >
Windows Server Forums
>
Setup Deployment
>
ImageInstall DataImage component not working in WDS unattend installation. Please Help.
ImageInstall DataImage component not working in WDS unattend installation. Please Help.
- So far I have got Windows Deployment Services running on Windows 2008 Server Standard to deploy images to any target machines. I am trying to create a complete unattend.xml file to automate the whole process. I want to be able to automatically login so I can choose an image from the selection menu, automatically wipe the disk and create two partitions, and automatically deploy an additional "dataimage" to one of the partitions. So far I have created an unattend.xml to do just that, however the only thing not working is the ImageInstall Dataimage component. The unattend.xml file did succesfully login automatically, it allowed me to choose an image to deploy to the second partition, and successfully configured the "diskconfiguration" settings automatically. I was able to see that two partitions were created, and that one of the partition had the deployed image in it. But it skips over the ImageInstall part of the xml file. Here is the unattend.xml file I have got so far:FYI, the image I am deploying is a Windows XP Embedded .wim image I created with ImageX. The DataImage is a custom WinPE image that I also want to deploy on to an active partition. Please provide any comment/suggestions that you have. Any help is greatly appreciated.
<?xml version="1.0" ?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <WindowsDeploymentServices> <Login> <Credentials> <Domain>****</Domain> <Username>****</Username> <Password>****</Password> </Credentials> </Login> <ImageSelection> <WillShowUI>OnError</WillShowUI> <InstallTo> <DiskID>0</DiskID> <PartitionID>2</PartitionID> </InstallTo> </ImageSelection> </WindowsDeploymentServices> <DiskConfiguration> <WillShowUI>OnError</WillShowUI> <Disk wcm:action="add"> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> <CreatePartitions> <CreatePartition wcm:action="add"> <Order>1</Order> <Type>Primary</Type> <Size>3072</Size> </CreatePartition> <CreatePartition wcm:action="add"> <Order>2</Order> <Type>Primary</Type> <Extend>true</Extend> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Order>1</Order> <PartitionID>1</PartitionID> <Letter>C</Letter> <Format>NTFS</Format> <Active>true</Active> </ModifyPartition> <ModifyPartition wcm:action="add"> <Order>2</Order> <PartitionID>2</PartitionID> <Letter>D</Letter> <Format>NTFS</Format> <Active>false</Active> </ModifyPartition> </ModifyPartitions> </Disk> </DiskConfiguration> <ImageInstall> <DataImage wcm:action="add"> <Credentials> <Domain>****</Domain> <Username>****</Username> <Password>****</Password> </Credentials> <InstallFrom> <Path>\\ENGImageServer\reminst\WinPEForRestore.wim</Path> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> <Value>WinPEForRestore</Value> </MetaData> </InstallFrom> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> </DataImage> </ImageInstall> </component> </settings> </unattend>
Answers
- Hi,
As far as I know, your configuration is not correct. To perform an unattended installation, you need two different unattend files: one for the Windows Deployment Services UI screens, and one for the latter phases of Setup. Two files are necessary because Windows Deployment Services can deploy Windows Vista (and later) images that support the Unattend.xml format, and images for older versions of Windows, which do not support the Unattend.xml format.
Since you’re trying to deploying Windows XP Embedded, one unattend.xml is not enough.
Also, the WinPEForRestore.wim should be a Boot.wim that from the Windows Server installation DVD. Do not use the Boot.wim from the Windows Vista DVD unless your version of Windows Vista has SP1 integrated into the DVD. In order to test if the WinPEForRestore.wim works, I suggest you try to install an operating system manually.
1. Configure the BIOS of the client to enable PXE booting, and set the boot order so that it is booting from the network first.
2. Restart the computer, and when prompted, press F12 to start the network boot.
3. Select the appropriate boot image from the boot menu. (This boot image selection menu will be available only if you have two or more boot images on the server)
4. Follow the instructions in the Windows Deployment Services user interface.
5. When the installation is completed, the computer will restart and Setup will continue.
If above step could not work properly, please refer to the following article to check your WDS settings:
Windows Deployment Services Getting Started Guide
http://technet.microsoft.com/en-us/library/cc771670.aspx
Thanks.
This posting is provided "AS IS" with no warranties, and confers no rights.- Marked As Answer byMervyn ZhangMSFT, ModeratorWednesday, April 15, 2009 8:08 AM
All Replies
- Hi,
As far as I know, your configuration is not correct. To perform an unattended installation, you need two different unattend files: one for the Windows Deployment Services UI screens, and one for the latter phases of Setup. Two files are necessary because Windows Deployment Services can deploy Windows Vista (and later) images that support the Unattend.xml format, and images for older versions of Windows, which do not support the Unattend.xml format.
Since you’re trying to deploying Windows XP Embedded, one unattend.xml is not enough.
Also, the WinPEForRestore.wim should be a Boot.wim that from the Windows Server installation DVD. Do not use the Boot.wim from the Windows Vista DVD unless your version of Windows Vista has SP1 integrated into the DVD. In order to test if the WinPEForRestore.wim works, I suggest you try to install an operating system manually.
1. Configure the BIOS of the client to enable PXE booting, and set the boot order so that it is booting from the network first.
2. Restart the computer, and when prompted, press F12 to start the network boot.
3. Select the appropriate boot image from the boot menu. (This boot image selection menu will be available only if you have two or more boot images on the server)
4. Follow the instructions in the Windows Deployment Services user interface.
5. When the installation is completed, the computer will restart and Setup will continue.
If above step could not work properly, please refer to the following article to check your WDS settings:
Windows Deployment Services Getting Started Guide
http://technet.microsoft.com/en-us/library/cc771670.aspx
Thanks.
This posting is provided "AS IS" with no warranties, and confers no rights.- Marked As Answer byMervyn ZhangMSFT, ModeratorWednesday, April 15, 2009 8:08 AM
- When Setup is run in WDS mode, it doesn't support <DataImage>.
- Dear vcxvcvxvx and All,
If you're using SCCM please check out the answer here: http://social.technet.microsoft.com/Forums/en-US/winserversetup/thread/dc0b5233-3349-4955-bc89-dd41f8693e8b?prof=required.
Paul Wojcicki-Jarocki

