Link to home
Start Free TrialLog in
Avatar of Anagkazo
AnagkazoFlag for United States of America

asked on

Creating AutoUnattended.xml file for Windows 2012 machines

Come you help with AutoUnattend.xml Disk Configuration settings for the following recommended configuration: a system partition, a Windows partition (drive C), and a Data partition (drive D).

Thanks

I tried this configuration file with my WDS Server and it's not working:

<DiskConfiguration>

  <Disk wcm:action="add">
    <DiskID>0</DiskID>
    <WillWipeDisk>true</WillWipeDisk>
    <CreatePartitions>

      <!-- System partition -->
      <CreatePartition wcm:action="add">
        <Order>2</Order>
        <Type>Primary</Type>
        <Size>350</Size>
      </CreatePartition>

      <!-- Windows partition -->
      <CreatePartition wcm:action="add">
        <Order>3</Order>
        <Type>Primary</Type>
        <Size>75000</Size>

      </CreatePartition>
    </CreatePartitions>

      <!-- Recovery image partition -->
      <CreatePartition wcm:action="add">
        <Order>1</Order>
        <Type>Primary</Type>
        <Size>15000</Size>
      </CreatePartition>

    <ModifyPartitions>

      <!-- System partition -->
      <ModifyPartition wcm:action="add">
        <Order>1</Order>
        <PartitionID>1</PartitionID>
        <Label>System</Label>
        <Letter>S</Letter>
        <Format>NTFS</Format>
        <Active>true</Active>
      </ModifyPartition>

      <!-- Windows partition -->
      <ModifyPartition wcm:action="add">
        <Order>2</Order>
        <PartitionID>2</PartitionID>
        <Label>Windows</Label>
        <Letter>C</Letter>
        <Format>NTFS</Format>
      </ModifyPartition>

      <!-- Recovery image partition -->
      <ModifyPartition wcm:action="add">
        <Order>3</Order>
        <PartitionID>3</PartitionID>
        <Label>Recovery</Label>
        <Format>NTFS</Format>
        <TypeID>0x27</TypeID>
      </ModifyPartition>

    </ModifyPartitions>
  </Disk>
  <WillShowUI>OnError</WillShowUI>
</DiskConfiguration>

<ImageInstall>
  <OSImage>
    <InstallTo>
      <DiskID>0</DiskID>
      <PartitionID>2</PartitionID>
    </InstallTo>
  </OSImage>
</ImageInstall>
ASKER CERTIFIED SOLUTION
Avatar of Gajendra Rathod
Gajendra Rathod
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial