Global Development and Computing Portal Global Development and Computing Portal

Configuring and Using International Features of Windows

How To Specify language and international settings during unattended setup

[all versions of Windows XP and 2000]

This guide explains how to add support for languages and international settings during unattended setup. If you're not familiar with language groups and locales, and the differences between them, you may want to review our Basic Concepts guide. For information about automating installation of user interface languages in the Windows 2000 MultiLanguage Version, you may also want to consult our Guide to unattended installation of the Windows 2000 Multilanguage Version.

Note:The information provided here supplements that provided in the OEM Preinstall Kit, specifically that in the file unattend.doc, which can be found on the CD in \support\tools\deploy.cab. For further information about unattended installation of Windows XP Home and Professional editions, and Windows 2000 family of operating systems, the OPK should be consulted.

*

To install Windows in unattended mode, winnt[32].exe must be executed in conjunction with an answer file (a file containing answers to the questions normally asked of the user during Setup).

Language groups and locale settings are specified in the answer file in the RegionalSettings section, which can consist of the following keys:

Language = locale ID

LanguageGroup = language group ID, language group ID,...

SystemLocale = locale ID

InputLocale = locale ID:keyboard layout ID, locale ID:keyboard layout ID,....

UserLocale = locale ID

UserLocale_DefaultUser = locale ID

InputLocale_DefaultUser = locale ID:keyboard layout ID

Two settings are ignored in Unattend.txt and Sysprep.inf, and are specific to computers that have the MultiLingual User Interface Packs installed. You can use these settings only by invoking the Regional and Language Options control panel applet in an unattended fashion:

MUILanguage = language ID

MUILanguage_DefaultUser = language ID

Note that each of these keys takes ID values to represent the language, locale or language group to be installed. You can find links to charts listing the IDs of all locales, languages and language groups supported in Windows 2000 in the sidebar at right.

If the Language key is specified, the value associated with it will override all the values given in the InputLocale, SystemLocale and UserLocale keys. We generally recommend the Language key as the preferred method of specifying locale settings, since it guarantees the InputLocale, SystemLocale and UserLocale settings will be compatible with one another.

Note: If you don't install the language groups necessary for the locales and languages you specify, Setup may display dialogs prompting for paths to the required files. Although installation will succeed, it may require user interaction.

To use the RegionalSettings section of the answer file, you must add the /copysource:lang command line to Winnt32.exe or the /rx:lang command line to Winnt.exe. This will copy the appropriate language files to the target disk. For example, if you are only interested in Korean settings while installing a U.S. version of Windows 2000, you may specify /copysource:lang\kor if starting from Winnt32.exe.

Sample answer file entry:

[RegionalSettings]
LanguageGroup=1,2,3,4,5,6, 7, 8, 9, 10,11,12,13,14,15
SystemLocale=0411
UserLocale=0411
InputLocale=041e:0000041e,0409:00000409

**
In This Article
**
**
**