+ Post New Thread
Results 1 to 8 of 8
Windows 7 Thread, 32 bit unattend.xml being used by 64 bit image - oops in Technical; I've just realized that we've been using our unattend.xml file that was written for our 32 bit windows 7 roll ...
  1. #1
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,286
    Thank Post
    80
    Thanked 45 Times in 31 Posts
    Rep Power
    30

    32 bit unattend.xml being used by 64 bit image - oops

    I've just realized that we've been using our unattend.xml file that was written for our 32 bit windows 7 roll outs with our new windows 7 64 bit roll out.

    I've not noticed any issues however....

    Our procedure is :
    Create the windows 7 64 bit base image.
    Start the PC in Audit mode using sysprep
    Generalize the PC using the command line : : sysprep /generalize /oobe /shutdown /unattend:c:\windows\system32\sysprep\unattend.xml

    Where unattend.xml contains the following:

    <?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-gb</UILanguage>
    </SetupUILanguage>
    </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">
    <UserData>
    <ProductKey>
    <WillShowUI>Never</WillShowUI>
    </ProductKey>
    <AcceptEula>true</AcceptEula>
    <Organization>School Name</Organization>
    </UserData>
    </component>
    </settings>
    <settings pass="oobeSystem">
    <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">
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <NetworkLocation>Work</NetworkLocation>
    <ProtectYourPC>2</ProtectYourPC>
    </OOBE>
    <UserAccounts>
    <AdministratorPassword>
    <Value>bAA0ADIANAA0ADcAMgA4AEEAZABtAGkAbgBpAHMAdAB yAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
    <PlainText>false</PlainText>
    </AdministratorPassword>
    <LocalAccounts>
    <LocalAccount>
    <Password>
    <Value>bAA0ADIANAA0ADcAMgA4AFAAYQBzAHMAdwBvAHIAZAA =</Value>
    <PlainText>false</PlainText>
    </Password>
    <Description>initial user</Description>
    <DisplayName>school user</DisplayName>
    <Group>Administrators;Users;</Group>
    <Name>school name</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    <RegisteredOwner>school name</RegisteredOwner>
    <RegisteredOrganization>school name</RegisteredOrganization>
    <ShowWindowsLive>false</ShowWindowsLive>
    <TimeZone>GMT Standard Time</TimeZone>
    <FirstLogonCommands>
    <SynchronousCommand wcm:action="add">
    <Order>1</Order>
    <CommandLine>cmd /c del c:\windows\panther\unattend.xml</CommandLine>
    </SynchronousCommand>
    </FirstLogonCommands>
    </component>
    </settings>
    <cpifflineImage cpi:source="wim:d:/sources/install.wim#Windows 7 Professional" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>


    As it's a pretty simple unatten.xml do you think I will be OK? or do I need a separate one for windows 7 64 bit?

    Regards

  2. #2


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,506
    Thank Post
    227
    Thanked 848 Times in 727 Posts
    Rep Power
    287
    Wont work iirc as bits way x86 or amd64 infront of them they dont match so it skips them. It wont fail but iirc gives same results as no sysprep file

  3. #3


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,710
    Thank Post
    220
    Thanked 2,615 Times in 1,926 Posts
    Rep Power
    777
    As Sted said, you need to replace x86 with amd64 for it to work on 64-bit Windows 7. e.g.

    Code:
    <?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="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-GB</InputLocale>
          <SystemLocale>en-GB</SystemLocale>
          <UserLocale>en-GB</UserLocale>
          <UILanguage>en-US</UILanguage>
        </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">
          <UserData>
            <ProductKey>
              <WillShowUI>Never</WillShowUI>
            </ProductKey>
            <AcceptEula>true</AcceptEula>
            <Organization>School Name</Organization>
          </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">
          <OOBE>
            <HideEULAPage>true</HideEULAPage>
            <NetworkLocation>Work</NetworkLocation>
            <ProtectYourPC>2</ProtectYourPC>
          </OOBE>
          <UserAccounts>
            <AdministratorPassword>
              <Value>bAA0ADIANAA0ADcAMgA4AEEAZABtAGkAbgBpAHMAdAB yAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
              <PlainText>false</PlainText>
            </AdministratorPassword>
            <LocalAccounts>
              <LocalAccount>
                <Password>
                  <Value>bAA0ADIANAA0ADcAMgA4AFAAYQBzAHMAdwBvAHIAZAA =</Value>
                  <PlainText>false</PlainText>
                </Password>
                <Description>initial user</Description>
                <DisplayName>school user</DisplayName>
                <Group>Administrators;Users;</Group>
                <Name>School Name</Name>
              </LocalAccount>
            </LocalAccounts>
          </UserAccounts>
          <RegisteredOwner>School Name</RegisteredOwner>
          <RegisteredOrganization>school name</RegisteredOrganization>
          <ShowWindowsLive>false</ShowWindowsLive>
          <TimeZone>GMT Standard Time</TimeZone>
          <FirstLogonCommands>
            <SynchronousCommand wcm:action="add">
              <Order>1</Order>
              <CommandLine>cmd /c del c:\windows\panther\unattend.xml</CommandLine>
            </SynchronousCommand>
          </FirstLogonCommands>
        </component>
      </settings>
      <cpifflineImage cpi:source="wim:d:/sources/install.wim#Windows 7 Professional" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    Also, UILanguage has to be en-US, not en-GB.

  4. Thanks to Arthur from:

    NikChillin (3rd July 2012)

  5. #4
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,286
    Thank Post
    80
    Thanked 45 Times in 31 Posts
    Rep Power
    30
    Why does language have to be <UILanguage>en-US</UILanguage>

    ??

  6. #5

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,241
    Thank Post
    239
    Thanked 1,567 Times in 1,249 Posts
    Rep Power
    339
    Quote Originally Posted by kennysarmy View Post
    Why does language have to be <UILanguage>en-US</UILanguage>

    ??
    As there's no en-GB GUI only en-US as Microsoft are lazy! The best example I can think of are Favorites and Synchronize, but I think most users do not notice.

  7. #6
    NikChillin's Avatar
    Join Date
    Nov 2007
    Location
    on the sofa
    Posts
    928
    Thank Post
    59
    Thanked 122 Times in 86 Posts
    Rep Power
    85
    Thought I got mine sorted as the display went skewey each time I sysprepped, took the display configuration out and.... totally screwed now..

  8. #7


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,506
    Thank Post
    227
    Thanked 848 Times in 727 Posts
    Rep Power
    287
    if it helps heres my x64 all it does is set to uk, homepage to google and NOT remove drivers

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="generalize">
            <component name="Microsoft-Windows-PnpSysprep" 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">
                <DoNotCleanUpNonPresentDevices>true</DoNotCleanUpNonPresentDevices>
                <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
            </component>
        </settings>
        <settings pass="specialize">
            <component name="Microsoft-Windows-IE-InternetExplorer" 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">
                <DisableFirstRunWizard>true</DisableFirstRunWizard>
                <DisableAccelerators>true</DisableAccelerators>
                <Home_Page>http://www.google.co.uk</Home_Page>
            </component>
            <component name="Microsoft-Windows-International-Core" 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>0809:00000809</InputLocale>
                <SystemLocale>en-GB</SystemLocale>
                <UserLocale>en-GB</UserLocale>
                <UILanguage>en-GB</UILanguage>
                <UILanguageFallback>en-GB</UILanguageFallback>
            </component>
            <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">
                <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
                <RegisteredOrganization>A N Other school</RegisteredOrganization>
                <RegisteredOwner>A N Other school</RegisteredOwner>
                <TimeZone>GMT Standard Time</TimeZone>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="catalog:l:/sources/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

  9. Thanks to sted from:

    NikChillin (6th July 2012)

  10. #8
    NikChillin's Avatar
    Join Date
    Nov 2007
    Location
    on the sofa
    Posts
    928
    Thank Post
    59
    Thanked 122 Times in 86 Posts
    Rep Power
    85
    Great, I will give it another go.

SHARE:
+ Post New Thread

Similar Threads

  1. 64 bit RAWS for Veritas BE 9.1
    By Alis_Klar in forum Windows
    Replies: 2
    Last Post: 3rd March 2010, 06:41 PM
  2. Win 2003 32-bit > Win 2008 R2 64-bit
    By Chuckster in forum Windows Server 2008 R2
    Replies: 10
    Last Post: 18th February 2010, 04:47 PM
  3. Win 7 - 32 or 64 Bit
    By Paid_Peanuts in forum Windows 7
    Replies: 11
    Last Post: 7th August 2009, 05:37 PM
  4. Installing 32 bit apps on 64 bit server
    By Number6 in forum Windows Server 2008
    Replies: 10
    Last Post: 27th July 2009, 01:05 PM
  5. Replies: 23
    Last Post: 6th February 2006, 03:05 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •