Setting keyboard language on a domain.

We're using English version of Windows 2000 Server, and Swedish versions of Windows 2000 on the workstations.

When a new user logs on to the domain for the first time, the keybaod is set by default to English. Unfortunately we need Swedish, since we're using a Swedish keyboad.

Is there some way I can fix it so that the keybaod is set to Swedish? WHere is the the keyboard setting stored? Is

I cannot use GPOs on this one. Perhaps there some script I can add to NETLOGON to do the jobl?


LVL 11
Who is Participating?
Debsyl99Connect With a Mentor Commented:
Yep that'll do it - I was just about to post the relevant article for 2k
How to Create a Base Profile for All Users;EN-US;168475

Deb :))
Debsyl99Connect With a Mentor Commented:

The registry setting I think would be at this key: [HKEY_USERS\.DEFAULT\Keyboard Layout\Preload]
Details for your language setting are as below:
Cannot Logon After Changing Keyboard Settings

You could save the following into a text file, rename it as a reg file say keyboard.reg, then save it into the netlogon folder.

Windows Registry Editor Version 5.00

[HKEY_USERS\.DEFAULT\Keyboard Layout\Preload]


Then in the logon script include this line:

regedit /s \\yourdcservername\NETLOGON\keyboard.reg

Obviously test it first!

Deb :))
Jason210Author Commented:
Thanks - I'll try it out. Btw, what does the /s switch do?
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Jason210Author Commented:

Two problems.

1) SInce the workstations are being used by Domain Users, they don't have the right to write to the registry.

2) If you do it as a Domain Admin, the script certainly puts the information into the registry, but this doesn't change the keyboard. Nothing happened. I tried a few times but no joy.

Would appreciate more help if possible :)
Jason210Author Commented:
How does this sound? I tried it, and it seems to work, but I don't know if it could have unknown side effects.

I logged into an admin account, and made its Desktop and keyboard settings they way I wanted them, and then copied the admin profile's NTUSER.DAT file to the default user profile. I customised this default user a bit more, then saved it somewhere.

Next, I chose a user profile on a workstation, and removed both the local and central profiles, and replaced the default user on that workstation with the new Default User I created and saved before.

When I log in as the user, the new profile is created by the default user profile, and seems to work fine. There are one or two blips to be ironed out, like the MS Word settings etc, but generally it seemed to work 0k

The only problem with it is I must do this on every workstatio, unless I could just copy this default user profile to the users central profiles on the server. That way it should work, and be easy to implement (can use a file copying program).

Let me know if you think this is an acceptable solution.

Jason210Author Commented:
Actually, the above only works if I put the default user file in Documents and Settings of each machine manually :(

In Windows NT4.0, one used to be able to edit the NTUSER hive, or create a profile as a template and the copy the NTUSER.DAT file using a special tool. One could also create a default user folder in netlogon so that everytime a new user logged on, it took the NTUSER:DAT file from there.

If I could do this in Windows 2000 server, for windows 2000 and XP stations that would be great.
Jason210Author Commented:
Fixed fixed fixed!

The MS Knowledge Base Article 146050 helped a lot, thought this was for NT4.0, not Win2K.

I copied a "default user" folder from a workstation to NETLOGON. Then I modifeid the contents of the folder for Swedish keyboard layouts. This was accomplished as follows:

1.      Start regedt32
2.      Select the “HKEY USERS on local machine” window
3.      Make sure that both “Tree and Data” are visible from the view window.
4.      From the registry menu, choose “Load Hive”
5.      From the “Default Folder” you placed in NETLOGON, select the NTUSER.DAT file
6.      In the “Key Name” field, type NTUSER
7.      Select the NTUSER registry key
8.      Goto “/Default / Keyboard Layout / Preload” and set “1” to “0000041d”. This is the code for a Swedish Keyboard.
9.      Unload the Hive “NTUSER”    
10.      Quit the Registry Editor

Now when a new user logs on for the first time, the profile is created using the "Default User" profile in NETLOGON, which has the correct keyboard setting in NTUSER.DAT
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.