Autounattend.xml does not destroy previous volumes/partitions

T

Thorsten _

Guest
I am trying to build an "autounattend.xml" file that silently deletes all previous volumes, no matter if windows or linux partitions are found, no matter if basic or dynamic disks have been built before. From the sample below I experience that "foreign" volumes are not destroyed nor any dynamic disks. Is there any way to reliably and automatically achieve this goal? The "<WillWipeDisk>true</WillWipeDisk>" switch does not seem to work sufficiently. Thorsten Sample code from autounattendx.xml for WinPE phase <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"> <DiskConfiguration> <Disk wcm:action="add"> <CreatePartitions> <CreatePartition wcm:action="add"> <Order>1</Order> <Size>100</Size> <Type>Primary</Type> </CreatePartition> <CreatePartition wcm:action="add"> <Order>2</Order> <Size>60000</Size> <Type>Primary</Type> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Active>true</Active> <Format>NTFS</Format> <Label>bitlocker</Label> <Order>1</Order> <PartitionID>1</PartitionID> </ModifyPartition> <ModifyPartition wcm:action="add"> <Active>false</Active> <Format>NTFS</Format> <Label>win7</Label> <Order>2</Order> <PartitionID>2</PartitionID> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> <WillShowUI>OnError</WillShowUI> </DiskConfiguration>

Continue reading...
 
Back
Top