forever0donotknowme

Autounattend.xml assistance

13 posts in this topic

I can not complete following Autounattend.xml to set current system locale(Region and language) as French(france). Also If I want remove password for admin, how I can do that.


<?xml version="1.0" encoding="utf-8" ?>
- <unattend xmlns="urn:schemas-microsoft-com:unattend">
- <settings pass="windowsPE">
- <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>
<AcceptEula>true</AcceptEula>
- <ProductKey>
<Key>7Q28W-FT9PC-CMMYT-WHMY2-89M6G</Key>
<WillShowUI>Always</WillShowUI>
</ProductKey>
</UserData>
</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>
<AcceptEula>true</AcceptEula>
- <ProductKey>
<Key>7Q28W-FT9PC-CMMYT-WHMY2-89M6G</Key>
<WillShowUI>Always</WillShowUI>
</ProductKey>
</UserData>
</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">
<ProductKey>7Q28W-FT9PC-CMMYT-WHMY2-89M6G</ProductKey>
<ComputerName>pchome</ComputerName>
</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">
<ProductKey>7Q28W-FT9PC-CMMYT-WHMY2-89M6G</ProductKey>
<ComputerName>pchome</ComputerName>
</component>
- <component name="Microsoft-Windows-Security-SPP-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
- <component name="Microsoft-Windows-Security-SPP-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>
- <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>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Home</NetworkLocation>
</OOBE>
<RegisteredOwner>member of msfn forum</RegisteredOwner>
<RegisteredOrganization>Home</RegisteredOrganization>
- <UserAccounts>
- <AdministratorPassword>
<Value>123</Value>
<PlainText>true</PlainText>
</AdministratorPassword>
</UserAccounts>
- <AutoLogon>
- <Password>
<Value>123</Value>
<PlainText>true</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>9999999</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<TimeZone>Central Standard Time</TimeZone>
</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">
- <OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Home</NetworkLocation>
</OOBE>
<RegisteredOwner>member of msfn forum</RegisteredOwner>
<RegisteredOrganization>Home</RegisteredOrganization>
- <UserAccounts>
- <AdministratorPassword>
<Value>123</Value>
<PlainText>true</PlainText>
</AdministratorPassword>
</UserAccounts>
- <AutoLogon>
- <Password>
<Value>123</Value>
<PlainText>true</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>9999999</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<TimeZone>Central Standard Time</TimeZone>
</component>
</settings>
</unattend>

Edited by forever0donotknowme
0

Share this post


Link to post
Share on other sites

There are multiple problems with your XML I can see off the bat:

1. There is no 64bit version of Windows 7 Starter

2. You cannot activate Windows 7 Starter using that product key in the Specialize pass.

For language, presuming your Windows 7 Starter source has French in it (the only downloads I have seen are single language images) you can use this in the windowsPE pass:

        <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-US</UILanguage>
</SetupUILanguage>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
<SystemLocale>en-US</SystemLocale>
<InputLocale>0409:00000409</InputLocale>
</component>

And this in the oobeSystem pass:

        <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">
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
<SystemLocale>en-US</SystemLocale>
<InputLocale>0409:00000409</InputLocale>
</component>

You will have to change the locale settings to the codes you need. Look up each of those objects in the WAIK/ADK Unattend help file to find the valid codes.

0

Share this post


Link to post
Share on other sites

I have win 7 professional

I integrated 2 language in Windows iso in win pe that are English and France but I want France system locale is default option even if I choose english language during win pe when I do format

please help me

0

Share this post


Link to post
Share on other sites

this file is for Windows 7 professional not starter

The product key in your answer file is the Install Key for Windows 7 Starter. :whistle:

0

Share this post


Link to post
Share on other sites

I take this file from my friend,,

what is step If I want remove password manyally from file

0

Share this post


Link to post
Share on other sites

I take this file from my friend,,

what is step If I want remove password manyally from file

please help me

0

Share this post


Link to post
Share on other sites

You can download SetProductKey on my signature below to find examples for unattended files!

0

Share this post


Link to post
Share on other sites

<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">

<UserLocale>en-US</UserLocale>
<SystemLocale>en-US</SystemLocale>

</component>

What is deffirence between userlocale and system locale

0

Share this post


Link to post
Share on other sites

SystemLocale

SystemLocale specifies the default language to use for non-Unicode programs.

This setting is used by both Windows Setup and Windows Deployment Services.

The system locale specifies which bitmap fonts and code pages (ANSI or DOS) that are used on the system by default. The system locale setting affects only ANSI (non-Unicode) applications. The language for non-Unicode programs is a per-system setting.

Users can change the system locale by using the Administrator tab in the Regional and Language Options Control Panel.

*Note: This setting can only be applied during the specialize and oobeSystem configuration passes. To specify language and locale settings during the windowsPE pass, see the SystemLocale setting in the Microsoft-Windows-International-Core-WinPE component.

UserLocale

UserLocale specifies the per-user settings used for formatting dates, times, currency, and numbers in a Windows installation.

Users can change this value on a running Windows installation, by using Regional and Language Options in Control Panel.

*Note: This setting can only be applied during the specialize and oobeSystem configuration passes. To specify language and locale settings during the windowsPE pass, see the UserLocale setting in the Microsoft-Windows-International-Core-WinPE component.

Extrated from: Unattended Windows Setup Reference for Windows 7.chm

Example with my Autounattend.xml file


<?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>fr-FR</UILanguage>
</SetupUILanguage>
<InputLocale>100c:0000100c</InputLocale>
<SystemLocale>fr-CH</SystemLocale>
<UILanguage>fr-FR</UILanguage>
<UserLocale>fr-CH</UserLocale>
</component>

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

myselfidem sir,

Please you care me because I am beginner in autounattendxml codes.

Please you should understand me.

English language is default language in my windows ISO

I want let as her in windows setup( I want english language is main language during format<<< all options will show english language<<< that is goood

But after format I want french is default language to use for non-Unicode programs.

I think following script is correct and help me


<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">

<UserLocale>fr-CH</UserLocale>
</component>
</settings>

please If you have any comments about my script tell us.

0

Share this post


Link to post
Share on other sites

More help:

http://www.msfn.org/board/topic/87037-regional-settings-en-gb/page__view__findpost__p__587983

http://blogs.msdn.com/b/shawnste/archive/2011/11/09/user-locale-system-locale-ui-language-language-profile-amp-all-that.aspx

The UI language in Windows is the language the system uses to communicate with the user. Basically the different between a French or a German version of Windows. Normally there's only one UI language installed, though some businesses install more to support various users and Ultimate edition users can install other languages. The loading of the resources by applications requires rebooting if the UI language changes.

User locale is the locale that the user wants to use. There are lots of reasons why a UI language and a User locale might differ, but often they're the same. The big reasons they differ is because of the variations between locations, en-US, en-CA, en-AU, etc all can use the same UI language. Also, historically (Like Windows3.1 or NT) one of the big reasons was that Windows was only localized to a small set of languages, yet users want a locale specific date format, etc. for a more appropriate language. Eg: They can maybe read French, but their language isn't available as a UI language, or they need fine-tuning of the UI language. User locale is selected from the "Formats" tab of the intl.cpl Regional and Language Options applet.

http://msdn.microsoft.com/en-us/goglobal/bb964662.aspx

http://technet.microsoft.com/en-us/library/dd744272(v=ws.10).aspx

Create your own Autounattend.xml All-In-One (x86/amd64)

0

Share this post


Link to post
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.