DataImage not applying WIM during WindowsPE pass with WDS.
I'm having trouble with the amd64_Microsoft-Windows-Setup_neutral\ImageInstall\Dataimage component during the windowsPE configuration pass.
This is a 64 bit install of Longhorn Standard edition. The autounattend file is injected into the stadard 64bit boot.wim and is one of my boot options on the WDS server. All of my settings work as advertised, the WDS startup is completely unattended including logging on to the WDS server, partioning the disks, setting the product key and choosing which image to install in the WindowsDeploymentServices\ImageSelection section.
I have tried referring to the metadata on the WIM file using /IMAGE/INDEX, /IMAGE/NAME and /IMAGE/DESCRIPTION without any luck.If I Ctrl-F11 during the windowsPE portion of startup I can to my Distribution share using the credentials I'm using in my autounattned.xml.
My thought is that since I'm using the WindowsDeploymentServices section instead of OSImage to specify my ImageSelection it never processes my Dataimage. The reason I'm thinking that comes from the statement "The OSImage is installed before any data images" in the help files for DataImage.
Anyone have any experience with this?
My autounattend is below as is the imagex /info for the WIM.autounattend.xml
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing></servicing>
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
<UILanguage>en-US</UILanguage>
</component>
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserData>
<ProductKey>
<Key>****-****-****-****-****</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<AcceptEula>true</AcceptEula>
<FullName>MMI</FullName>
<Organization>MMI</Organization>
</UserData>
<WindowsDeploymentServices>
<Login>
<Credentials>
<Domain>name/Domain>
<Password>password</Password>
<Username>username</Username>
</Credentials>
</Login>
<ImageSelection>
<InstallImage>
<ImageName>Hospital2008</ImageName>
<ImageGroup>ImageGroup1</ImageGroup>
<Filename>install.wim</Filename>
</InstallImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
</ImageSelection>
</WindowsDeploymentServices>
<DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>30000</Size>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>2</Order>
<Type>Extended</Type>
<Extend>true</Extend>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>3</Order>
<Type>Logical</Type>
<Extend>true</Extend>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>SYS</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Active>false</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>Data</Label>
<Letter>D</Letter>
<Order>2</Order>
<PartitionID>2</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<WillWipeDisk>true</WillWipeDisk>
<DiskID>0</DiskID>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>
<ImageInstall>
<DataImage wcm:action="add">
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>2008source</Value>
</MetaData>
<Credentials>
<Domain>domain</Domain>
<Password>password</Password>
<Username>username</Username>
</Credentials>
<Path>\\ristest\REMINST\source.wim</Path>
</InstallFrom>
<Order>1</Order>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
</DataImage>
</ImageInstall>
</component>
</settings>
<cpi:offlineImage cpi:source="wim://ristest/wim/longhorn/64bit/install.wim#Windows Longhorn SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
C:\RemoteInstall>imagex /info source.wim
ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
WIM Information:
----------------
GUID: {75b1defa-5e90-4835-a7d1-252832efe40f}
Image Count: 1
Compression: XPRESS
Part Number: 1/1
Attributes: 0x8
Relative path junction
Available Image Choices:
------------------------
<WIM>
<TOTALBYTES>30007287</TOTALBYTES>
<IMAGE INDEX="1">
<NAME>2008source</NAME>
<DESCRIPTION>2008x64source</DESCRIPTION>
<DIRCOUNT>1</DIRCOUNT>
<FILECOUNT>8</FILECOUNT>
<TOTALBYTES>33703815</TOTALBYTES>
<CREATIONTIME>
<HIGHPART>0x01C93925</HIGHPART>
<LOWPART>0xD2C9F5E2</LOWPART>
</CREATIONTIME>
<LASTMODIFICATIONTIME>
<HIGHPART>0x01C93925</HIGHPART>
<LOWPART>0xD2C9F5E2</LOWPART>
</LASTMODIFICATIONTIME>
</IMAGE>
</WIM>
Answers
Hi,
As I know, the DataImage section does not work during the WDS installation. Therefore, it is expected that DataImage does not apply the .WIM image during WindowsPE pass with WDS.
For more information, your can refer to the “Recovery image and WDS installation” following article:
http://josvanrijn.spaces.live.com/blog/
Hope it helps.
Tim Quan - MSFT
- Marked As Answer byTim Quan - MSFTMSFT, ModeratorMonday, November 24, 2008 2:13 AM
All Replies
Hi,
As I know, the DataImage section does not work during the WDS installation. Therefore, it is expected that DataImage does not apply the .WIM image during WindowsPE pass with WDS.
For more information, your can refer to the “Recovery image and WDS installation” following article:
http://josvanrijn.spaces.live.com/blog/
Hope it helps.
Tim Quan - MSFT
- Marked As Answer byTim Quan - MSFTMSFT, ModeratorMonday, November 24, 2008 2:13 AM
- Hi Tim,This problem still unsolved?Thanks for your reply.Best regards,Felippe Barros
- Hi All,
This is by design. Tim, as you can see, the <WindowsDeploymentServices><ImageSelection><InstallImage> section is separate from the <ImageInstall><DataImage> section.
If you're trying to do this with WDS (Windows Deployment Services) in combination with SCCM (System Center Configuration Manager) then simply in your OSD Task Sequence insert a step called Apply Data Image. This will do the same thing. Check out http://technet.microsoft.com/en-us/library/bb693525.aspx.
Kindly,
Paul Wojcicki-Jarocki

