podavies Posted July 9, 2008 Posted July 9, 2008 Hi,Im going mad here when i ever i build PE Boot CD using the WAIK it allways uses the US the keyboard.When i try and change the keyboard using wpeutil SetkeyboardLayout i get the error the "the command failed with status 0x80074005"anyone ever come across thisIs there a way to set the keyboard when i create the disk, ThanksPaul
Atheros Posted July 16, 2008 Posted July 16, 2008 have you tried the xml file approach? [unattend.xml] in the root of your pe2.0 image. <?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SetupUILanguage> <UILanguage>EN-GB</UILanguage> </SetupUILanguage> </component> </settings> <cpi:offlineImage cpi:source="wim:d:/build-3.rm.01/x86/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>don't know if this will work or not. worth a go though right?
Lasray Posted January 26, 2009 Posted January 26, 2009 Hi,I was just browsing through the forum as a new member and think I can answer this (albeit a bit late)Try adding 'wpeutil SetKeyboardLayout 0409:00000809' (without the quotes) as the first line of your startnet.cmd file
advocas Posted March 7, 2009 Posted March 7, 2009 (edited) I was searching for a solution to add a UK keyboard to an offline image but this fix didn't work for me I then found a blog with the following info which works great, I thought I would post it here as it took many hours of searching before I found the answer.intlcfg -InputLocale:en-GB -image:c:\winpe_x86\mountorintlcfg -InputLocale:0809:00000809 -image:c:\winpe_x86\mount orintlcfg -all:en-GB -image:c:\winpe_x86\mount The -all only changed the inputlocale for me I think this was because I don'y have the en-GB language packYou can check the settings using the following intlcfg -report -image:c:\winpe_x86\mount See http://technet.microsoft.com/en-us/library/cc722068.aspx for more detailsAlso if you are looking for language packs they are only available as part of Vista Ultimate or EnterpriseSee http://windowshelp.microsoft.com/Windows/e...ab5ecc1033.mspx********************Blog with original info look to the end ************************WinPE 2.0 with localized keyboard layoutSometimes things do not work out as they should (no, do not tell me that is always the case). Recently I tried to switch WinPE from Emglish to Swiss-French keyboard layout. For a customer not for me. I am not able to use rather Swiss nor Fench keyboards. But neververtheless, this should be easy. There is a switch existing to do this during theWinPE session but although reporting success we did not get it working. This may be my fault, but until someone shows me it is, I believe this is a bug. :-) Nevertheless together with my customer we found a workaround. It works like this: Mount Your WinPE 2.0 boot.wim file to a folder (read/write) Do an offline edit of the PE registry by loading the Default hive into the registry editor Change the key HKEY_CURRENT_USER\Keyboard Layout\Preload\1 to e.g. 0000100c for Swiss -French Unload the hive from the registry editor - This is important otherwise PE does not start, because the hive cannot be loaded. It still will be marked to be open by regedit. Unmount the boot.wim file using the /commit command line option. Then burn Your WinPE 2.0 image to a CD put it on a USB stick or on the hard disk It should be no problem now, to work under Your keyboard layout. //MOD EDITWe don't use the US qwerty keyboard in Belgium.First I changed the system32\STARTNET.CMD to include2 extra lines : wpeutil SetKeyboardLayout 0813:00000813 wpeutil SetUserLocale nl-BE wpeinitUnfortunately the keyboard was still Qwerty and not Belgian Azerty.Then I found out I had to start a new command prompt from the existing WINPE command window by executing the command :start CMD.EXEin this new Window the keyboard is now Belgian Azerty.Of course I didn't like this workaround,and then I found out there was another approach to make itwork natively in the first command window after WINPE has booted.Proceed as follows : While building WINPE,and when the WINPE image is mounted, perform the following 3 commands tochange inputlocale, system locale and user locale.Example for the "Belgian Dutch" azerty keyboard which is nl-be and mounted directory C:\winpe_x86\mount : intlcfg.exe -inputlocale:nl-be -image:c:\winpe_x86\mount intlcfg.exe -syslocale:nl-be -image:c:\winpe_x86\mount intlcfg.exe -userlocale:nl-be -image:c:\winpe_x86\mount Edited March 8, 2009 by Tripredacus added quote tag, clean extraneous info
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now