Share via


SCCM - Set Keyboard Layout and Default UI language

Question

Tuesday, April 11, 2017 1:34 PM

Hello. 

i would like to setup default Win 10 UI language + keyboard layout during SCCM OS task sequence installation - but not in WInPE but after the Setup Windows and config manager client - it needs to be done this way. I have 2 steps : 1. install language Pack lp.cab and 2. set default UI

I have no problem with installation of a language packs, however the 2nd part is not working properly :

Whatever method i use, i will always get return code 1 when running script. I tried: 1. Create Bat / CMD, copy package locally, run it from network, run it directly in CMD, run it from powershell. THis is the error that i have : 

However - when i run same command directly from cmd in SCCM preOS, it runs and executes without any issues. May this be some permission issues? Since cmd is opened under admin not ntsystem

Also my XML looks like this: 

The Language ID keyboard is added even the command ends up with error, however the MUI language is not changed, i have to manually set primary language. I also cannot use MDT and cannot deploy this through UDI in WinPE. Did anyone came across similar issue that was able to resolve ? 

All replies (10)

Wednesday, April 12, 2017 3:39 AM

Take a look at this guide:

https://damonjohns.com/2016/08/04/setting-english-australia-language-pack-for-windows-10-enterprise/


Wednesday, April 12, 2017 8:29 AM

Thanks Narcoticoo

i will try download and install FOD as well


Thursday, April 13, 2017 7:04 PM

Unfortunately, that did not help. I ended up without a keyboard layout instead and had to add keyboard and set language afterwards. 

I added following packages :

1. language pack.cab

2.lang.features - handwriting 

3. lang.Features - OCR

4. lang.features - speech

5. lang.features - text to speech

6. lang.features - basic

and installed them in this order. I tired removing them 1 by 1, but nothing seems to be working. I also tried to use XML in the end, but result is the same. 

Any advice ? 


Wednesday, April 19, 2017 6:41 AM | 2 votes

i Found the solution in case someone is looking for that too. 

1 : i had to copy UI.xml to the local HDD, seems that running it inside from the package does not work

2. Commandline was wrong, inside SCCM, i had to run : rundll32.exe shell32,Control_RunDLL intl.cpl,,/F:"C:\Windows\Temp\UI.xml"   

when the other command line is run (control.exe intl.cpl..) it always returns error 1 - thus not usable

3. i did not have to reboot pc twice, just to install LP.cab and run this command afterwards, that did the trick




Friday, December 8, 2017 3:37 PM

I'm trying the same command within my task sequence and it runs, exits with exit code 0 but the settings are not getting applied.  If i run the same command by logging into the machine it works fine.  Any ideas?

Thanks!


Friday, December 8, 2017 4:19 PM

Hey

are you trying exactly the same thing right ?

1. XML for some reason does not work from within a package, you need to copy it to the disk , I chosen temp as the best default location.

2. rundll32.exe shell32,Control_RunDLL intl.cpl,,/F:"C:\Windows\Temp\languageID.xml"

3. reboot

if that does not work, sometimes 2nd apply with another reboot might help ( dont ask me why ;) )


Friday, December 8, 2017 4:37 PM

Yes i have my xml in Windows\Temp and tried applying twice and with multiple reboots but it will not apply.  I can only get it to apply from a command prompted logged on a local admin. :-(


Friday, December 8, 2017 5:46 PM

what language are you trying to setup ? so I can wrap it up here in the XML , test and send you the TS..


Friday, December 8, 2017 6:32 PM

So embarrassing.  Turned out to be a copy and paste issues with the quotes so after retyping the command line manually its working.  Thanks


Saturday, December 9, 2017 12:23 PM

glad it worked