?
Solved

Setting keyboard language on a domain.

Posted on 2004-09-02
7
Medium Priority
?
1,299 Views
Last Modified: 2010-03-18
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?

/Jason

0
Comment
Question by:Jason210
  • 5
  • 2
7 Comments
 
LVL 20

Assisted Solution

by:Debsyl99
Debsyl99 earned 1500 total points
ID: 11964814
Hi

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
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q138/3/54.asp&NoWebContent=1

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]
"1"="0000041d"

.............................................................................................

Then in the logon script include this line:

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

Obviously test it first!

Deb :))
0
 
LVL 11

Author Comment

by:Jason210
ID: 11970571
Thanks - I'll try it out. Btw, what does the /s switch do?
0
 
LVL 11

Author Comment

by:Jason210
ID: 11970715
Hi

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 :)
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 11

Author Comment

by:Jason210
ID: 11970868
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.

/Jason
0
 
LVL 11

Author Comment

by:Jason210
ID: 11971022
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.
0
 
LVL 11

Author Comment

by:Jason210
ID: 11971647
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
0
 
LVL 20

Accepted Solution

by:
Debsyl99 earned 1500 total points
ID: 11971698
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
http://support.microsoft.com/default.aspx?scid=kb;EN-US;168475

Deb :))
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question