Navigate / search

Windows 10 – SCCM Language Pack Integration

I’ve tried so many different ways to deploy Windows 10 clients in different languages and there was only one way working for me, I like to share with you. Our aim was to deploy Windows 10 clients in 28 different languages, so our itention was to deploy these clients in English and to deploy the language packs afterwards. We didn’t want a client with 27 language packs installed that must be maintained with every Windows 10 Feature Update. But we got a lot of Problems with the Windows 10 UI that sometimes didn’t changed the language as exspected or the time and date formats were set comletelly wrong. The only way I figured out was to deploy language packs by the following order.

  1. Install the language pack during the OS installation using the dism command  dism.exe /norestart /online /add-package /packagepath:.\lp.cab
  2. Restart the computer
  3. Run a script executing the following command  C:\Windows\System32\control.exe intl.cpl /f:"configuartion.xml"
  4. Restart the computer

Step 3 is neccessary to set the installed language pack as activated and to install the corresponding “Input Preferences”.

Create Package – “MS W10 1703 LanguagePack de-DE”

Lets start with building a deployment package including the german languagepack *.cab file, a PowerShell script for setup and *.xml file that is needed for configuration.

SCCM 1707 – Create Package
SCCM 1707 – Create Package
SCCM 1707 – Create Package


Create Package Content – “MS W10 1703 LanguagePack de-DE”

Our package will include the following files:

SCCM 1707 – Package Content

lp.cab

The “lp.cab” file is the official language pack provided by Microsoft. Download the file at Microsoft and rename it to “lp.cab”. Take care of downloading the correct file that is corresponding to your operating system version. Microsoft releases new cab files for every feature update. Windows 10 1607 needs different cab files compared to Windows 10 1703!

SCCM_SetLangPack.ps1

Create the ps1 file “SCCM_SetLangPack.ps1” to setup the German language as default language and to add the German keyboard input.

de-DE.xml

Create the xml file “de-DE.xml”. The PowerShell script “SCCM_SetLangPack.ps1” will call the xml file “de-DE.xml”.


Distribute Package Content – “MS W10 1703 LanguagePack de-DE”

SCCM 1707 – Distribute Package Content
SCCM 1707 – Distribute Package Content
SCCM 1707 – Distribute Package Content
SCCM 1707 – Distribute Package Content
SCCM 1707 – Distribute Package Content

Edit Task Sequence

Get your Windows 10 deployment Task Sequence (TS) and add the following steps to your TS.

  • Create the TS Step  Install 1703 LanguagePack de-DE 
  • Add the command  dism.exe /norestart /online /add-package /packagepath:.\lp.cab 
  • Select the above distributed package.
SCCM 1707 – Edit Task Sequence

Create the TS Step  Restart Computer

SCCM 1707 – Edit Task Sequence
  • Create the TS Step  Run SCCM_SetLangPack.ps1 
  • Add the script name  SCCM_SetLangPack.ps1 
  • Select  Bypass  as PowerShell execution policy
SCCM 1707 – Edit Task Sequence

Create the TS Step  Restart Computer

SCCM 1707 – Edit Task Sequence

Result:

Your installed operating system will install the german language pack and setup the following configuration:

  • Set language as default language for all users
  • Set the system locale to “de-DE”
  • Set the GEOID to “94”
  • Set “en-US” as fallback language
  • Add the German keyboard layout “0407:00000407”
  • Remove the English keyboard layout “0409:00000409”

Now that we achived to install a language pack with correct system configuration it is time to add more than one language.


plus Add Several Language Packs

First we do have to create a Deployment Package for for every language we want to be installed. Follow the instructions from the above tutorial to add the Czech language. In the end we should have the following packages ready for deployment.

  • MS W10 1703 LanguagePack de-DE
  • MS W10 1703 LanguagePack cs-CZ

When it’s done we should extend our Task Sequence with the new language package.

  • Modify the group  German de-DE .
  • Add the condition Task Sequence Variable language equals "german" .
SCCM 1707 – TS Add Language Pack
  • Add the group  Czech cs-CZ similar to the above tutorial.
SCCM 1707 – TS Add Language Pack
  • Add the condition Task Sequence Variable language equals "czech" .
SCCM 1707 – TS Add Language Pack

 


Add GUI to select Language Pack

Now that we are able to install two different languages we have to tell our Task Sequence which language should be installed. Therefore we will implement a PowerShell script where the deployment technician can select the language pack corresponding to the region.

Windows PE – PowerShell Language GUI

Step 1 – Create GUI Package

SCCM 1707 – Create Package “Select Language”
SCCM 1707 – Create Package “Select Language”
SCCM 1707 – Create Package “Select Language”

 

Step 2 – Create GUI Package Content

Our package will include the following file:

SCCM 1707 – Package “Select Language” Content

SCCM_SelectLanguagePack.ps1

Create the ps1 file “SCCM_SelectLanguagePack.ps1” with the following content. The file will automatically close the SCCM deployment GUI elements and open a language selection interface. I’ve explained in another post how these kind of PowerShell GUI elements are working. If you are interested take a look at PowerShell – How to build a GUI with Visual Studio.

Distribute the GUI Package content to you Distribution Servers!

 

Step 3 – Edit Task Sequence for GUI Support

  • Create the TS Step  SELECT LANGUAGE as Run Command Line 
  • Add the command  cmd /c PowerShell.exe -sta -ExecutionPolicy Bypass -File SCCM_SelectLanguagePack.ps1 
  • Select the above distributed package.
SCCM 1707 – Add TS GUI Support

 

check Congratulations! You are done!

 

Tested with Windows 10 (SAC)

  • 1703
  • 1709

Leave a comment

name*

email* (not published)

website

This site uses Akismet to reduce spam. Learn how your comment data is processed.