Rechercher dans ce blog

mercredi 6 novembre 2024

Change default keyboard language for Windows PE media

French_Standard 040c:0000040c, 0409:00000409     
French_Belgian     080c:0000080c, 0409:00000409
English_United_States 0409:00000409

wpeutil setkeyboardlayout 080c:0000080c

 

A)

You can setup your keyboard as follows:

  • In the customized Windows PE image, go to %SYSTEMROOT%\System32
  • Edit the file Startnet.cmd containing the startup script
  • Add the command:

    wpeutil setkeyboardlayout 0414:00000414
    

 B)

Permanently change the keyboard layout in WinPE:

  1. Mount the boot.wim image:

dism /mount-image /imagefile:"c:\windowspe\media\sources\boot.wim" /index:1 /mountdir:"c:\windowsPE\mount"

  1. Check the keyboard settings with the command below (active keyboards):

dism /image:"c:\windowsPE\mount" /get-intl

NOTE: Keep in mind that if you use the /online parameter instead of the /image parameter, you get the keyboard of your running windows installation instead of the one installed in the winpe image!!

  1. If the keyboard is not correct, you can change it with the command below:

dism /image:"c:\windowsPE\mount" /set-inputlocale:0813:00000813

NOTE: The inputlocale I have used above, is for the belgian period keyboard. Please change it to the value for your keyboard

  1. Unmount the image and commit the changes:

dism /unmount-image /mountdir:"c:\windowsPE\mount" /commit

  1. Create an iso file of the changed image

makewinpemedia /iso c:\windowsPE C:\windowspe.iso

  1. You can now test the iso by creating a virtual machine in hyper-V, and point to the iso you just created. If it boots, and works correct, you can create a bootable usb with the command below: (change D: to the drive letter of your usb device)

makewinpemedia /ufd c:\windowsPE D:

 

Set Keyboard Layout in MDT and SCCM Task Sequence

https://www.andersrodland.com/set-keyboard-layout-mdt-sccm-task-sequence/ 

Mettre la langue du clavier Fr dans WinPe

https://blog.piservices.fr/post/2012/12/30/Mettre-la-langue-du-clavier-Fr-dans-WinPe 

 

 

 

Aucun commentaire:

Enregistrer un commentaire