MSFN Forum: Autounattend.xml assistance - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Autounattend.xml assistance HELP

#1 User is offline   forever0donotknowme 

  • Junior
  • Pip
  • Group: Members
  • Posts: 56
  • Joined: 29-May 12
  • OS:none specified
  • Country: Country Flag

Posted 17 March 2013 - 10:59 PM

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>


This post has been edited by forever0donotknowme: 17 March 2013 - 11:13 PM



#2 User is offline   forever0donotknowme 

  • Junior
  • Pip
  • Group: Members
  • Posts: 56
  • Joined: 29-May 12
  • OS:none specified
  • Country: Country Flag

Posted 18 March 2013 - 01:50 AM

I wait you to help me

#3 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,669
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 18 March 2013 - 08:05 AM

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.

#4 User is offline   forever0donotknowme 

  • Junior
  • Pip
  • Group: Members
  • Posts: 56
  • Joined: 29-May 12
  • OS:none specified
  • Country: Country Flag

Posted 18 March 2013 - 10:56 AM

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

#5 User is offline   forever0donotknowme 

  • Junior
  • Pip
  • Group: Members
  • Posts: 56
  • Joined: 29-May 12
  • OS:none specified
  • Country: Country Flag

Posted 18 March 2013 - 10:59 AM

this file is for Windows 7 professional not starter

#6 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,669
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 18 March 2013 - 11:44 AM

View Postforever0donotknowme, on 18 March 2013 - 10:59 AM, said:

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:

#7 User is offline   forever0donotknowme 

  • Junior
  • Pip
  • Group: Members
  • Posts: 56
  • Joined: 29-May 12
  • OS:none specified
  • Country: Country Flag

Posted 18 March 2013 - 10:40 PM

I take this file from my friend,,

what is step If I want remove password manyally from file

#8 User is offline   forever0donotknowme 

  • Junior
  • Pip
  • Group: Members
  • Posts: 56
  • Joined: 29-May 12
  • OS:none specified
  • Country: Country Flag

Posted 18 March 2013 - 10:40 PM

View Postforever0donotknowme, on 18 March 2013 - 10:40 PM, said:

I take this file from my friend,,

what is step If I want remove password manyally from file

please help me

#9 User is online   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,387
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 19 March 2013 - 05:56 AM

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

#10 User is offline   forever0donotknowme 

  • Junior
  • Pip
  • Group: Members
  • Posts: 56
  • Joined: 29-May 12
  • OS:none specified
  • Country: Country Flag

Posted 21 March 2013 - 12:36 AM

<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

#11 User is online   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,387
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 21 March 2013 - 02:08 AM

Quote


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.

Quote


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>


This post has been edited by myselfidem: 21 March 2013 - 02:28 AM


#12 User is offline   forever0donotknowme 

  • Junior
  • Pip
  • Group: Members
  • Posts: 56
  • Joined: 29-May 12
  • OS:none specified
  • Country: Country Flag

Posted 21 March 2013 - 04:24 AM

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.

#13 User is online   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,387
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 21 March 2013 - 09:10 AM

More help:

http://www.msfn.org/...post__p__587983

http://blogs.msdn.co...p-all-that.aspx

Quote

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.microsof...l/bb964662.aspx

http://technet.micro...d744272(v=ws.10).aspx

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy