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: cannot partition hdd during usb install using autounattend.xml

10 Mar 2013   #1
GRock84

Windows 7 Home Premium 64-bit
 
 
setup keeps asking for language and kb autounattend.xml

UBER EDIT: Starting over from scratch as it just got too complicated.

Hi, just built a new rig and have been utterly unsuccessful at installing windows on it. My rig has a razer deathadder mouse and deathstalker keyboard so during the windows install process the are not recognized and useless. I found out that I can use the "unattended install" method to circumvent this handicap. However I am running into problem after problem.

Im using the Official Install DVD and a USB with the autounattend.xml at the root. I created the autounattend.xml using RT Seven Lite. When I start it up asks for language and keyboard preference at the collecting information part. Here is my xml:

Code:
<?xml version="1.0" encoding="utf-8"?>
<!--This answer file generated by RT Seven Lite-->
<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>
    </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">
      <ImageInstall>
        <OSImage>
          <InstallFrom>
            <MetaData wcm:action="add">
              <Key>/IMAGE/NAME</Key>
              <value>Windows 7 HOMEPREMIUM</value>
            </MetaData>
          </InstallFrom>
          <InstallToAvailablePartition>false</InstallToAvailablePartition>
          <WillShowUI>OnError</WillShowUI>
        </OSImage>
      </ImageInstall>
      <UserData>
        <ProductKey>
          <Key>XXXXX-XXXXX-74XYM-XXXXX-XXXXX</Key>
          <WillShowUI>OnError</WillShowUI>
        </ProductKey>
        <FullName>Jerald Scott</FullName>
        <AcceptEula>true</AcceptEula>
      </UserData>
    </component>
  </settings>
  <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-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">
      <UserAccounts>
        <LocalAccounts>
          <LocalAccount wcm:action="add">
            <Name>XXXXXX</Name>
            <Group>Administrators</Group>
            <Password>
              <PlainText>true</PlainText>
              <Value>XXXXX</Value>
            </Password>
          </LocalAccount>
        </LocalAccounts>
      </UserAccounts>
      <OOBE>
        <NetworkLocation>Home</NetworkLocation>
        <HideEULAPage>true</HideEULAPage>
        <ProtectYourPC>3</ProtectYourPC>
        <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
        <SkipMachineOOBE>true</SkipMachineOOBE>
        <SkipUserOOBE>true</SkipUserOOBE>
      </OOBE>
      <DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet>
      <TimeZone>Pacific Standard Time</TimeZone>
      <OEMInformation>
        <Manufacturer />
        <SupportHours />
        <SupportPhone />
        <SupportURL />
        <Model />
      </OEMInformation>
    </component>
  </settings>
  <settings pass="specialize">
    <component name="Microsoft-Windows-Shell-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">
      <ComputerName>XXXXXX</ComputerName>
    </component>
    <component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">
      <SkipAutoActivation>true</SkipAutoActivation>
    </component>
  </settings>
</unattend>
what gives?

