Answer file not working correctly on new computers

mrlaconic

New member
Local time
6:21 AM
Messages
5
Greetings,

I could use some help / tips with my answer file. The problem I am having is that new computers (direct from manufacturer) are not processing the answer file correctly

I have the file set to delete the partitions and build new ones but it does not do so. What I have to do is manually delete the existing partitions that come loaded and once I have done that I reboot and then my partitions prepare correctly.

How can I make this work so that it deletes and builds the partitions correctly.

Code:
  <DiskConfiguration>
                <Disk wcm:action="add">
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Order>1</Order>
                            <Size>300</Size>
                            <Type>Primary</Type>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">
                            <Extend>true</Extend>
                            <Order>2</Order>
                            <Type>Primary</Type>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="modify">
                            <Active>true</Active>
                            <Format>NTFS</Format>
                            <Label>System</Label>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="modify">
                            <Format>NTFS</Format>
                            <Label>Windows</Label>
                            <Letter>C</Letter>
                            <Order>2</Order>
                            <PartitionID>2</PartitionID>
                            <Active>true</Active>
                        </ModifyPartition>
                    </ModifyPartitions>
                    <WillWipeDisk>true</WillWipeDisk>
                    <DiskID>0</DiskID>
                </Disk>
                <WillShowUI>OnError</WillShowUI>
            </DiskConfiguration>
 

My Computer

Computer Manufacturer/Model Number
Lenovo M58
OS
Windows 7 32 Bit
CPU
Pentium Duo Core
Memory
2GB
Sound Card
SoundMax Integrated Digital HD
The thing with Windows 7 is that it has control of the partition and does not give it up easily. I would suggest adding gparted as a batch file and have it run first to delete all partitions of the new drive, after that your program can then run and partition and format the drive as you want.
 

My Computer

Computer Manufacturer/Model Number
Home build
OS
Windows 7 Pro x64
CPU
AMD FX 4100 4 Core 3.6GHz AM3+
Motherboard
ASROCK 970 Extreme3
Memory
16GB G.Skill RipjawsX
Graphics Card(s)
Radeon 6850
Sound Card
ASUS Xonar D1
Monitor(s) Displays
ASUS 23" LCD
Hard Drives
SSD 120GB
WD 750GB Black series
WD 640GB Black series
PSU
700W
Case
Antec 100
Cooling
Hyper 212 Plus
Internet Speed
50MB
Back
Top