D
D
Dmitry Dmitriev2017-03-29 22:27:40
System administration
Dmitry Dmitriev, 2017-03-29 22:27:40

How to add layout to all users?

Set up the system so that all new users have the Russian keyboard layout automatically added during the first login. (Windows 7) I tried through the registry HKU> defaults> keyboard layout> preload but it still only creates for a specific user

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2017-03-29
@plin2s

Control panel - language and reg... - advanced - copy settings.
I don't know where in the registry, but you can install some program that monitors registry changes and compares the result "before and after".

S
Soprano, 2017-03-31
@Soprano

1. Keyboard layout settings can be controlled remotely only through the registry. Even Windows 2008 r2 group policies don't have options to control this. Then there are two options: use scripts (Visual Basic or PowerShell) or just create a registry file. I chose the registry file, because I'm not friends with VBS, and PS is not yet available on all machines.
2. I am writing a .reg file, which will then need to be imported to all machines in the domain. In principle, I’m not even writing as much as collecting information from different branches of the registry of a properly configured machine. I get this file:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Keyboard Layout\Preload] //registry branch responsible for the languages ​​of the user logged in. (1- default)
"1"="00000409" //English
"2"="00000419" //Russian
"3"="00000422"//Ukrainian
[HKEY_CURRENT_USER\Keyboard Layout\Toggle] //Registry branch responsible for keyboard shortcuts when switching languages
​​"Language Hotkey"="2" // Change key combinations for switching between input languages. (2-CTRL+SHIFT; 1-ALT(left)+SHIFT; 3-disabled)
"Hotkey"="2" //Change key combinations for switching keyboard layout and switching between languages
​​"Layout Hotkey"="3" //Change keyboard shortcuts for switching the keyboard layout.
[HKEY_USERS\.DEFAULT\Keyboard Layout\Preload] //registry branch responsible for languages ​​when logging in (login/password entry)
"2"="00000419" //Russian
"3"
Here is such a file. I call it something like test.reg. Next, you need to force all computers in the domain to add information from this file to the registries.
3. On the domain controller, go to %systemroot%\SYSVOL\domain\Policies\{GUID Policy}\USER\Scripts\Logon and put test.reg there. I applied this script to the Default Domain Policy.
4. Open the group policy management editor for the desired group policy. Go to User Configuration\Policies\Windows Configuration\Scripts\Login Click the "Add" button. In the "Script name" field we write regedit.exe, in the "Script parameters" field we write /s test.reg. and save the data. Everything is ready.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question