Ben Hunter

Architect - Microsoft Enterprise Services - Redmond

BDD 2007 - Tips and Tricks - Multiple Keyboard Locales

BDD 2007 - Tips and Tricks - Multiple Keyboard Locales

  • Comments 27
  • Likes

 

I have had recently had a couple of enquires from people having issues with setting multiple keyboard locales.

When setting the “KeyboardLocale” value using a Lite Touch new computer deployment any settings specified in the CustomSettings.ini are being ignored.

To solve this problem, update the KeyboardLocale line in the ZTIGather.xml file to set allow overwrites to true.

     <property id="KeyboardLocale" type="string" overwrite="true" description="Locale used for Keyboard, can be either 0409:00000409 or en-US format (default is OS Default)" />

You then need to make sure that you skip the locale selection screen, otherwise it will override any values specified in the customsettings.ini. Here is an example of the rules you will need to skip this screen:

     SkipLocaleSelection = YES

     UserLocale = en-NZ

     SystemLocale = en-NZ

     UIlanguage = en-US

     KeyboardLocale = 0413:00020409;0413:00000409;0409:00020409;0409:00000409;1409:00001409

When making this change you need to be aware of its effects. This will cause the last value gathered during rule processing to be the one used. So for example if you specify a KeyboardLacale in the database and it is also specified in the Default section then the last section processed will win(normally the first section will win), which usually means the values in the default section will win.

For more information on rule processing see this blog.

Disclaimer: The information on this site is provided "AS IS" with no warranties, confers no rights, and is not supported by the authors or Microsoft Corporation. Use of included script samples are subject to the terms specified in the Terms of Use.

Comments
  • I'm using BDD 2007 for distribution of Win XP on new computers, but I'm really not able to change regional settings, keyboard or add keyboard. Always it's set to OS default. I've tried your suggestions but nothing helps :(

    Michal

  • These settings are for Windows Vista. For XP you need to use different settings. for example the userlocale setting should be a numeric value:

    UserLocale=0409:00000409

    What settings are you using in the customsettings.ini and your unattend.txt/sysprep.inf files?

    Thanks,

    Ben

  • Hello.

    I use these parameters but it still doesn't work.

    LanguageGroup=2,1

    SystemLocale=00000405

    UserLocale=00000405

    InputLocale=0409:00000409,0405:00010405

    Thank you.

    Michal

  • Are you using XP or Vista?

    Also I would suggect putting these settings directly in the unattend.txt file if you are deploying XP.

    Thanks,

    Ben

  • Great Blog....

    Maybe offtopic, but any hints on howto change the default keyboard used by the litetouchpe_x86.iso or wim ?

    thanks

    andy

  • Hi Andy,

    You can do this by specifying KeyboardLocale value in the bootstrap.ini.

    Thanks,

    Ben

  • Ben,

    Any Way to get Vista to detect what keyboard Locale Vista is being deployed to and default to that?  I am running SMS OSD and created a image for WW deployment.  I have specified multiple keyboardlocales which creates that dropdown list in the lower right when Vista first loads but always defaults to english US.

  • Hi Rich,

    There is no automated way to do this that I know of. However you could use the location features of the BDD DB to set the locale settings.

    Thanks,

    Ben

  • Hi Ben,

    Another great post.  I'm deploying XP SP2 with MDT.  I want to bypass the BDD Welcome screen where it asks for the keyboard type.  I want United States to be entered automatically.  

    Here is what I have in my bootstrap.ini and it is not working.  

    SkipBDDWelcome=YES

    SkipLocaleSection=YES

    KeyboardLocale=0409:0000049

    Am I missing anything?  Do I need to enter anything else in the cs.ini?

    Thanks,

    Rich

  • Ben,

    Think I figured out what I was looking for.  It appears I have the proper information contained in the boostrap.ini, however, I need to update the deployment point and recreate the iso and the wim file.  Then redistribute it to WDS.

    Thanks,

    Rich

  • Ben,

    Unfortunately, my "fix" didn't work.  Any suggestions?

    Rich

  • Hi Rich,

    The locale for the US should be 0409:00000409. you had 49 on the end not 409.

    Maybe this is causing the issue.

    Thanks,

    Ben

  • Hey Ben,

    Sorry, that was a typo.  I do have the correct number - 409 for Keyboard Locale.  Any other ideas?  As far as you can see is everything else set right?

    Rich

  • Hi Rich,

    The setting you are applying is the default setting so it should just work witout you needing to specify a value.

    What is the exact error you are seeing?

    Thanks,

    Ben

  • Hi Ben,

    Actually, I don't get an error.  What I'm trying to accomplish is for my techs to PXE boot to WDS to deploy an image from MDT.  As soon as the Tech hits F12, I want it to take them to the screen where they enter their network credentials.  

    I could try to update the DP again and redistribute the boot.wim to WDS...Does everything look good for my boostrap.ini to accomplish my goal?

    Thanks,

    Rich