Jump to content

- - - - -

HowTo Change Keyboard Layout language

  • Please log in to reply
4 replies to this topic

#1 math



  • Members
  • 10 posts

Posted 10 November 2009 - 09:05 AM

Hi all,

I'm using imagex to configure my keyboard language:

-Extract Vistape.wim
-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!

What's wrong?

Thank you.

#2 pscEx


    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
    European Union

Posted 10 November 2009 - 09:13 AM

What about HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layouts ?
Is there a key for the 'new' country?


#3 math



  • Members
  • 10 posts

Posted 10 November 2009 - 09:24 AM

OK problem solved, i'm goinig to post an "howto".

#4 math



  • Members
  • 10 posts

Posted 10 November 2009 - 09:44 AM

Hi all,

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.

11.Boot !

it works like a charm for me.


#5 was_jaclaz



  • Advanced user
  • 7100 posts
  • Location:Gone in the mist

Posted 10 November 2009 - 10:38 AM

Happy you solved your problem :thumbup:, though, had you actually read the link I gave you:

you would have found:
  • a .script by psc/online to do the above at build time
  • a batch by drwtsn32 to automate the changes
(that you could customize to French)

instead of doing it manually.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users