none
Autounattend file not working in Win 7

    Question

  • I'm trying to install Windows 7 SP 1 Enterprise 64 bit from a flash drive with a autounattend.xml file but it's not working.   I know that Setup is reading the Autounattend file because at one point I was having a problem with the product key being invalid then I learned that our Volume Activation MAK had to handled differently than other keys.   Now it's stopping at the dialog that asks for, Language to install, Time and currency format and Keyboard or input method.  I've tried rebuilding the xml file several times but to no avail.

    Perhaps because I'm trying to install a 64 bit OS I have to use the AMD componten entries from the WSIM?

    My autounattend.xml is below.

    Thanks for any and all comments.

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-Deployment" 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">
                <Reseal>
                    <Mode>Audit</Mode>
                </Reseal>
            </component>
            <component name="Microsoft-Windows-International-Core" 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">
                <InputLocale>en-CA</InputLocale>
                <SystemLocale>en-CA</SystemLocale>
                <UILanguage>en-CA</UILanguage>
                <UILanguageFallback>en-US</UILanguageFallback>
                <UserLocale>en-CA</UserLocale>
            </component>
        </settings>
        <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-CA</UILanguage>
                </SetupUILanguage>
                <InputLocale>en-CA</InputLocale>
                <SystemLocale>en-CA</SystemLocale>
                <UILanguage>en-CA</UILanguage>
                <UserLocale>en-CA</UserLocale>
                <UILanguageFallback>en-US</UILanguageFallback>
            </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">
                                <Order>1</Order>
                                <Type>Primary</Type>
                            </CreatePartition>
                        </CreatePartitions>
                        <ModifyPartitions>
                            <ModifyPartition wcm:action="add">
                                <Active>true</Active>
                                <Format>NTFS</Format>
                                <Label>System</Label>
                                <Order>1</Order>
                                <PartitionID>1</PartitionID>
                            </ModifyPartition>
                        </ModifyPartitions>
                        <DiskID>0</DiskID>
                        <WillWipeDisk>true</WillWipeDisk>
                    </Disk>
                    <WillShowUI>OnError</WillShowUI>
                </DiskConfiguration>
                <ImageInstall>
                    <OSImage>
                        <InstallTo>
                            <DiskID>0</DiskID>
                            <PartitionID>1</PartitionID>
                        </InstallTo>
                        <InstallToAvailablePartition>false</InstallToAvailablePartition>
                        <WillShowUI>OnError</WillShowUI>
                    </OSImage>
                </ImageInstall>
                <UserData>
                    <AcceptEula>true</AcceptEula>
                    <Organization>Mine</Organization>
                </UserData>
            </component>
            <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-ca</UILanguage>
                </SetupUILanguage>
                <InputLocale>en-ca</InputLocale>
                <SystemLocale>en-ca</SystemLocale>
                <UILanguage>en-ca</UILanguage>
                <UserLocale>en-ca</UserLocale>
            </component>
        </settings>
        <settings pass="specialize">
            <component name="Microsoft-Windows-Shell-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">
                <DoNotCleanTaskBar>false</DoNotCleanTaskBar>
                <ProductKey>Valid MAK</ProductKey>
                <RegisteredOrganization>mine</RegisteredOrganization>
                <RegisteredOwner>User</RegisteredOwner>
                <ShowWindowsLive>false</ShowWindowsLive>
                <TimeZone>Pacific Standard Time</TimeZone>
            </component>
            <component name="Microsoft-Windows-International-Core" 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">
                <InputLocale>en-CA</InputLocale>
                <SystemLocale>en-CA</SystemLocale>
                <UILanguage>en-CA</UILanguage>
                <UserLocale>en-CA</UserLocale>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="catalog://xxxxx/source/win7source/win7 sp1 64bit/sources/install_windows 7 enterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    Thursday, November 01, 2012 3:27 PM

Answers

  • Hi,


    Based on my research, please try the following and see how it works.


    1. Validate the answer file.


    1) In Windows SIM, click Tools, and then click Validate Answer File.

    The setting values in the answer file are compared with the available settings in the Windows image.

    2) If the answer file validates successfully, a “success” message appears in the Messages pane. Otherwise, error messages appear in the same location.

    3) If an error occurs, double-click the error in the Messages pane to navigate to the incorrect setting. Change the setting to fix the error, and then revalidate.


    2. Run the following command to explicitly specify the answer file:

    setup.exe /unattend:filename

    More information:

    Walkthrough: Build an Answer File for BIOS-based Computers

    Methods for Running Windows Setup

    Best Practices for Authoring Answer Files


    Hope this helps.


    Jeremy Wu

    TechNet Community Support

    Tuesday, November 06, 2012 3:23 AM
    Moderator