我已经使用本指南制作了一个 Windows PE 闪存驱动器。它可以正常工作。当我将计算机启动到 Windows PE 时,会出现一个 CMD 窗口。
问题是键盘默认设置为美国,但我使用的是北欧键盘。
如何更改加载到初始 CMD 窗口的默认键盘?
我尝试了以下所有命令但均未成功:
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
如果我调查一下,我可以看到实际上安装了挪威键盘。那就是0414:00000414
。所以这有点奇怪。
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.
wpeutil SetKeyboardLayout 0409:00000414
每次加载 Windows PE 时我真的必须键入吗?没有别的办法吗?