0
0
I have used this guide to make a Windows PE flash drive. It works as it should. When I boot a computer into Windows PE a CMD window appears.
The problem is that the keyboard is set to US by default, but I am using a nordic keyboard.
How can I change the default keyboard that loads on the initial CMD window?
I have tried all the following command without any success:
Dism /Add-Package /Image:"C:\tmp" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\nb-NO\lp.cab"
Dism /Image:"C:\tmp" /Set-SetupUILang:nb-NO
Dism /Image:"C:\tmp" /Set-SKUIntlDefaults:nb-NO
Dism /Image:"C:\tmp" /Set-SysLocale:nb-NO
Dism /Image:"C:\tmp" /Set-UILang:nb-NO
Dism /Image:"C:\tmp" /Set-UILangFallBack:nb-NO
Dism /Image:"C:\tmp" /Set-UserLocale:nb-NO
Dism /Image:"C:\tmp" /Set-InputLocale:nb-NO
Dism /Image:"C:\tmp" /Set-AllIntl:nb-NO
If I investigate I can see that Norwegian keybobard is in fact installed. That is 0414:00000414
. So that is kind of weird.
C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools>Dism /online /Get-Intl
Deployment Image Servicing and Management tool
Version: 10.0.17763.1
Image Version: 10.0.17763.437
Reporting online international settings.
Default system UI language : en-US
System locale : nb-NO
Default time zone : W. Europe Standard Time
Active keyboard(s) : 0409:00000414, 0414:00000414
Keyboard layered driver : PC/AT Enhanced Keyboard (101/102-Key)
Installed language(s): en-US
Type : Fully localized language.
Do I really have to type wpeutil SetKeyboardLayout 0409:00000414
each time I load Windows PE? Is there no other way?
This seems to kind of work, but you still need to open a new instance of CMD with
start CMD
after Startnet.cmd have launched so it's not really a solution, more like a workaround. – Arete – 2019-04-18T13:39:34.523