cannot partition hdd during usb install using autounattend.xml

Page 1 of 3 123 LastLast

  1. Posts : 20
    Windows 7 Home Premium 64-bit
       #1

    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>
    Last edited by GRock84; 10 Mar 2013 at 22:41.
      My Computer

  2.    #2

    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 Computer


  3. Posts : 11,408
    ME/XP/Vista/Win7
       #3

    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 Computer


  4. Posts : 6,830
    Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
       #4

    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 Computer


  5. Posts : 20
    Windows 7 Home Premium 64-bit
    Thread Starter
       #5

    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 Computer


  6. Posts : 6,830
    Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
       #6

    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 Computer

  7.    #7

    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 Computer


  8. Posts : 20
    Windows 7 Home Premium 64-bit
    Thread Starter
       #8

    @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 Computer


  9. Posts : 6,830
    Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
       #9

    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

    Last edited by VistaKing; 10 Mar 2013 at 22:23.
      My Computer


  10. Posts : 20
    Windows 7 Home Premium 64-bit
    Thread Starter
       #10

    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.
    Last edited by GRock84; 10 Mar 2013 at 23:14.
      My Computer


 
Page 1 of 3 123 LastLast

  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 16:55.
Find Us