Lpksetup Command-Line Options

Applies To: Windows 7


This content applies to Windows 7. For Windows 8 content, see Windows Deployment with the Windows ADK.

You can use Lpksetup to perform unattended or silent-mode language-pack operations, such as adding or removing a language pack. It can be used only on a running Windows® operating system. Lpksetup.exe is available with all default Windows installations.

Lpksetup.exe Command-Line Options

The syntax to install a language pack using Lpksetup is:.

lpksetup.exe {/i [{* | <language_list>}] [/p <language_pack_path>] [{/r/f/a/s}]

The syntax to uninstall a language pack using Lpksetup is:.

lpksetup.exe/u [<language_list>] [{/r/f/a/s}]

Option Description


Displays information about available LPKSetup command-line options.


Installs the specified language packs. Cannot be used with the /u option. If you do not include * or <language_list> after the /i option, the program will start, and you can install through the graphical user interface (GUI).


Specifies a wildcard character that represents all language packs found in language_pack_path or the directory where Lpksetup.exe is located.


Specifies the language pack (or packs in a space-delimited list) to be installed or uninstalled. Use the format language-REGION for each language specified, where language is the lowercase ISO 639 language code and REGION is the uppercase ISO 3166-1 country/region identifier. For example, en-US, fr-FR, en-GB.


Uninstalls the specified language pack (or packs in a space-delimited list). This option cannot be used with the /i option. If you do not include <language_list> after the /u option, and if the /s option is not used, the program will start and you can uninstall through the GUI.

/p <language_pack_path>

Indicates the path of the language packs to install. If the /i and /s option are both used, the /p option is required.

<language_pack_path> can be a path to a folder or a network share. For example, C:\langpackfolder\ or \\networkshare\langpackfolder


Suppresses the need to restart after an operation is complete. A message will be logged to the event log about the need to restart.


If the computer must restart, forces a restart even if there are other users logged on to the computer.


Verifies that all listed language packs can be installed or removed before processing. If any of the language packs cannot be installed or removed, an error is returned and none of the specified language packs are installed or removed.

If you do not include the /a option, all specified language packs are installed or removed except the one that failed, an entry is created in the event log, and the operation is returned as successful.


Performs a silent and unattended operation that requires no user input. The GUI is suppressed.


This example installs all language packs that are located at a given location.

lpksetup /i * /p <language_pack_path>

This example uninstalls two language packs. Lpksetup will be started in GUI mode but will not require user intervention.

lpksetup /u ja-JP es-ES

This example installs three language packs stored on a network share.

lpksetup /i ja-JP en-US es-ES /r /s /p \\networkpath\languagepackfolder

See Also


Understanding Multilingual Deployments
Add a Language Pack Online