edit: new xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<!--This answer file generated by RT Seven Lite-->
<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>0409:00000409</InputLocale>
            <SystemLocale>en-US</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UserLocale>en-US</UserLocale>
            <UILanguageFallback>en-US</UILanguageFallback>
        </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>
                <Disk wcm:action="add">
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Order>1</Order>
                            <Size>200</Size>
                            <Type>Primary</Type>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">
                            <Order>2</Order>
                            <Type>Primary</Type>
                            <Extend>true</Extend>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Active>true</Active>
                            <Format>NTFS</Format>
                            <Label>System</Label>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">
                            <Format>NTFS</Format>
                            <Label>Windows</Label>
                            <Order>2</Order>
                            <PartitionID>2</PartitionID>
                        </ModifyPartition>
                    </ModifyPartitions>
                    <DiskID>0</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                </Disk>
            </DiskConfiguration>
            <ImageInstall>
                <OSImage>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>2</PartitionID>
                    </InstallTo>
                    <WillShowUI>OnError</WillShowUI>
                </OSImage>
            </ImageInstall>
      <UserData>
        <ProductKey>
          <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
          <WillShowUI>OnError</WillShowUI>
        </ProductKey>
        <FullName>Jerald Scott</FullName>
        <AcceptEula>true</AcceptEula>
      </UserData>
    </component>
  </settings>
  <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-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">
      <InputLocale>en-US</InputLocale>
      <UserLocale>en-US</UserLocale>
      <UILanguage>en-US</UILanguage>
      <SystemLocale>en-US</SystemLocale>
	  <UserAccounts>
        <LocalAccounts>
          <LocalAccount wcm:action="add">
            <Name>XXXXXXX</Name>
            <Group>Administrators</Group>
            <Password>
              <PlainText>true</PlainText>
              <Value>XXXXXXXX</Value>
            </Password>
          </LocalAccount>
        </LocalAccounts>
      </UserAccounts>
      <OOBE>
        <NetworkLocation>Home</NetworkLocation>
        <HideEULAPage>true</HideEULAPage>
        <ProtectYourPC>3</ProtectYourPC>
        <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
        <SkipMachineOOBE>true</SkipMachineOOBE>
        <SkipUserOOBE>true</SkipUserOOBE>
      </OOBE>
      <DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet>
      <TimeZone>Pacific Standard Time</TimeZone>
      <OEMInformation>
        <Manufacturer />
        <SupportHours />
        <SupportPhone />
        <SupportURL />
        <Model />
      </OEMInformation>
    </component>
  </settings>
  <settings pass="specialize">
    <component name="Microsoft-Windows-Shell-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">
      <InputLocale>en-US</InputLocale>
	  <SystemLocale>en-us</SystemLocale>
	  <UILanguage>en-us</UILanguage>
	  <UserLocale>en-US</UserLocale>
	  <UILanguageFallback>en-US</UILanguageFallback>
	  <ComputerName>XXXXXX</ComputerName>
    </component>
    <component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">
      <SkipAutoActivation>true</SkipAutoActivation>
    </component>
  </settings>
</unattend>
new xml 3:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!--This answer file generated by RT Seven Lite-->
<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>0409:00000409</InputLocale>
            <SystemLocale>en-US</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UserLocale>en-US</UserLocale>
            <UILanguageFallback>en-US</UILanguageFallback>
        </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>
                <Disk wcm:action="add">
	                <DiskID>0</DiskID> 
	                <WillWipeDisk>true</WillWipeDisk> 
	                <CreatePartitions>
		                <CreatePartition wcm:action="add">
			                <Order>1</Order> 
			                <Size>100</Size> 
			                <Type>EFI</Type> 
		                </CreatePartition>
		                <CreatePartition wcm:action="add">
			                <Order>2</Order> 
			                <Type>MSR</Type> 
		                </CreatePartition>
		                </CreatePartition>
		                <CreatePartition wcm:action="add">
			                <Order>3</Order> 
			                <Extend>true</Extend> 
			                <Type>Primary</Type> 
		                </CreatePartition>
	                    </CreatePartitions>
	                    <ModifyPartitions>
		                    <ModifyPartition>
			                    <Order>1</Order>
			                    <PartitionID>1</PartitionID>
			                    <Label>System</Label>
		                    </ModifyPartition>
		                    <ModifyPartition>
			                    <Order>2</Order>
			                    <PartitionID>2</PartitionID>
		                    </ModifyPartition>
		                    <ModifyPartition>
			                    <Order>3</Order>
			                    <PartitionID>3</PartitionID>
			                    <Letter>C</Letter>
			                    <Label>Windows</Label>
			                    <Format>NTFS</Format>
		                    </ModifyPartition>
	                    </ModifyPartitions>
                </Disk>
            </DiskConfiguration>
            <ImageInstall>
                <OSImage>
	                <InstallTo>
		                <DiskID>0</DiskID> 
		                <PartitionID>3</PartitionID> 
	                </InstallTo>
                </OSImage>
            </ImageInstall>
            <UserData>
                <ProductKey>
                    <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
                    <WillShowUI>OnError</WillShowUI>
                </ProductKey>
                <FullName>Jerald Scott</FullName>
                <AcceptEula>true</AcceptEula>
            </UserData>
            </component>
    </settings>
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-Shell-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">
            <InputLocale>0409:00000409</InputLocale>
            <UserLocale>en-US</UserLocale>
            <UILanguage>en-US</UILanguage>
            <SystemLocale>en-US</SystemLocale>
	        <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Name>XXXXXXX</Name>
                        <Group>Administrators</Group>
                        <Password>
                            <PlainText>true</PlainText>
                            <Value>XXXXXXXX</Value>
                        </Password>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
            <OOBE>
                <NetworkLocation>Home</NetworkLocation>
                <HideEULAPage>true</HideEULAPage>
                <ProtectYourPC>3</ProtectYourPC>
                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                <SkipMachineOOBE>true</SkipMachineOOBE>
                <SkipUserOOBE>true</SkipUserOOBE>
            </OOBE>
            <DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet>
            <TimeZone>Pacific Standard Time</TimeZone>
            <OEMInformation>
                <Manufacturer />
                <SupportHours />
                <SupportPhone />
                <SupportURL />
                <Model />
            </OEMInformation>
        </component>
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-Shell-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">
            <InputLocale>0409:00000409</InputLocale>
	        <SystemLocale>en-us</SystemLocale>
	        <UILanguage>en-us</UILanguage>
	        <UserLocale>en-US</UserLocale>
	        <UILanguageFallback>en-US</UILanguageFallback>
	        <ComputerName>XXXXXX</ComputerName>
        </component>
        <component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">
            <SkipAutoActivation>true</SkipAutoActivation>
        </component>
    </settings>
</unattend>



My System SpecsSystem Spec
.

10 Mar 2013   #2
gregrocker
Microsoft MVP

 
 

They can hype a mouse and keyboard by giving them the scariest names but they're pretty useless if they can't install the OS.

I'd use another mouse and keyboard to Clean Install Windows 7.
My System SpecsSystem Spec
10 Mar 2013   #3
theog

Microsoft Community Contributor Award Recipient

ME/XP/Vista/Win7
 
 

As the ga-z77x-ud3h has a uEFI/BIOS firmware.
How to install Windows 64 bit on a uEFI/BIOS firmware:
UEFI (Unified Extensible Firmware Interface) - Install Windows 7 with
My System SpecsSystem Spec
.


10 Mar 2013   #4
VistaKing

Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
 
 

Grock

What error message do you get when you're installing ? I notice in the .xml file it doesn't state where you want Windows to install even thought it says <InstallToAvailablePartition>false</<InstallToAvailablePartition>.
My System SpecsSystem Spec
10 Mar 2013   #5
GRock84

Windows 7 Home Premium 64-bit
 
 

well just now i fixed the language and keyboard prompt, but now im back to the DiskConfiguration error and it is as follows:
"Windows could not set a partition active on disk 0. The target disk, partition, or volume doesnt support the specified operation. The error occurred while applying the unattended answer files <DiskConfiguration> setting. error code 0x80300024."

updated xml is in thread.
My System SpecsSystem Spec
10 Mar 2013   #6
VistaKing

Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
 
 

Are you trying to partition the hard drive ? If so how many ?

Still not showing where you want to install Windows and on what Disk
My System SpecsSystem Spec
10 Mar 2013   #7
gregrocker
Microsoft MVP

 
 

The error means you're not installing in UEFI mode.

Either follow the steps to install to UEFI (Unified Extensible Firmware Interface) - Install Windows 7 with - Windows 7 Forums,

or if you don't want to mess with UEFI now you can Bypass UEFI to Install WIn7 .

To help you decide and learn more about UEFI watch this video: Technical Note: UEFI BIOS vs. Legacy BIOS - YouTube
My System SpecsSystem Spec
10 Mar 2013   #8
GRock84

Windows 7 Home Premium 64-bit
 
 

@Vista King: As of now just 2. I'd really rather just wipe the drive and install just windows to 1 partiotion and get on with it. But, every where seems to suggest allotting for the system reserve. And I thought this -->
Code:
<InstallTo>
    <DiskID>0</DiskID>
    <PartitionID>2</PartitionID>
</InstallTo>
installed it to the preferred partition....? Does it not?

@ gregrocker: Followed your link. I figured I was installing in UEFI mode, cuz when I boot up I select "UEFI ATAPI iHAS D" which is the DVD drive with the windows dvd in it and that starts the DVD. Is that right?
My System SpecsSystem Spec
10 Mar 2013   #9
VistaKing

Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
 
 

