Click to Rate and Give Feedback
TechNet
TechNet Library
Windows
Windows Vista
Deployment
Components
DiskConfiguration
Disk
 WillWipeDisk
WillWipeDisk

WillWipeDisk specifies whether to erase all partitions on the hard disk before adding additional configurations to the disk.

WillWipeDisk is blocked in Windows PE if any of the following conditions are true:

  • Windows Setup binaries are running from the disk in question.
  • The currently running operating system is booted (but not RAM-drive booted) from the disk in question.
  • There is an active page file on the disk in question.

Values

 

true

Specifies that the disk is erased.

false

Specifies that the disk is not erased.

Valid Passes

Parent Hierarchy

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Setup.

XML Example

The following XML output for the DiskConfiguration setting shows how to erase all partitions on a hard disk before creating three new partitions on a hard drive.

<DiskConfiguration>
     <WillShowUI>OnError</WillShowUI>
     <Disk>
          <DiskID>0</DiskID>
          <WillWipeDisk>true</WillWipeDisk>
          <CreatePartitions>
               <CreatePartition>
<!-- Create primary partition, 20 GB -->
                    <Order>1</Order>
                    <Type>Primary</Type>
                    <Size>20000</Size>
               </CreatePartition>
<!-- Create extended partition and fill the rest of the hard disk -->
               <CreatePartition>
                    <Order>2</Order>
                    <Type>Extended</Type>
                    <Extend>true</Extend>
               </CreatePartition>
<!-- Create logical partition within the extended partition, 6 GB -->
               <CreatePartition>
                    <Order>3</Order>
                    <Type>Logical</Type>
                    <Size>6000</Size>
               </CreatePartition>
          </CreatePartitions>
     </Disk>
</DiskConfiguration> 

See Also

Concepts

Disk

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker