Solved

Setting keyboard language on a domain.

Posted on 2004-09-02
7
1,129 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
Comment Utility
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
Comment Utility
Thanks - I'll try it out. Btw, what does the /s switch do?
0
 
LVL 11

Author Comment

by:Jason210
Comment Utility
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 11

Author Comment

by:Jason210
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

763 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

11 Experts available now in Live!

Get 1:1 Help Now