DISM Languages and International Servicing Command-Line Options
The international commands can be used to change international settings in Windows and Windows Preinstallation Environment (WinPE) images. You can also query existing settings in an offline or online Windows image.
The base syntax for servicing a Windows image using the Deployment Image Servicing and Management (DISM.exe) tool is:
There are three types of international servicing commands:
Get commands. Retrieves a report of the international settings for an offline image or a running operating system.
Set commands. Sets the different international settings for an offline image.
Gen-LangIni commands. Generates the Lang.ini file that is used during Setup.
The following international servicing options are available for an offline image:
The image needs to be mounted before using the /Mount-Image option in DISM (see DISM Image Management Command-Line Options). The value specified for the /MountDir parameter when mounting the image should be used as the value of the /Image parameter.
The following international servicing options are available for a running operating system:
DISM.exe /Online/Get-Intl
The following table provides a description of how each international servicing option can be used. These options are not case-sensitive.
Option/Argument
Description
Option: /Get-Help /?
When used immediately after an international servicing command-line option, information about the option and the arguments is displayed. Additional topics might become available when an image is specified.
Dism /image:C:\test\offline /Set-UILang /?
Dism /online /Get-intl /?
Option: /Get-Intl
Displays information about international settings and languages.
Use the /Online option to display information about international settings and languages in the running operating system.
Use the /Image: option to display information about international settings and languages in the offline image.
When used with the /Distribution options, information about international settings and languages in the distribution is displayed. The name of the folder in the distribution share is not validated. It will be reported as …\Langpacks \Lp.cab. Where is the name of the folder.
The user locale is reported only for offline images. The report does not include this setting for running operating systems.
Sets the default system user interface (UI) language. If the language is not installed in the Windows image, the command will fail.
specifies the name of the language to set as the default; for example, ja-JP.
As of Windows 10, version 2004, if a .appx-based Language Experience Pack (LXP) backed language is passed as an argument then the language will be set as the System Preferred UI language and its parent language will be set as the Default System UI language.
In prior versions, this option did not support setting the UI to a language that was installed as an LXP.
Dism /image:C:\test\offline /Set-UILang:fr-FR
Option: /Set-UILangFallback:
Sets the fallback default language for the system UI in the offline Windows image. This setting is used only when the language specified by the /Set-UILang option is a partially localized language.
specifies the name of the language to set as the default fallback; for example, en-US.
Sets the System Preferred UI Language. If the language is not installed in the Windows image, the command will fail.
Dism /image:C:\test\offline /Set-SysUILang:fr-FR
Option: /Set-Syslocale:
Sets the language for non-Unicode programs (also called system locale) and font settings in the offline Windows image.
specifies the name of the language and locale to set as the default language for non-Unicode; for example, en-US.
You cannot set Unicode-only languages as the system locale. If you try, the /Set-SysLocale option will fail and the language for non-Unicode programs will not be changed.
Dism /image:C:\test\offline /Set-SysLocale:fr-FR
Option: /Set-UserLocale:
Sets the «standards and formats» language (also called user locale) in the offline Windows image. The «standards and formats» language is a per-user setting that determines default sort order and the default settings for formatting dates, times, currency, and numbers.
Dism /image:C:\test\offline /Set-UserLocale:fr-FR
Option: /Set-InputLocale:
Sets the input locales and keyboard layouts to use in the offline Windows image.
The value of the : pair can be one of the following:
For example, 0409:00000409
For example, if you specify en-US as the local name, The Set-InputLocale: option also sets the default keyboard layout defined for this locale.
You can specify more than one value by using semicolons as separators. This is useful when you want to include support for multiple keyboards on a single computer. The first value will be set as the default keyboard.
The valid keyboard layouts that can be configured on your computer are listed in the following registry key.
Use the hexadecimal value of the language ID and keyboard layout that you intend to configure.
This parameter is optional.
Option: /Set-AllIntl:
Sets the default system UI language, the language for non-Unicode programs, the «standards and formats» language, and the input locales and keyboard layouts to the specified language in the offline Windows image. This option specifies the language value for the following:
If used with any of the options that specify the individual language or locales, then the individual settings take precedence.
specifies the language name and locale code; for example, en-US, es-ES, or fr-FR.
As of Windows 10, version 2004, if a .appx-based Language Experience Pack (LXP) backed language is passed as an argument then the language will be set as the System Preferred UI language and its parent language will be set as the Default System UI language.
In prior versions, this option did not support setting the UI to a language that was installed as an LXP.
Dism /image:C:\test\offline /Set-AllIntl:fr-FR
Option: /Set-TimeZone:
Sets the default time zone in a Windows image. Before setting the time zone, DISM verifies that the specified time zone string is valid for the image.
specifies the name of the time zone to use; for example, Pacific Standard Time. For a complete list of time-zone strings, see the WindowsВ® Unattended Setup Reference. On a computer that is running Windows 7, you can use the tzutil command-line tool to list the time zone for that computer. The tzutil tool is installed by default on Windows 7.
The name of the time zone must exactly match the name of the time zone settings in the registry in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones.
If you add a custom time zone to your computer, you can specify that custom time-zone string.
Dism /image:C:\test\offline /Set-TimeZone:»W. Europe Standard Time»
Option: /Set-SKUIntlDefaults:
Sets the default system UI language, the language for non-Unicode programs, the «standards and formats» language, and the input locales, keyboard layouts, and time zone values in an offline Windows image to the default value specified by . The /Set-SKUIntlDefaults option does not change the keyboard driver for Japanese and Korean keyboards. You must use the /Set-LayeredDriver option to change this.
Use /Set-SKUIntlDefaults to change all the international settings in an offline Windows image to match the default values that are set during retail installations. For more information about the default values of each language pack, see Default Input Locales for Windows Language Packs.
This parameter is optional. If combined with one of the settings earlier in this section, the individual setting takes priority.
If the language passed matches a Unicode-only locale setting, the system locale will not be changed but the command will not fail.
Specifies a keyboard driver to use for Japanese or Korean keyboards.
In Japan, many retail users have 106-key keyboards, whereas others have 101- or 102-key keyboards. In Korea, there are several different types of keyboards, some with different numbers of keys.
The possible values for these settings are 6:
Specifies the PC/AT Enhanced Keyboard (101/102-Key).
Specifies the Korean PC/AT 101-Key Compatible Keyboard/MS Natural Keyboard (Type 1).
Specifies the Korean PC/AT 101-Key Compatible Keyboard/MS Natural Keyboard (Type 2).
Specifies the Korean PC/AT 101-Key Compatible Keyboard/MS Natural Keyboard (Type 3).
Specifies the Korean Keyboard (103/106 Key).
Specifies the Japanese Keyboard (106/109 Key).
Dism /image:C:\test\offline /Set-LayeredDriver:1
Option: /Gen-LangINI:
Generates a new Lang.ini file, which is used by Setup to define the language packs inside the image and outside in the distribution. It also defines the default UI language for Setup.
The new Lang.ini file will be added to the Sources folder of the Windows distribution.
You will not be prompted for permission to overwrite an existing Lang.ini file. The existing Lang.ini file will be overwritten automatically.
You must specify an offline Windows image (/Image: and a distribution (/Distribution: ).
Defines the default language that will be used by Setup. If this language cannot be used, Setup automatically uses English.
This is an optional command. If not used, the default UI language in the image will be used. If the language is not present, the first language in the list of present languages will be used.
Specifies the path to the Windows distribution. The Windows distribution is a copy of the content that releases on the Windows product DVD. This option is only for use with the /Get-Intl and /Gen-LangINI option if there are external language packs.
The DISM International servicing commands cannot be used on a Windows Vista or a Windows Server 2008 image. For information about servicing Windows Vista and Windows Server 2008 images, see the Windows Vista SP1 release of the Windows OEM Preinstallation Kit (Windows OPK) or Windows Automated Installation Kit (Windows AIK).
You cannot use other servicing commands on the same command line with international servicing commands.
You cannot set a Unicode-only language as the system locale.
The following languages are Unicode-only:
Language
Country/Region
Amharic
Ethiopia
Armenian
Armenia
Assamese
India
Bangla
Bangladesh
Bangla
India (Bengali Script)
Divehi
Maldives
Georgian
Georgia
Gujarati
India (Gujarati Script)
Hindi
India
Inuktitut (Syllabics)
Canada
Kannada
India (Kannada Script)
Kazakh
Kazakhstan
Khmer
Cambodia
Konkani
India
Lao
Lao PDR
Malayalam
India (Malayalam Script)
Maltese
Malta
Maori
New Zealand
Marathi
India
Mongolian (Mongolian)
PRC
Nepali
Federal Democratic Republic of Nepal
Odia
India (Odia Script)
Pashto
Afghanistan
Punjabi
India (Gurmukhi Script)
Sanskrit
India
Sinhala
Sri Lanka
Syriac
Syria
Tamil
India
Telugu
India (Telugu Script)
Tibetan
PRC
Yi
PRC
Do not install a language pack after an update.
If you install an update (hotfix, general distribution release [GDR], or service pack [SP]) that contains language-dependent resources before you install a language pack, the language-specific changes contained in the update are not applied. Always install language packs before installing updates.
When specifying a time zone by using /Set-TimeZone: you must use straight quotation marks for multiple words. For example, /Set-TimeZone:»Pacific Standard Time». If you copy and paste the time zone name, including quotation marks, from a MicrosoftВ® Word document, the quotation marks might not be recognized and the command line might fail.
If you are servicing an international image, and your host environment does not support the language in that image, you might not be able to read an error message that originates from the international image.