With the UEFI . I believe you need 3 partitions for UEFI .

If you want one partition ( disabled UEFI )

<CreatePartition wcm:action="add">
<Order>1</Order>
<Type>Primary</Type>
<Extend>true</Extend>
</CreatePartition>
</CreatePartitions>
-<ModifyPartitions>
-<ModifyPartition wcm:action="modify" >
<Order>1</Order>
<PartitionID>1</PartitionID>
<Format>NTFS</Format>
<Active>true</Active>
<TypeID>0x7</TypeID>
<Extend>False</Extend>

Added : Take a look at this link http://systemscenter.ru/waik.en/html...8e201c1999.htm

Try this

Code:

<DiskConfiguration>
   <Disk wcm:action="add">
	<DiskID>0</DiskID> 
	<WillWipeDisk>true</WillWipeDisk> 
	<CreatePartitions>
		 <CreatePartition wcm:action="add">
			<Order>1</Order> 
			<Size>100</Size> 
			<Type>EFI</Type> 
		 </CreatePartition>
		 <CreatePartition wcm:action="add">
			<Order>2</Order> 
			<Type>MSR</Type> 
		 </CreatePartition>
		 </CreatePartition>
		 <CreatePartition wcm:action="add">
			<Order>3</Order> 
			<Extend>true</Extend> 
			<Type>Primary</Type> 
		 </CreatePartition>
	</CreatePartitions>
	<ModifyPartitions>
		 <ModifyPartition>
			<Order>1</Order>
			<PartitionID>1</PartitionID>
			<Label>System</Label>
		 </ModifyPartition>
		 <ModifyPartition>
			<Order>2</Order>
			<PartitionID>2</PartitionID>
		 </ModifyPartition>
		 <ModifyPartition>
			<Order>3</Order>
			<PartitionID>3</PartitionID>
			<Letter>C</Letter>
			<Label>Windows</Label>
			<Format>NTFS</Format>
		 </ModifyPartition>
	</ModifyPartitions>
   </Disk>
</DiskConfiguration>
<ImageInstall>
   <OSImage>
	<InstallTo>
		 <DiskID>0</DiskID> 
		 <PartitionID>3</PartitionID> 
	</InstallTo>
   </OSImage>
</ImageInstall>
I personally use WINDOWS AIK for Windows 7 SP1 to create the autounattend.xml file

download
My System SpecsSystem Spec
10 Mar 2013   #10
GRock84

Windows 7 Home Premium 64-bit
 
 

popped the script in and gave it a go. never made it to the diskconfig part cuz the language and keyboard part popped up again..... thanks for all your help btw posted the xml in the post

Oh and I finally understood what you were saying about uefi, gregrocker. Thanks and sorry for my ignorance. Totally flew over my head.
My System SpecsSystem Spec
Reply

 cannot partition hdd during usb install using autounattend.xml




Thread Tools





Similar help and support threads
Thread Forum
autounattend.xml error in Windows PE
Hey everyone, i am getting a problem as seen in the jpg, i have reviewed the setting but cant see where i am going wrong, if someone could look over the file and show me where i went wrong, thanks
Installation & Setup
Windows 7 AutoUnattend.xml - User & PC Name
So I've been asked to research Win7 images and the best way to create and deploy them. We don't have MDT 2010 up yet, so I'm stuck using a custom install.wim along w/ the unattend.xml file. Question #1 How can you stop Win7 OOBE welcome screen from making you create a local user account?...
Installation & Setup
Specify catalog in Autounattend.xml?
Deleted
Installation & Setup
Autounattend.xml doesn't work properly
Hi! I'm about to prepare some OEM computers and have made a simple unattend.xml-file with help from the answering file sample from WAIK, but I can't get it to work properly. I have copied the file to the root directory of an USB drive and it seemes like the installation program is reading the...
Installation & Setup
Why Autounattend.xml remove these menu?
Why Autounattend.xml remove these menu? http://www.file.si/files/q73adeaexkh97dox6shd.png How do I change to keep them?
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 00:36.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App