Solved

Setting keyboard language on a domain.

Posted on 2004-09-02
7
1,141 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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

914 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now