Jump to content

AutoUnattend.xml issue


Recommended Posts

Hi All,

Firstly I would like to thank this forum for the wealth of information it has given me. I have been working with Se7en_UA and RT7 Lite to make a customised Windows 7 installation for my system at home.

Things have gone great and I now have a nicely stripped out Windows 7 install which works fine, but I am having an issue. I have set region and locale in my AutoUnattend.xml file for the United Kingdom, but unfortunately once installed it seems to have ignored my preferences and sets everything up as United States, which contradicts what I have in my AutoUnattend.xml file.

Does anyone have any pointers as to what I could be doing wrong.

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing>
<package action="configure">
<assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.1.7600.16385" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="" />
<selection name="InboxGames" state="false" />
</package>
</servicing>
<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>
<InputLocale>0809:00000809</InputLocale>
<SystemLocale>en-GB</SystemLocale>
<UILanguage>en-GB</UILanguage>
<UserLocale>en-GB</UserLocale>
<UILanguageFallback>en-GB</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">
<ComplianceCheck>
<DisplayReport>Never</DisplayReport>
</ComplianceCheck>
<Diagnostics>
<OptIn>false</OptIn>
</Diagnostics>
<DiskConfiguration>
<WillShowUI>Always</WillShowUI>
</DiskConfiguration>

I have searched here and tried a couple of suggestions but none of them have changed the way it is behaving. Any help would be appreciated.

Link to comment
Share on other sites


Hello!

You can delete those values because they aren't correct:


<servicing>
<package action="configure">
<assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.1.7600.16385" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="" />
<selection name="InboxGames" state="false" />
</package>
</servicing>

You can also use WSIM include inside WAIK for Windows 7 to check if your "Autounattend.xml" file is valid!

You can learn useful informations here:

Windows 7 Deployment Documentation

*Edit:

If you want you can use Se7en_UA or RT Se7en Lite to manage features:

How to remove components from windows 7 using RT 7 Lite?

Edited by myselfidem
Link to comment
Share on other sites

Hi All,

Firstly I would like to thank this forum for the wealth of information it has given me. I have been working with Se7en_UA and RT7 Lite to make a customised Windows 7 installation for my system at home.

Things have gone great and I now have a nicely stripped out Windows 7 install which works fine, but I am having an issue. I have set region and locale in my AutoUnattend.xml file for the United Kingdom, but unfortunately once installed it seems to have ignored my preferences and sets everything up as United States, which contradicts what I have in my AutoUnattend.xml file.

Does anyone have any pointers as to what I could be doing wrong.

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing>
<package action="configure">
<assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.1.7600.16385" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="" />
<selection name="InboxGames" state="false" />
</package>
</servicing>
<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>
<InputLocale>0809:00000809</InputLocale>
<SystemLocale>en-GB</SystemLocale>
<UILanguage>en-GB</UILanguage>
<UserLocale>en-GB</UserLocale>
<UILanguageFallback>en-GB</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">
<ComplianceCheck>
<DisplayReport>Never</DisplayReport>
</ComplianceCheck>
<Diagnostics>
<OptIn>false</OptIn>
</Diagnostics>
<DiskConfiguration>
<WillShowUI>Always</WillShowUI>
</DiskConfiguration>

I have searched here and tried a couple of suggestions but none of them have changed the way it is behaving. Any help would be appreciated.

You have only set region and locale for windows PE pass you need to add settings to oobe also.

   <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">
<InputLocale>0809:00000809</InputLocale>
<SystemLocale>en-UK</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-UK</UserLocale>
</component>

Link to comment
Share on other sites

Hello!

You can delete those values because they aren't correct:


<servicing>
<package action="configure">
<assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.1.7600.16385" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="" />
<selection name="InboxGames" state="false" />
</package>
</servicing>

You can also use WSIM include inside WAIK for Windows 7 to check if your "Autounattend.xml" file is valid!

You can learn useful informations here:

Windows 7 Deployment Documentation

*Edit:

If you want you can use Se7en_UA or RT Se7en Lite to manage features:

How to remove components from windows 7 using RT 7 Lite?

Hi, thanks for the info, I have removed that section and it has not affected the install, which is good. I made the AutoUnattend.xml with Se7en_UA in the first place.

Don't know what it is but despite trying options listed here it still remains american, I have checked the file with WISM and all locale/region settings appear to be correct, but it just wont work. I can manually change everything to UK after the install but it does sort of defeat the object of having it automated lol.

Edited by Liquid4653
Link to comment
Share on other sites

Hi All,

Firstly I would like to thank this forum for the wealth of information it has given me. I have been working with Se7en_UA and RT7 Lite to make a customised Windows 7 installation for my system at home.

Things have gone great and I now have a nicely stripped out Windows 7 install which works fine, but I am having an issue. I have set region and locale in my AutoUnattend.xml file for the United Kingdom, but unfortunately once installed it seems to have ignored my preferences and sets everything up as United States, which contradicts what I have in my AutoUnattend.xml file.

Does anyone have any pointers as to what I could be doing wrong.

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing>
<package action="configure">
<assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.1.7600.16385" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="" />
<selection name="InboxGames" state="false" />
</package>
</servicing>
<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>
<InputLocale>0809:00000809</InputLocale>
<SystemLocale>en-GB</SystemLocale>
<UILanguage>en-GB</UILanguage>
<UserLocale>en-GB</UserLocale>
<UILanguageFallback>en-GB</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">
<ComplianceCheck>
<DisplayReport>Never</DisplayReport>
</ComplianceCheck>
<Diagnostics>
<OptIn>false</OptIn>
</Diagnostics>
<DiskConfiguration>
<WillShowUI>Always</WillShowUI>
</DiskConfiguration>

I have searched here and tried a couple of suggestions but none of them have changed the way it is behaving. Any help would be appreciated.

You have only set region and locale for windows PE pass you need to add settings to oobe also.

   <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">
<InputLocale>0809:00000809</InputLocale>
<SystemLocale>en-UK</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-UK</UserLocale>
</component>

I have only included a snippet of my AutoUnattend.xml file, the oobe section already contains the UK setup as well.

Edited by Liquid4653
Link to comment
Share on other sites

Hi again,

Well despite trying everything it's still not working. I am wondering if it's because I am testing my install in VMWare all the time. I have decided to implement it another way and now it is working fine.

So for anyone wanting to have a UK based localisation in their install, use the following registry script to change all necessary areas:-

indows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\International]
"Locale"="00000809"
"LocaleName"="en-GB"
"sCountry"="United Kingdom"
"sCurrency"="£"
"sLanguage"="ENG"
"iCountry"="44"

[HKEY_CURRENT_USER\Control Panel\International\Geo]
"Nation"="242"

[HKEY_USERS\.DEFAULT\Keyboard Layout\Preload]
"1"="00000809"

[HKEY_CURRENT_USER\Keyboard Layout\Preload]
"1"="00000809"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Language]
"InstallLanguage"="0809"
"Default"="0809"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Locale]
@="00000809"
"(Default)"="00000809"

There are many ways to incorporate this into your install but bear in mind that some of these registry changes can only be done after the user part of the install is completed.

It does work a treat though.

Link to comment
Share on other sites

Thanks for your sharing Liquid4653 !

And how are the values inside your Autounattend.xml part?

Hi,

Sadly my skills in this particular area are limited and I have avoided putting it in the Autounattend.xml because I really am not sure what to do. I have loads of little reg tweaks, so I decided to simply put the reg file on the desktop on installation completion and it has to be manually launched.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...