Answer file not working correctly on new computers


  1. Posts : 5
    Windows 7 32 Bit
       #1

    Answer file not working correctly on new computers


    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


  2. Posts : 225
    Windows 7 Pro x64
       #2

    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


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:38.
Find Us