Rechercher dans ce blog

Affichage des articles dont le libellé est winPE. Afficher tous les articles
Affichage des articles dont le libellé est winPE. Afficher tous les articles

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 

 

 

 

samedi 2 novembre 2024

VHD VHDX Hyper V Windows sur USB WinToGO, boot a virtual disk, WINPE

 Convert-VHD (Hyper-V) | Microsoft Learn

https://learn.microsoft.com/en-us/powershell/module/hyper-v/convert-vhd?view=windowsserver2022-ps

 Optimize-VHD (Hyper-V) | Microsoft Learn 

https://learn.microsoft.com/en-us/powershell/module/hyper-v/optimize-vhd?view=windowsserver2022-ps

 Set-VHD (Hyper-V) | Microsoft Learn 

https://learn.microsoft.com/en-us/powershell/module/hyper-v/set-vhd?view=windowsserver2022-ps

 Hyper-V VHD and VHDX files: What, How, and Why

https://www.nakivo.com/blog/work-hyper-v-vhd-vhdx-files-essential-basics/ 

 Convert VHD to VHDX using Hyper-V Manager and Powershell - BDRSuite 

https://www.bdrsuite.com/blog/how-to-convert-vhd-to-vhdx-using-hyper-v-manager-and-powershell/#Physical

Converting Linux VHD's to VHDx » Kevin's Ramblings  

https://blog.kmsigma.com/2016/04/26/converting-linux-vhds-to-vhdx/

Convert, Resize, and Optimize VHD and VHDX files with PowerShell | mikefrobbins.com 

https://blog.kmsigma.com/2016/04/26/converting-linux-vhds-to-vhdx/

Boot to a virtual hard disk: Add a VHDX or VHD to the boot menu | Microsoft Learn 

https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/boot-to-vhd--native-boot--add-a-virtual-hard-disk-to-the-boot-menu?view=windows-10

 WinPE: Create bootable media | Microsoft Learn 

https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/winpe-create-usb-bootable-drive?view=windows-11 

Deploy Windows with a VHDX (Native Boot) | Microsoft Learn 

https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/deploy-windows-on-a-vhd--native-boot?view=windows-10 

Windows PE Basic Enhanced  

https://thedoggybrad.github.io/WindowsPEBasicEnhanced/

WinPE 11-10-8 Sergei Strelec 2024.09.20 (English version) 

https://manhpc.com/winpe-10-8-sergei-strelec-english-version/

Comment Créer Votre Propre LiveCD 

 https://recoverhdd.fr/blog/how-to-make-your-own-livecd.html#ch3

Why You Should Be Compacting Your Hyper-V Virtual Disks  

https://www.altaro.com/hyper-v/compact-hyper-v-virtual-disks-vhdx/