Version: Windows 10 1909 (Spanish)
I wish to add two keyboard layouts (Spanish, US English) to the
es-AR language profile in an unattended installation.
I have the following in the OOBE pass:
<settings pass="oobeSystem"> <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <InputLocale>2C0A:0000040A;2C0A:00000409</InputLocale> <SystemLocale>es-AR</SystemLocale> <UILanguage>es-ES</UILanguage> <UILanguageFallback>en-US</UILanguageFallback> <UserLocale>es-AR</UserLocale> </component> [...]
0000040A -> Spanish 00000409 -> United States - English
Default Input Profiles:
Spanish - Argentina es-AR: Latin American (2c0a:0000080a)
According to that article, the default keyboard will get added for the
UserLocale (even if not specified in
InputLocale in the unattend file, apparently). So I get 3 keyboards (Spanish, US English, Latin American) instead of 2 like I want (Spanish, US English).
Is there any way to prevent this behavior?
I ended up writing a script to re-set the keyboards. It’s too ugly to post since it’s a mix of batch and powershell (which I need to learn properly some day), but the gist of it is:
HKCUControl PanelInternationalin the registry, replace the contents of
User Profile System Backupwith those of
User Profile. I found out if you don’t do this, the changes can get reverted under unknown circumstances.
HKCU, copy the following keys:
Control PanelInput Methodand
SoftwareMicrosoftCTFto the accounts (under
DEFAULT(hive needs to be loaded from
Control Panel > Region > Administrative > Copy Settings > Welcome screen and system accounts | New User Accountsdoes, or at least it has the same effect.
3 Asked on January 1, 2021 by user14108508
0 Asked on December 31, 2020 by xdg
1 Asked on December 31, 2020 by qneville
0 Asked on December 31, 2020 by dimitri-l
1 Asked on December 30, 2020 by pansal
1 Asked on December 30, 2020 by dagda1
2 Asked on December 30, 2020 by hellb0y77
1 Asked on December 30, 2020 by patrick-hund
0 Asked on December 29, 2020 by pairwiseseq
0 Asked on December 29, 2020 by shahrear-bin-amin
1 Asked on December 29, 2020 by mpen
3 Asked on December 29, 2020 by amanahumpa
3 Asked on December 28, 2020 by timanderson
1 Asked on December 28, 2020 by mgutt
1 Asked on December 28, 2020
0 Asked on December 27, 2020 by andrey-salnikov
2 Asked on December 27, 2020 by jason-cohen
1 Asked on December 27, 2020
Get help from others!