Solved

Setting keyboard language on a domain.

Posted on 2004-09-02
7
1,170 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 500 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
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
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 500 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Routing between two networks? 10 75
How To Delete Old VPN Generated Connections 3 75
Group Policy Question 7 72
AD Account Lockout 22 58
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
An article on effective troubleshooting
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

809 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