Default Keyboard for new users in Windows 7
Posted
by
xited
on Super User
See other posts from Super User
or by xited
Published on 2012-09-13T18:30:58Z
Indexed on
2012/09/15
3:40 UTC
Read the original article
Hit count: 249
I just installed Windows 7 and I want all users signing in to the computer to see the Language Bar customized with the following three languages:
"English (American)"
"French (Standard)"
"Chinese (Simplified PRC)"
I am running the following four lines of code at log on in order to change the registry such that each user will see the language bar, and then have access to the three keyboard layouts mentioned above.
reg add "HKCU\Software\Microsoft\CTF\LangBar" /v ShowStatus /t REG_DWORD /d 4 /f reg add "HKCU\Keyboard Layout\Preload" /v 2 /d 0000040c reg add "HKCU\Keyboard Layout\Preload" /v 3 /d 00000c0a reg add "HKCU\Keyboard Layout\Preload" /v 4 /d 00000804
The above works fine, but with one small/major inconvenience: the user has to log off and then log back on in order for these changes to take effect and see the language bar, as described above.
The question becomes:
How can I force these changes to take effect so that users don't have to log off and then log back in to see the language bar. This has to be done automatically when users log in.
© Super User or respective owner