/build/static/layout/Breadcrumb_cap_w.png

Add the Language Bar for All New users of a PC

The IT Department for the library district where I work maintains the computer labs.  Because the users make up a diverse population, we include the Language Bar on every lab PC we deploy. When we were using imaging this wasn’t a problem because every user profile with the Language Bar was included in the build.

Since switching to scripted installations, the inclusion of the Language Bar became a problem.  Not wanting to manually add the Language Bar to each new PC and each user profile, we decided to try adding it to the default User profile, which would then cause all new users to inherit the Language bar settings from the default profile.

The first thing we did was capture the registry key from a machine where the Language Bar was already configured. In the registry, export the following key:

HKEY_CURRENT_USER\Keyboard Layout   --    For this project I called it LanguageBar.reg.

 

REM Load the default NTUSER.DAT file to a temporary hive.

reg.exe load HKEY_USERS\TEMPUSER "C:\Users\Default\NTUSER.DAT"

REM Inject the registry key to the Default User

reg.exe import ScriptedKeyboard.reg

REM  Unload and save the modified registry file

reg.exe unload HKEY_USERS\TEMPUSER

REM Stop processing this batch file

exit

 

I named the batch file reghack.bat.  For speed, you can leave out the REM statements….

 

Place the batch file and the registry file into a zip file for uploading to the K2000.

On the K2000, create an application Post-Install Task to run under Windows. 

For the command line, use:

     start/wait reghack.bat         (where reghack.bat is the name of your batch file.)

This method can also be used for other things you may want to include.

 


Comments

This post is locked

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