5 Replies Latest reply on Dec 4, 2008 5:50 AM by Fred

    Is it possible to change the keyboard layout in PE image?

    ahe Expert

      Hello,

       

      we want to include a user authentication in our PE image to hide some "problems". At first I've made a DOS batch but now I changed to AutoIt. Both have the same problem.

       

      The standard keyboard layout is EN-US, but we'll have sites in UK, NL, SK, PL, DE... all with different keyboard layouts. To hide the problems with searching the right key I want to give the "users" the option to switch to their language. But I don't have any idea to do this on PE or if it is possible...

       

      Regards
      Axel

        • 1. Re: Is it possible to change the keyboard layout in PE image?
          phoffmann SupportEmployee

          There probably IS a way to do it - since it's "just" an XP (albeit with fewer bells + whistles) - the problem that I see is that you'd need to find the right DLL's to include / add / replace in the image (which shouldn't be too big a deal) and (more importantly) change the registry of Win PE in such a way to point it to the respective keyboard driver (or load it, based on your AutoIT program)...

           

          ... ponders

           

          I'd search Microsoft-related forums to begin with ... for my part, I can't give you much more advice here. It's a fair problem to bring up, I've just not run across it myself nor have I a solution.

           

          Well - beyond what I do with most such things - just "switching" to US-keyboard layout in my head. It's more tricky for the AZERTY-languages of course ...

           

          Paul Hoffmann

          LANDesk EMEA Technical Lead

          • 2. Re: Is it possible to change the keyboard layout in PE image?
            ahe Expert

            Thank's Paul,

             

            I'm "switchint" to US-keyboard too...  and I don't use special letters in my password. But ohter do have problems to switch and find the right letter... or some letters are not existing for EN-US, likd ö, ä ü, ß (DE-DE) ...

             

            I've searched in some MS forums too, but it seems noone has this problem... the only thing I found in an older thread was, to change the file "WINPEDEF.INF", but I can't find it in the "LANDesk" image...

             

            Best regards
            Axel

            • 3. Re: Is it possible to change the keyboard layout in PE image?
              ahe Expert

              Hello Paul,

               

              I found a solution/workaround...

               

              There exist a plug-in for BartPE, named keyboard.exe.

               

              • I found it on my older BartPE CD,

              • I copied some keyboard-DLL's for several languages from my XP system to system32 (X:\i386\system32), and

              • start the tool with parameters, for example "gr" for germany.

              • then I start my application and I can use my german keyboard layout 

               

              Regards
              Axel

              • 4. Re: Is it possible to change the keyboard layout in PE image?
                phoffmann SupportEmployee

                Ah - great find. Thanks for posting it up on the forums :).

                 

                That should hopefully resolve similar quests from other folks in the future.

                 

                It's appreciated.

                 

                Paul Hoffmann

                LANDesk EMEA Technical Lead

                • 5. Re: Is it possible to change the keyboard layout in PE image?
                  Specialist

                  quick one on behalf of Jerome S.:

                  For AZERTY keyboard, inject kbdfr.dll in i386 directory of the WinPE image

                   

                  Fred