How to make DiskConfiguration to format only one partition?

mamj

New member
Local time
6:35 PM
Messages
3
Hello!

I'm trying to create unattend.xml using MSC to and i can't figure how to just format one existing partition.
The system disk contain 2 partitions with: Part 1 windows that we want to format. and Part 2 contain data we want to keep.

Will this setting work?
Code:
<DiskConfiguration>
                <Disk wcm:action="add">
                    <DiskID>0</DiskID>
                    <WillWipeDisk>false</WillWipeDisk>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Active>true</Active>
                            <Format>NTFS</Format>
                            <Label>System</Label>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                    </ModifyPartitions>
                </Disk>
                <WillShowUI>OnError</WillShowUI>
            </DiskConfiguration>

Please advice
 

My Computer My Computer

At a glance

Windows 7 32bit
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 32bit
I am using WSIM.
 

My Computer My Computer

At a glance

Windows 7 32bit
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 32bit
Back
Top