Change the dafault keyboard layout

G

Guest

Hello!
Let's see if you can help me...

Basically what is happening, is that the original image of my OS (WinXP Pro
SP1) is created with the language US international installed for keyboard
layout. The problem is when a new user log on the machine, by default, the
language for the keyboard is configured with US International. Then we have
to change it manually for another keyboard layout (Spanish, portuguese), for
each new profile that is created in this machine.

Does someone know how to change it for all new profile once?
I mean,for exemple, change the default input language for spanish, so each
new user that log on the machine, the profile come with this language.

Thanks!
 
C

Cees

I was dealing with the same problem last week. The solution I found
is:

1) Configure your user profile with the right Regional Settings

2) Add these lines to the sysprep.inf (adjust it to your locals).

[RegionalSettings]
LanguageGroup=1
UserLocale=00000809
UserLocale_DefaultUser=00000809
InputLocale=0809:00020409;0809:00000409
InputLocale_DefaultUser=0809:00020409;0809:00000409
SystemLocale=00000809

0809 = UK, 00000409 = US, 00020409 = US International

3) Use the KB article 319974 to copy your settings to the default user
profile

4) Change the registry settings for the default user profile. I used
this .REG file:

[-HKEY_USERS\.DEFAULT\Keyboard Layout\Preload]
[HKEY_USERS\.DEFAULT\Keyboard Layout\Preload]
"1"="00000809"
"2"="d0000809"

[-HKEY_USERS\.DEFAULT\Keyboard Layout\Substitutes]
[HKEY_USERS\.DEFAULT\Keyboard Layout\Substitutes]
"00000809"="00020409"
"d0000809"="00000409"

Basically this is needed to delete other Regional Settings from the
default user profile. You can base this registry file on an export
from HKEY_CURRENT_USER. If you have special settings set in
[HKEY_CURRENT_USER\.DEFAULT\Control Panel\International] you can also
import them in [HKEY_USERS\.DEFAULT\Control Panel\International].

5) Export HKEY_USERS\.DEFAULT\Keyboard Layout and
HKEY_USERS\.DEFAULT\Control Panel\International to a .REG file (or use
the files from step 4) and put them in the c:\sysprep\i386\$oem$
directory. Add these lines to cmdlines.txt
"cmd /c regedit /s .\int.reg"
"cmd /c regedit /s .\keyb.reg"
Search Microsoft's website for an exact use of this functionality.

6) Run sysprep -reseal -mini -quiet –reboot (or a variant).

Maybe some steps are not necessary. I know that leaving step 1 results
in unwanted US settings. Leaving step 4 adds settings you used in the
past. Some specials settings where lost when I skipped step 5.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top