Jump to content

Win7 Unattendend Stops at Disk Configuration Step


Recommended Posts

Hi,

My Win7 unattended.xml file works well for the most part but stops and prompts for partition info. I just want the drive to be wiped, formatted and for the install to just continue on it's way. Equally important, I don't want the 200mb "system" partition to be created in additon to the main Windows partion. I just want a single partition and the standard "C" drive

I have a working Vista unattended.xml that wipes the main drive and compared the code to this Win7 one and the it is basically identical, so I can't tell what the problem is. Can someone please look at this code and give me some advice.

What do I need to modify?

(Please let me know if you need to see more of the file then what I have pasted below.)

Thanks!!

brian

<?xml version="1.0" encoding="utf-8"?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<settings pass="windowsPE">

<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<SetupUILanguage>

<UILanguage>en-us</UILanguage>

</SetupUILanguage>

<InputLocale>en-us</InputLocale>

<SystemLocale>en-us</SystemLocale>

<UILanguage>en-us</UILanguage>

<UserLocale>en-us</UserLocale>

</component>

<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<DiskConfiguration>

<Disk wcm:action="add">

<CreatePartitions>

<CreatePartition wcm:action="add">

<Extend>true</Extend>

<Order>1</Order>

<Type>Primary</Type>

</CreatePartition>

</CreatePartitions>

<ModifyPartitions>

<ModifyPartition wcm:action="add">

<Active>true</Active>

<Format>NTFS</Format>

<Letter>C</Letter>

<Order>1</Order>

<PartitionID>1</PartitionID>

</ModifyPartition>

</ModifyPartitions>

<DiskID>0</DiskID>

<WillWipeDisk>true</WillWipeDisk>

</Disk>

<WillShowUI>Never</WillShowUI>

</DiskConfiguration>

<DynamicUpdate>

<WillShowUI>Never</WillShowUI>

</DynamicUpdate>

<ImageInstall>

<OSImage>

<InstallTo>

<PartitionID>1</PartitionID>

<DiskID>0</DiskID>

</InstallTo>

<WillShowUI>OnError</WillShowUI>

</OSImage>

</ImageInstall>

Link to comment
Share on other sites


Thanks for the response.

The xml validates without errors when I run it through the waik. Right now I burn to DVDs and test on physical hardware. HP workstation models (xw6600, 4600). Have also tested the .iso with VMware workstation on an xw6400. Am only using the DVD method because I couldn't get a USB drive to boot.

I always use fresh source files before I burn the DVD with a modified xml file.

So oyur code is the same basically? And yours goes straight through and just wipes the drive? Frustrating!

thanks!

Link to comment
Share on other sites

Hi,

I realized a major no-no. I'm trying to buil and answer file for Win7x64 and was using the x64 architecture (duh!). Well, I've rebuilt my answer file and now I get the error

"windows cannot parse the unattended answer files <DiskConfiguration> setting".

I'm glad I'm at least on the right track now :-)

I'll paste the code of my disk configuration section below. Would it help it I upload my entire autounattend.xml file like you did? Can I just use your unattended file in my WAIK and tweak the settings? Sorry for the rookie questions? thanks!

brian

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<settings pass="windowsPE">

<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<SetupUILanguage>

<UILanguage>en-us</UILanguage>

</SetupUILanguage>

<InputLocale>en-us</InputLocale>

<SystemLocale>en-us</SystemLocale>

<UILanguage>en-us</UILanguage>

<UserLocale>en-us</UserLocale>

</component>

<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<DiskConfiguration>

<WillShowUI>OnError</WillShowUI>

<Disk wcm:action="add">

<CreatePartitions>

<CreatePartition wcm:action="add">

<Extend>true</Extend>

<Order>1</Order>

<Type>Primary</Type>

</CreatePartition>

</CreatePartitions>

<ModifyPartitions>

<ModifyPartition wcm:action="add">

<Active>true</Active>

<Format>NTFS</Format>

<Letter>C</Letter>

<PartitionID>1</PartitionID>

<TypeID></TypeID>

<Order>1</Order>

</ModifyPartition>

</ModifyPartitions>

<DiskID>0</DiskID>

<WillWipeDisk>true</WillWipeDisk>

</Disk>

</DiskConfiguration>

<EnableFirewall>false</EnableFirewall>

<ImageInstall>

<OSImage>

<InstallTo>

<DiskID>0</DiskID>

<PartitionID>1</PartitionID>

</InstallTo>

<WillShowUI>OnError</WillShowUI>

</OSImage>

</ImageInstall>

<UserData>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...