Windows 10 Deployment using WDS Role and Answer File

akhil sudan 1 Reputation point
2021-09-01T13:23:28.26+00:00

Hello Members,

I am doing a unattended Deployment of Windows 10 onto some Physical machine.

I have captured the .wim images of C Drive (Windows) and D Drive (Data).

  1. Windows.wim
  2. Data.wim

Now using WDS role and answer file, I am successfully able to

  1. Create Drive partitions and
  2. Deploy the Windows.wim file to C Drive (partition 1)

But Unable to Deploy Data.wim to D Drive (partition 2), is there any configuration in the Answer file that am missing? or Any better alternative.

Tried using the DataImage in the Answer file as below but no luck.

<ImageInstall>

            <DataImage wcm:action="add"> 

                <InstallTo> 

                    <DiskID>0</DiskID> 

                    <PartitionID>2</PartitionID> 

                </InstallTo> 

                <InstallFrom> 

                    <Credentials> 

                        <Domain>XXXXXX</Domain> 

                        <Password>XXXXXX</Password> 

                        <Username>XXXXXX</Username> 

                    </Credentials> 

                    <Path>\\UNC\Data.wim</Path> 

                </InstallFrom> 

                <Order>1</Order> 

            </DataImage> 

        </ImageInstall>
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,931 Reputation points
    2021-09-01T16:07:36.71+00:00

    Hello @akhil sudan

    Thank you for your question.

    Kindly verify your answers as per below Microsoft article for Drive and PartitionID.

    https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/deploy-a-custom-image

    Thank you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.