WDS - W7 - Unattend.xml - Still Prompting For Language Despite Settings

  • Thread starter Thread starter Sparky__H
  • Start date Start date

Sparky__H

S

Sparky__H

Hi Guys

I'm having a problem with the second answer file that WDS passes alone with install.wim. Basically despite setting language options to en-GB it STILL prompts with the language selection UI during the OOBE Pass.

Can anyone shed some light on this?

Code:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <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>
                <NetworkLocation>Home</NetworkLocation>
                <ProtectYourPC>3</ProtectYourPC>
                <HideEULAPage>true</HideEULAPage>
            </OOBE>
            <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
                            <PlainText>false</PlainText>
                        </Password>
                        <Description>Administrator Account</Description>
                        <DisplayName>Administrator</DisplayName>
                        <Group>Administrators</Group>
                        <Name>Admin</Name>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
            <RegisteredOwner />
            <RegisteredOrganization />
            <TimeZone>GMT Standard Time</TimeZone>
        </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">
            <TimeZone>GMT Standard Time</TimeZone>
            <ComputerName>COMPUTERNAME</ComputerName>
            <RegisteredOrganization />
            <RegisteredOwner />
            <ProductKey>PRODUCTKEY</ProductKey>
            <AutoLogon>
                <Enabled>true</Enabled>
                <Domain>DOMAIN</Domain>
                <Username>USERNAME</Username>
                <Password>
                    <Value>PASSWORD</Value>
                    <PlainText>false</PlainText>
                </Password>
            </AutoLogon>
        </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">
            <UILanguage>en-US</UILanguage>
            <UILanguageFallback>en-US</UILanguageFallback>
            <InputLocale>en-GB</InputLocale>
            <SystemLocale>en-GB</SystemLocale>
            <UserLocale>en-GB</UserLocale>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:d:/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

I can't see what is missing/wrong...


Cheers
 
I had this problem originally, this is what my working one looks like

Code:
  <?xml version="1.0" encoding="utf-8" ?> 
- <unattend xmlns="urn:schemas-microsoft-com:unattend">
- <settings pass="specialize">
- <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">
- <RunSynchronous>
- <RunSynchronousCommand wcm:action="add">
  <Order>1</Order> 
  <Path>net user administrator /active:yes</Path> 
  </RunSynchronousCommand>
  </RunSynchronous>
  </component>
- <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">
  <TimeZone>GMT Standard Time</TimeZone> 
  </component>
  </settings>
- <settings pass="oobeSystem">
- <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">
  <SystemLocale>en-GB</SystemLocale> 
  <UILanguage>en-GB</UILanguage> 
  <UserLocale>en-GB</UserLocale> 
  <InputLocale>2057:00000809</InputLocale> 
  </component>
- <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">
- <AutoLogon>
- <Password>
  <Value>UgAwAGEAZAByAGEAZwAzAFAAYQBzAHMAdwBvAHIAZAA=</Value> 
  <PlainText>false</PlainText> 
  </Password>
  <Enabled>true</Enabled> 
  <LogonCount>2</LogonCount> 
  <Username>administrator</Username> 
  </AutoLogon>
- <OOBE>
  <HideEULAPage>true</HideEULAPage> 
  <NetworkLocation>Work</NetworkLocation> 
  <ProtectYourPC>1</ProtectYourPC> 
  </OOBE>
- <UserAccounts>
- <AdministratorPassword>
  <Value>PASSWORDVALUE</Value> 
  <PlainText>false</PlainText> 
  </AdministratorPassword>
- <LocalAccounts>
- <LocalAccount wcm:action="add">
- <Password>
  <Value>PASSWORDVALUE</Value> 
  <PlainText>false</PlainText> 
  </Password>
  <Description>Local Administrator</Description> 
  <DisplayName>Administrator</DisplayName> 
  <Group>Administrators</Group> 
  <Name>Administrator</Name> 
  </LocalAccount>
  </LocalAccounts>
  </UserAccounts>
  <RegisteredOrganization>YOURNAME</RegisteredOrganization> 
  <RegisteredOwner>YOURNAME</RegisteredOwner> 
  </component>
  </settings>
  </unattend>

removed the password and registered owner values, my problem was originally to do with the location of where it was

EDIT: oh ffs why did the indentation disapear

The above should: ask for NOTHING more than the PC name, enable the local administrator account and set the password as well as all the obvious settings you can see, if you add the computer name section to it, then it should be completely automated

Just for good measure this is my WDS xml file as well:
Code:
  <?xml version="1.0" ?> 
- <unattend xmlns="urn:schemas-microsoft-com:unattend">
- <settings pass="windowsPE">
- <component name="Microsoft-Windows-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
- <WindowsDeploymentServices>
- <Login>
  <WillShowUI>OnError</WillShowUI> 
- <Credentials>
  <Username>administrator</Username> 
  <Domain>YOURDOMAIN</Domain> 
  <Password>PASSWORD</Password> 
  </Credentials>
  </Login>
- <ImageSelection>
  <WillShowUI>OnError</WillShowUI> 
- <InstallTo>
  <DiskID>0</DiskID> 
  <PartitionID>1</PartitionID> 
  </InstallTo>
  </ImageSelection>
  </WindowsDeploymentServices>
- <DiskConfiguration>
  <WillShowUI>OnError</WillShowUI> 
- <Disk>
  <DiskID>0</DiskID> 
- <CreatePartitions>
- <CreatePartition>
  <Extend>true</Extend> 
  <Order>1</Order> 
  <Type>Primary</Type> 
  </CreatePartition>
  </CreatePartitions>
  <WillWipeDisk>True</WillWipeDisk> 
- <ModifyPartitions>
- <ModifyPartition>
  <Order>1</Order> 
  <PartitionID>1</PartitionID> 
  <Letter>C</Letter> 
  <Label>YOURLABEL</Label> 
  <Format>NTFS</Format> 
  <Active>true</Active> 
  <Extend>false</Extend> 
  </ModifyPartition>
  </ModifyPartitions>
  </Disk>
  </DiskConfiguration>
  </component>
- <component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
- <SetupUILanguage>
  <WillShowUI>OnError</WillShowUI> 
  <UILanguage>en-gb</UILanguage> 
  </SetupUILanguage>
  <UILanguage>en-gb</UILanguage> 
  </component>
  </settings>
  </unattend>

Though obviously the ui language bit in that one doesn't work, not that it matters. Those 2 files combined means once i press F12 to network boot i need only press enter once when it pops up to ask me which image to install, then i can come back and set the name when it's done
 
Last edited:
I don't know about 7, but i know with 2008 i was having issues, and it turned out the setting
<UILanguage>en-US</UILanguage> but be en-US not en-GB.
 
Cheers MrB worked a treat

oddjob62 - Yeah that's a known issue

Seems it might be to do with the login information. Without it regardless the language option UI prompts.
 
Oh great now I have another problem.

The Hyper-v clients I'm using WDS to deploy are finding the server, authenticating properly, and applying the correct images. They are being added to AD and the GUID is being stored. The first time...

Delete the computer from the Computer group and the VM just hangs at DHCP stage when trying it for a second time.

Joy happy fun time.

IGNORE!! - Right it's late and I'm tired. Seems that even though I deleted them using the MMC snap-in that wasn't enough. Had to delete them from the approved auto-add device list via CMD.

*sigh*
 
Last edited by a moderator:
Back
Top Bottom