Jump to content

Removing Unwanted Us Keyboard Option


Recommended Posts


Ive got this in the winnt.sif but it doesnt get rid of the English[united states keyboard]

[unattended]

KeyboardLayout="United Kingdom"

[RegionalSettings]

Language=00000809

LanguageGroup=1

SystemLocale=00000809

UserLocale=00000809

InputLocale=0809:00000809

UserLocale_DefaultUser=00000809

InputLocale_DefaultUser=0809:00000809

any other ideas.

Link to comment
Share on other sites

THIS IS AN EXEMPLE

You need to use a Reg tweak to delete the us/us keyboard....

I do similar for the french/france..

Lets show you an exemple

;-----[CANADA-FR]-----

[HKEY_CURRENT_USER\Control Panel\International\Geo]

"Nation"="39"

[-HKEY_CURRENT_USER\Keyboard Layout\Preload]

"2"="0000040c"

[HKEY_CURRENT_USER\Keyboard Layout\Preload]

"1"="00000c0c"

So... if you look carefully , i delete the preload and replace by the good one 

I hope it will help!

Good luck...

Use you own parameters

Link to comment
Share on other sites

im in the testing process but intend to try.

run a vbs file from my CMDLINES.txt which deletes the second string.

WSHShell.Regdelete "HKEY_USERS\.DEFAULT\Keyboard Layout\Preload\2"

I am hoping this will remove change the default user setting so when profiles are created thereafter it will not have English[uS] keyboard as a second option.

ill post my results.

Link to comment
Share on other sites

OK.

ive got the cmdlines.txt pointing to a upadtes.cmd which is located on a:\ with the winnt.sif file.

this cmd file then is set to run regedit.exe /s keyboard.reg.

keyboard.reg is located on a:\ too.

the reg file is set to delete

HKEY_USERS\.DEFAULT\Keyboard Layout\Preload\2 string

as this is the keyboard string for English[uS] keyboard in current user (current user is not created so was hoping to clear from user\.default.

the problem I have is that its not removing this keyboard layout in the default user profile.

is HKEY_USERS\.DEFAULT\ the default user string area?

as an idea if I put a correct ntuser.dat file into the $oem$\$progs\default user will this copy into the default user profile or is the profile not created at T-12?

im sure its easy to get rid of this keyboard option. any one any ideas.?

Link to comment
Share on other sites

ok use HKEY_CURRENT_USER at T-12 , it will make default for all user...

Dont use Curent_user.. i try to find the reference on the unattend web site guide but i think it was not there..

Good luck

Link to comment
Share on other sites

Hi Fett,

you have contradicted youself on your reply.

so you recon I should remove the "2" string from current _user at T-12 & not from hk_user\.default to get the US keyboard removed from the default user profile..?

Link to comment
Share on other sites

OK, ill explain you CLEARLY all the step you need to do.

1- make sure you put the right valor in your WINNT.SIF

"EXEMPLE for canadian-french"

[RegionalSettings]
   LanguageGroup=1
   SystemLocale=00000c0c
   UserLocale=00000c0c
   UserLocale_DefaultUser=00000c0c
   InputLocale=0c0c:00001009
   InputLocale_DefaultUser=0c0c:00001009

2-AT T-12 (by using cmdlines.txt)

"EXEMPLE"

[COMMANDS]
"REGEDIT /S .\$1\support\apps\install\modifs.REG"

3-This is a sample of the modifs.reg

Windows Registry Editor Version 5.00
;-----[CANADA-FR]-----
[HKEY_CURRENT_USER\Control Panel\International\Geo]
"Nation"="39"
[-HKEY_CURRENT_USER\Keyboard Layout\Preload]
"2"="0000040c"
[HKEY_CURRENT_USER\Keyboard Layout\Preload]
"1"="00000c0c"

4-NOW , you need to find your OWN valor for your keyboard.

5-I never say to make modifications to HKEY_USERS... i really don't know why you start to do this ... i always tell you to put a modification at T-12 on CURRENT_USER.

6- if this is not enought clear, plz take 5-6 minutes like everyone in there, and expand the deploy.cab and check it out REF.CHM

7-Finally Good luck. :hello:

Link to comment
Share on other sites

Hi Fett,

its working.

i created this in my keyboard.reg file

REGEDIT4

[HKEY_CURRENT_USER\Keyboard Layout\Preload]

"2"=-

it runs a t12 & all my users now do not have a English[us] keyboard option.

thanks all for your help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...