hyperbyte
asked on
WDS Answer File to Create Partition Size of HDD
Hi,
I have an unattended answer file that I would like to edit. My answer file is working fine but I received an error today because it was trying to create a partition bigger than the capacity of the drive. I need to edit the below so that it creates the windows installation partition to the full size of the drive regardless of how big it may be.
<DiskConfiguration>
<WillShowUI>OnError</WillS howUI>
<Disk>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWi peDisk>
<CreatePartitions>
<CreatePartition>
<!-- Create the system partition -->
<Order>1</Order>
<Type>Primary</Type>
<Size>100</Size>
</CreatePartition>
<!-- Create the Windows partition -->
<CreatePartition>
<Order>2</Order>
<Type>Primary</Type>
<Size>90000</Size>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<!-- Modify the system partition -->
<ModifyPartition>
<Order>2</Order>
<PartitionID>1</PartitionI D>
<Format>NTFS</Format>
<Label>System</Label>
<Active>true</Active>
</ModifyPartition>
<!-- Modify the Windows partition -->
<ModifyPartition>
<Order>1</Order>
<PartitionID>2</PartitionI D>
<Format>NTFS</Format>
<Label>Windows</Label>
<Letter>C</Letter>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>
Thank you
I have an unattended answer file that I would like to edit. My answer file is working fine but I received an error today because it was trying to create a partition bigger than the capacity of the drive. I need to edit the below so that it creates the windows installation partition to the full size of the drive regardless of how big it may be.
<DiskConfiguration>
<WillShowUI>OnError</WillS
<Disk>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWi
<CreatePartitions>
<CreatePartition>
<!-- Create the system partition -->
<Order>1</Order>
<Type>Primary</Type>
<Size>100</Size>
</CreatePartition>
<!-- Create the Windows partition -->
<CreatePartition>
<Order>2</Order>
<Type>Primary</Type>
<Size>90000</Size>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<!-- Modify the system partition -->
<ModifyPartition>
<Order>2</Order>
<PartitionID>1</PartitionI
<Format>NTFS</Format>
<Label>System</Label>
<Active>true</Active>
</ModifyPartition>
<!-- Modify the Windows partition -->
<ModifyPartition>
<Order>1</Order>
<PartitionID>2</PartitionI
<Format>NTFS</Format>
<Label>Windows</Label>
<Letter>C</Letter>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes.
ASKER
Do you mean like this:
<DiskConfiguration>
<WillShowUI>OnError</WillS
<Disk>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWi
<CreatePartitions>
<CreatePartition>
<!-- Create the system partition -->
<Order>1</Order>
<Type>Primary</Type>
<Size>100</Size>
</CreatePartition>
<!-- Create the Windows partition -->
<CreatePartition>
<Order>2</Order>
<Type>Primary</Type>
<Extend>True</Extend>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<!-- Modify the system partition -->
<ModifyPartition>
<Order>2</Order>
<PartitionID>1</PartitionI
<Format>NTFS</Format>
<Label>System</Label>
<Active>true</Active>
</ModifyPartition>
<!-- Modify the Windows partition -->
<ModifyPartition>
<Order>1</Order>
<PartitionID>2</PartitionI
<Format>NTFS</Format>
<Label>Windows</Label>
<Letter>C</Letter>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>