I guess this is useful if use multiple keyboard layouts or completely out-of-default keyboard layout after sysprep.
Backup your must-have regional settings
reg export "HKCU\Control Panel\International" "%userprofile%\Desktop\HKCU_International.reg"These are all settings settings under "Formats" tab:
reg export "HKCU\Keyboard Layout" "%userprofile%\Desktop\HKCU_Keyboard_Layout.reg"These are all settings under "Keyboards and languages" tab:
[HKEY_CURRENT_USER\ with [HKEY_USERS\integrate\Do this for booth files -
HKCU_International.reg and HKCU_Keyboard_Layout.regRemember to press save button when you done editing!
Copy
install.wim to c:\Create
c:\mount directoryOpen "Deployment Tools Command Prompt" in "Run as administrator" mode:

install.wim to c:\mount directory:dism /mount-wim /wimfile:c:\install.wim /index:1 /mountdir:c:\mountThe index in your situation may be different ;)In the same windows type
regeditSelect
HKEY_USERS
File -> Load Hive
c:\mount\Users\Default\NTUSER.DATSet the hive name exactly to integrate

File -> Import and select HKCU_International.reg and HKCU_Keyboard_Layout.regRefresh the view and check if the registry values has really changed!
Select the loaded hive name
integrate and go for File -> Unload Hive

Unmount image with:
dism /commit-wim /mountdir:c:\mount
No comments:
Post a Comment