Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Answer file not working correctly on new computers

02 Jan 2012   #1
mrlaconic

Windows 7 32 Bit
 
 
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 System SpecsSystem Spec
.
02 Jan 2012   #2
mgp1964

Windows 7 Pro x64
 
 

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 System SpecsSystem Spec
Reply

 Answer file not working correctly on new computers




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
The Unattend answer file contains an invalid product key
I am responsible for building, updating, converting, building a sysprepped Windows 7 Pro master and deploy it on my company's computers. The final result is a build that includes full recovery capability, as most of these computers are used outside the office, some in remote locations. To...
Software
WDS Unattend.xml answer file help needed
I have been trying to transition over to using WDS for my main method of Windows 7 image deployment in our Server 2008 R2 domain environment. I am having trouble with getting the answer file to work properly. I have read through multiple threads, posts, and guides including the guide on this site ...
Installation & Setup
Sysprep answer file
I have been reading a lot about imaging lately and I am starting to get it down. Somewhere in my searches I thought I read something about a program that will pull your system configuration and settings for you and create a sysprep answer file from it. I have read so much in the last few days...
Installation & Setup
Windows 7 Answer File Error Messages
When I try to save my Answer File that I've created for my Windows 7 PC I press on Tools and then on Validate Answer File, it give me in the sector Validation a lot of errors. In my book (MCTS 70 - 680), they say that I need to change my settings. Now is my question: How and which settings do I...
Performance & Maintenance
Windows cannot parse the unattend answer file's <DiskConfiguration>...
Hi there. I'm trying to do a clean install of Windows 7 Ultimate on a Sony Vaio AR41s via a DVD that I burned (slowest speed, was very careful about that) but upon starting the installation I get the error message: Windows cannot parse the unattend answer file's <DiskConfiguration> setting ...
Installation & Setup
Windows could not apply the unattend answer file's
I am getting this error when I am install Windows 7: Windows could not format a partition on disk 0 - error code 0x80004005 during a new install of Windows 7. I have tried both Home Premium x64 and Enterprise x64. Both falling into the same error: I've removed all partition using gparted,...
Installation & Setup


Our Sites

Site Links

About Us

Find 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 14:50.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App