HowTo Change Keyboard Layout language
Posted 10 November 2009 - 09:05 AM
I'm using imagex to configure my keyboard language:
-Create an empty dir "mount".
-imagex /mountrw d:\vistape.wim 1 d:\mount
-Load default hive in regedit.
-Modify .\defauly\keyboard\preloard using my country code.
-Save using imagex /unmount /commit d:\mount
Replace vistape.wim file in my ISO file.
When I boot my ISO VistaPE, the keyboard is still in US!!!
VistaPE regedit show me the good code!
Posted 10 November 2009 - 09:13 AM
Is there a key for the 'new' country?
Posted 10 November 2009 - 09:44 AM
I've spent a lot of time trying to change the default VistaPE keyboard layout (US QWERTY). I wanted to turn my VistaPE Keyboard in french as a default layout.
1. Once your project compiled extract the file vistape.wim located in your ISO file using for instance "ultraiso" software.
2.create an empty folder c:\mount.
3.Use imagex to mount vistape.wim in this empty directory:
imagex /mountrw c:\vistape.wim 1 c:\mount
4.Run regedit on your host PC, highlight HKLM and choose "file" ->"load hive". Load the "default" file stored in C:\mount\system32\config. Regedit will ask you a name, type "vistape".
5.Now, you can browse in HKLM\vistaPE\.\defauly\keyboardLayout\preload.
Here, you will find the default value (US Keyboard), which is "1 REGSZ 00000409".
6.Replace 00000409 by the TCODE of your country, for example "0000040c" for france.
7.Unload the hive, highligh HKLM -> File-> Unload hive. Exit Regedit.
8.Now you have to copy the associated DLL file to your language code. The DLL file looks like "KBDFR.DLL" (for france). This file is in c:\windows\system32. For german, I guess it's "KBDGR.DLL". Look on a vista PC running and copy this file in C:\mount\windows\system32\.
If you dont have a vista PC running, use http://www.dll-vista.com/ and download your kbd***.dll file.
9.You can now umount the wim file and save it using:
#imagex /unmount /commit c:\mount
10.Your new vistape.wim is written, you can now open your previous ISO project (using ultraiso), delete the original version of vistape.wim and replace with the new one.
it works like a charm for me.
Posted 10 November 2009 - 10:38 AM
you would have found:
- a .script by psc/online to do the above at build time
- a batch by drwtsn32 to automate the changes
instead of doing it manually.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users