Customization Info

WinPE available through Windows ADK

PenBoot uses WinRE found in the hidden partition recovery of any Windows 10 instalation due its WiFi support.

This file can be found in (Hidden partition)\Recovery\WindowsRE\Winre.wim

WinRE (Recovery Environment) basically is a "WinPE" with WiFi Support and optional packages.

Windows PE (WinPE) is a small operating system used to install, deploy, and repair Windows 10 for desktop editions (Home, Pro, Enterprise, and Education), Windows Server, and other Windows operating systems.

It's free and available to download and install through Windows ADK in the link below.

https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install

Options needed in ADK installation:

- Deployment Tools (WDS Capture)

- Windows Preinstallation Environment (Windows PE) (Add-on)

Windows ADK Tools used to customize the default WinRE file

All customizations were made in the .wim file, this format is used to store the Windows installation files or its installation boot in this case.

After installed Windows ADK, you must run as Administrator the "Deployment and Imaging Tools Environment" at Start Menu -> Windows Kits.

The working directory used was C:\PenBoot\

Using ADK to copy the files needed to create WinPE:
copype x86 C:\PenBoot\CopyPE_x86

Recover the file winre.wim from the hidden recovery partition of any Windows 10 x86 installation and save in:

"C:\PenBoot\WinRE_x86\winre.wim"

Replace default WinPE file (boot.wim) with the WinRE file (winre.wim)
copy /Y "C:\PenBoot\WinRE_x86\winre.wim" "C:\PenBoot\CopyPE_x86\media\sources\boot.wim"

Mount the boot.wim as folder in C:\PenBoot\Mount_x86
mkdir "C:\PenBoot\Mount_x86"
dism /Mount-Image /ImageFile:"C:\PenBoot\CopyPE_x86\media\sources\boot.wim" /index:1 /MountDir:"C:\PenBoot\Mount_x86"

Integrate WiFi Drivers from Windows 10 x86 installation to the boot.wim mounted as folder in C:\PenBoot\Mount_x86
dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\c_net.inf_x86_15a4efb0635a16c5" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\c_netclient.inf_x86_5abc4f0de74679b3" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\c_netdriver.inf_x86_00658f158143d274" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\c_netservice.inf_x86_3d7c63acf8bb3de2" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\c_nettrans.inf_x86_990003bb171ce4a0" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\ndisvirtualbus.inf_x86_1718fc777f115765" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\net1i32.inf_x86_033ef410388ab699" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\net1y32.inf_x86_c0197ee651d2e826" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\net44x32.inf_x86_77c5be8f600dac2b" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\net7400-x86-n650.inf_x86_a7565bfd92cdb7bf" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\net7500-x86-n650f.inf_x86_b26290549b2a940e" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\net7800-x86-n650f.inf_x86_a98e32a32593cb02" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\net8185.inf_x86_f78e4cb1703f89a3" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\net8187bv32.inf_x86_6e8b9c762f10d047" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\net8187se86.inf_x86_7f6e89511b2e4c42" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\net8192se32.inf_x86_305890bcd3fe2aa7" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\net8192su32.inf_x86_a64a52538ab6fad2" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\net819xp.inf_x86_ff7a5dd4f9b1ceba" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\net9500-x86-n650f.inf_x86_152b5237fa66f54b" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netathr.inf_x86_9c9f95194d610dd7" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netathr10.inf_x86_867b426cc1113c41" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netavpna.inf_x86_95c7c80a4884b541" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netax88179_178a.inf_x86_b6748bc8bb8ccf4d" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netax88772.inf_x86_c99cffb148dfe775" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netbc63.inf_x86_3d1dd2b425eb6c24" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netbc64.inf_x86_b96cdf411c43c00c" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netbrdg.inf_x86_f946aff6350b6e45" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\nete1e32.inf_x86_c9be09a0af020561" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\nete1g32.inf_x86_0fde6ecb6b54d966" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netefe32.inf_x86_05c036f00b4d52cc" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netgb6.inf_x86_93d66a4118af1543" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netimm.inf_x86_8b2087393aaef952" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netip6.inf_x86_31dd7af878758e87" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netirda.inf_x86_ebf5037df8472325" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netjme.inf_x86_41f6fe6cc427d886" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netk57x.inf_x86_0f0b81c567aef8ea" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netl160x.inf_x86_7ac80f91030e74b5" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netl1c63x86.inf_x86_e1ed552a3da89b5f" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netl1e86.inf_x86_14d32e23c2129ce2" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netl260x.inf_x86_202cd88ffbb3ae5b" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netlldp.inf_x86_ba353b4e12498c35" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netloop.inf_x86_19fb3ed1d542e83d" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netmscli.inf_x86_490fd42161b83129" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netmyk32.inf_x86_6b4c6d5153166841" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netnb.inf_x86_2074b6c6bca0a490" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netnvm32.inf_x86_e5df46a6fd1fa388" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netnvmx.inf_x86_e152a0bede442cdc" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netnwifi.inf_x86_154f622255fe72cc" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netpacer.inf_x86_90bc2f0046730c99" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netpgm.inf_x86_8faae556b9e942a0" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netr28.inf_x86_5e7ff495fdc3cfaa" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netr28u.inf_x86_9b65e3cdaaba5a91" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netr73.inf_x86_99caf980cabf121f" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netrasa.inf_x86_da3bcd91758002d4" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netrass.inf_x86_eecba14e2ba07451" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netrast.inf_x86_3251830d6de8eefa" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netrndis.inf_x86_63def780ad4b5e0b" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netrtl32.inf_x86_a94a5ec8eba999ba" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netrtwlane.inf_x86_b0724952e4706583" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netrtwlane01.inf_x86_08acd2b5031df76d" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netrtwlane_13.inf_x86_fa10ec4369ed55f8" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netrtwlans.inf_x86_539bd1e55ead5979" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netrtwlanu.inf_x86_661a09f23f110ff4" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netserv.inf_x86_d233e9f4d99ba494" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netsstpa.inf_x86_46e811d1340c9851" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\nettcpip.inf_x86_358546c6fad80cff" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netvchannel.inf_x86_2e3bbc56398168de" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netvf63.inf_x86_54fa3c5e2f708f98" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netvg63.inf_x86_d1a2357d95d8a0dc" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netvwifibus.inf_x86_b49edd779b199eff" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netvwififlt.inf_x86_98044d7e2e228ac8" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netvwifimp.inf_x86_fb1287fbdb00f56c" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netvwwanmp.inf_x86_ed777fc28878ace8" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netwbn02.inf_x86_316933ec5c7e3aed" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netwen00.inf_x86_48f5dde55f2b1645" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netwen01.inf_x86_199ef79d312842c2" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netwlv32.inf_x86_c4be0e0b8063116d" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netwmbclass.inf_x86_ddd86a444597b498" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netwns32.inf_x86_11fb09f18f9511a2" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netwsn00.inf_x86_83f25cf896985982" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netwtn02.inf_x86_47bb64d811cc75fb" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\netwtn04.inf_x86_07759079393fc620" /Recurse /ForceUnsigned

dism /Add-Driver /Image:"C:\PenBoot\Mount_x86" /Driver:"C:\Windows\System32\DriverStore\FileRepository\npsvctrig.inf_x86_781bb06d8a348ba1" /Recurse /ForceUnsigned

Add WinPE Optional Packages to the boot.wim mounted as folder in C:\PenBoot\Mount_x86
dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-Dot3Svc.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\en-us\WinPE-Dot3Svc_en-us.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-EnhancedStorage.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\en-us\WinPE-EnhancedStorage_en-us.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-FMAPI.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-Fonts-Legacy.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-HTA.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\en-us\WinPE-HTA_en-us.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-LegacySetup.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\en-us\WinPE-LegacySetup_en-us.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-NetFX.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\en-us\WinPE-NetFX_en-us.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-PlatformId.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-PowerShell.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\en-us\WinPE-PowerShell_en-us.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-RNDIS.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\en-us\WinPE-RNDIS_en-us.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-Scripting.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\en-us\WinPE-Scripting_en-us.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-SecureBootCmdlets.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-SecureStartup.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\en-us\WinPE-SecureStartup_en-us.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-Setup.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\en-us\WinPE-Setup_en-us.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-Setup-Server.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\en-us\WinPE-Setup-Server_en-us.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-Setup-Client.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\en-us\WinPE-Setup-Client_en-us.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-StorageWMI.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\en-us\WinPE-StorageWMI_en-us.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-WDS-Tools.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\en-us\WinPE-WDS-Tools_en-us.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-WinReCfg.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\en-us\WinPE-WinReCfg_en-us.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-WMI.cab"

dism /Add-Package /Image:"C:\PenBoot\Mount_x86" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\en-us\WinPE-WMI_en-us.cab"

Set System Regional Settings in the boot.wim mounted as folder in C:\PenBoot\Mount_x86
dism /Set-SysLocale:en-US /Image:"C:\PenBoot\Mount_x86"

Set User Regional Settings in the boot.wim mounted as folder in C:\PenBoot\Mount_x86
dism /Set-UserLocale:en-US /Image:"C:\PenBoot\Mount_x86"

Change Keyboard layout to Brazilian ABNT2 in the boot.wim mounted as folder in C:\PenBoot\Mount_x86
dism /Set-InputLocale:0416:00010416 /Image:"C:\PenBoot\Mount_x86"

Change Time Zone to South America Time in the boot.wim mounted as folder in C:\PenBoot\Mount_x86
dism /Set-TimeZone:"E. South America Standard Time" /Image:"C:\PenBoot\Mount_x86"

Set Memory reservation for temporary storage X: in the boot.wim mounted as folder in C:\PenBoot\Mount_x86
dism /Image:"C:\PenBoot\Mount_x86" /Set-ScratchSpace:128

Copy all Tools previous downloaded in C:\PenBoot\Customizations_x86\Tools to the boot.wim mounted as folder in C:\PenBoot\Mount_x86
xcopy /Y /E /H /R /C "C:\PenBoot\Customizations_x86\Tools\*.*" "C:\PenBoot\Mount_x86\Tools\"

Copy Jura Font previous downloaded in C:\PenBoot\Customizations_x86\Windows\Fonts to the boot.wim mounted as folder in C:\PenBoot\Mount_x86
xcopy /Y /E /H /R /C "C:\PenBoot\Customizations_x86\Windows\Fonts\*.*" "C:\PenBoot\Mount_x86\Windows\Fonts\"

Copy Windows Tools and DLLs needed by some programs to the boot.wim mounted as folder in C:\PenBoot\Mount_x86
copy /Y "C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\x86\DISM\imagex.exe" "C:\PenBoot\Mount_x86\Windows\System32\"

copy /Y "C:\Windows\System32\apphelp.dll" "C:\PenBoot\Mount_x86\Windows\System32\"

copy /Y "C:\Windows\System32\ExplorerFrame.dll" "C:\PenBoot\Mount_x86\Windows\System32\"

copy /Y "C:\Windows\System32\msvbvm60.dll" "C:\PenBoot\Mount_x86\Windows\System32\"

copy /Y "C:\Windows\System32\msvfw32.dll" "C:\PenBoot\Mount_x86\Windows\System32\"

copy /Y "C:\Windows\System32\pdh.dll" "C:\PenBoot\Mount_x86\Windows\System32\"

copy /Y "C:\Windows\System32\pdhui.dll" "C:\PenBoot\Mount_x86\Windows\System32\"

copy /Y "C:\Windows\System32\shdocvw.dll" "C:\PenBoot\Mount_x86\Windows\System32\"

copy /Y "C:\Windows\System32\shfolder.dll" "C:\PenBoot\Mount_x86\Windows\System32\"

copy /Y "C:\Windows\System32\tzutil.exe" "C:\PenBoot\Mount_x86\Windows\System32\"

copy /Y "C:\Windows\System32\url.dll" "C:\PenBoot\Mount_x86\Windows\System32\"

copy /Y "C:\Windows\System32\wow32.dll" "C:\PenBoot\Mount_x86\Windows\System32\"

copy /Y "C:\Windows\System32\en-us\apphelp.dll.mui" "C:\PenBoot\Mount_x86\Windows\System32\en-us\"

copy /Y "C:\Windows\System32\en-us\ExplorerFrame.dll.mui" "C:\PenBoot\Mount_x86\Windows\System32\en-us\"

copy /Y "C:\Windows\System32\en-us\msvfw32.dll.mui" "C:\PenBoot\Mount_x86\Windows\System32\en-us\"

copy /Y "C:\Windows\System32\en-us\pdh.dll.mui" "C:\PenBoot\Mount_x86\Windows\System32\en-us\"

copy /Y "C:\Windows\System32\en-us\pdhui.dll.mui" "C:\PenBoot\Mount_x86\Windows\System32\en-us\"

copy /Y "C:\Windows\System32\en-us\shdocvw.dll.mui" "C:\PenBoot\Mount_x86\Windows\System32\en-us\"

copy /Y "C:\Windows\System32\en-us\tzutil.exe.mui" "C:\PenBoot\Mount_x86\Windows\System32\en-us\"

Create empty folders needed by the system to the boot.wim mounted as folder in C:\PenBoot\Mount_x86
mkdir "C:\PenBoot\Mount_x86\Windows\System32\Config\SystemProfile\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\"

mkdir "C:\PenBoot\Mount_x86\Windows\System32\Config\SystemProfile\Desktop\"

mkdir "C:\PenBoot\Mount_x86\Windows\System32\Config\SystemProfile\Documents\"

mkdir "C:\PenBoot\Mount_x86\Windows\System32\Config\SystemProfile\Downloads\"

mkdir "C:\PenBoot\Mount_x86\Windows\System32\Config\SystemProfile\Music\"

mkdir "C:\PenBoot\Mount_x86\Windows\System32\Config\SystemProfile\Pictures\"

mkdir "C:\PenBoot\Mount_x86\Windows\System32\Config\SystemProfile\Videos\"

Copy created and customized files previous saved in C:\PenBoot\Customizations_x86\Windows\System32 to the boot.wim mounted as folder in C:\PenBoot\Mount_x86
copy /Y "C:\PenBoot\Customizations_x86\Windows\System32\changes.reg" "C:\PenBoot\Mount_x86\Windows\System32\"

copy /Y "C:\PenBoot\Customizations_x86\Windows\System32\startnet.cmd" "C:\PenBoot\Mount_x86\Windows\System32\"

copy /Y "C:\PenBoot\Customizations_x86\Windows\System32\timeout.exe" "C:\PenBoot\Mount_x86\Windows\System32\"

copy /Y "C:\PenBoot\Customizations_x86\Windows\System32\winpeshl.ini" "C:\PenBoot\Mount_x86\Windows\System32\"

Unmount folder C:\PenBoot\Mount_x86 with the changes back to the C:\PenBoot\CopyPE_x86\media\sources\boot.wim
dism /Unmount-Image /MountDir:"C:\PenBoot\Mount_x86" /commit

Create an ISO File from all Files in C:\PenBoot\CopyPE_x86
mkdir "C:\PenBoot\Iso_x86"

makewinpemedia /ISO "C:\PenBoot\CopyPE_x86" "C:\PenBoot\Iso_x86\penboot10x86.iso"

Tools and Custom Files copied to the WinRE file

Tools\Desktop\
AutoHotKey - (Downloaded from Internet)
DesktopInfo - (Downloaded from Internet)
DesktopSnowOK - (Downloaded from Internet)
DualMonitorTools - (Downloaded from Internet)

Tools\DiskTools\
AOMEIPartitionAssistantStandard - (Downloaded from Internet)
CheckDiskGUI - (Downloaded from Internet)
CloneDisk - (Downloaded from Internet)
CrystalDiskInfo - (Downloaded from Internet)
CrystalDiskMark - (Downloaded from Internet)
DD - (Downloaded from Internet)
DiskExplorer - (Downloaded from Internet)
DiskWipe - (Downloaded from Internet)
GimageX - (Downloaded from Internet)
LinuxReader - (Downloaded from Internet)
Odin - (Downloaded from Internet)
OSFMount - (Downloaded from Internet)
QEMU-Img - (Downloaded from Internet)
RoadKilsRawCopy - (Downloaded from Internet)
SimpleVhdManager - (Downloaded from Internet)
UltraDefrag - (Downloaded from Internet)
Vhd2Disk - (Downloaded from Internet)
VHD-X-Tools - (Downloaded from Internet)
VictoriaHDD - (Downloaded from Internet)
Vmdk2Phys - (Downloaded from Internet)
WinDirStat - (Downloaded from Internet)
ZFSforWin - (Downloaded from Internet)

Tools\FileCopy\
FastCopy - (Downloaded from Internet)
MiniWeb - (Downloaded from Internet)
RoadKilsUnstoppableCopier - (Downloaded from Internet)
WinSCP - (Downloaded from Internet)

Tools\ForensicTools\
BulkFileChanger - (Downloaded from Internet)
FreeHexEditor - (Downloaded from Internet)
JauntePE - (Downloaded from Internet)
NTFSLinksView - (Downloaded from Internet)
Volatility - (Downloaded from Internet)

Tools\Games\
Bricks2000 - (Downloaded from Internet)
FreeDoom - (Downloaded from Internet)
SlowChessBlitzWV - (Downloaded from Internet)

Tools\Help\
AllProgramsHelp.txt - (created)

Tools\InternetTools\
OperaUsb - (Downloaded from Internet)
WackGet - (Downloaded from Internet)

Tools\NetworkTools\
Arp-Ping - (Downloaded from Internet)
CurrPorts - (Downloaded from Internet)
NetUseGUI - (Downloaded from Internet)
PortScan - (Downloaded from Internet)
PuTTY - (Downloaded from Internet)
SmartSniff - (Downloaded from Internet)
Tcping - (Downloaded from Internet)
UltraVncServer - (Downloaded from Internet)
UltraVncViewer - (Downloaded from Internet)
WakeMeOnLAN - (Downloaded from Internet)

Tools\OnlineTools\
OnlineTools.bat - (created)
OnlineTools.ico - (created)

Tools\RecoveryTools\
IEPassView - (Downloaded from Internet)
NTPWEdit - (Downloaded from Internet)
Produkey - (Downloaded from Internet)
Restoration - (Downloaded from Internet)
SkypeLogView - (Downloaded from Internet)
Testdisk - (Downloaded from Internet)

Tools\StartMenu\
Devmanview - (Downloaded from Internet)
FreeVirtualKeyboard - (Downloaded from Internet)
NeatMouse - (Downloaded from Internet)
PENetworkManager - (Downloaded from Internet)
Scripts - (created)
SetRes - (Downloaded from Internet)
Shellpe - (Downloaded from Internet)
VirtualMagnifyingGlass - (Downloaded from Internet)
Xyplorer - (Downloaded from Internet)

Tools\SystemTools\
BlueScreenView - (Downloaded from Internet)
ConEmu - (Downloaded from Internet)
CoreUtils - (Downloaded from Internet)
CPU-Z - (Downloaded from Internet)
NetworkInterfacesView - (Downloaded from Internet)
ProcessHacker - (Downloaded from Internet)
RegFromApp - (Downloaded from Internet)
RegistryLoaderPE - (Downloaded from Internet)
RegScanner - (Downloaded from Internet)
Regshot - (Downloaded from Internet)
SmartDriverBackup - (Downloaded from Internet)
WinLogonView - (Downloaded from Internet)

Tools\Utilities\
7-Zip - (Downloaded from Internet)
AntRenamer - (Downloaded from Internet)
DoubleFinder - (Downloaded from Internet)
Everything - (Downloaded from Internet)
FileSplitter - (Downloaded from Internet)
FreeStopWatch - (Downloaded from Internet)
FreeVimager - (Downloaded from Internet)
InfraRecorder - (Downloaded from Internet)
Jarte - (Downloaded from Internet)
LightShot - (Downloaded from Internet)
Notepad++ - (Downloaded from Internet)
SendEmail - (Downloaded from Internet)
SumatraPDF - (Downloaded from Internet)

Windows\Fonts\
jura-regular.ttf - (Downloaded from Internet)
OFL.txt (Downloaded from Internet)

Windows\System32\
apphelp.dll - (Copied from a Windows installation)
changes.reg - (Created) - files associations, registry DLLs referencies, Computername, etc...
ExplorerFrame.dll - (Copied from a Windows installation)
imagex.exe - (Copied from Windows ADK\Assessment and Deployment Kit\Deployment Tools\x86\DISM)
msvbvm60.dll - (Copied from a Windows installation)
msvfw32.dll - (Copied from a Windows installation)
pdh.dll - (Copied from a Windows installation)
pdhui.dll - (Copied from a Windows installation)
shdocvw.dll - (Copied from a Windows installation)
shfolder.dll - (Copied from a Windows installation)
startnet.cmd - (Customized) - Apply changes.reg, start services and run programs.
timeout.exe - (Downloaded from Internet)
tzutil.exe - (Copied from a Windows installation)
url.dll - (Copied from a Windows installation)
winpeshl.ini - (Customized) - Run ShellPE start menu after startnet.cmd
wow32.dll - (Copied from a Windows installation)

Windows\System32\en-us\
apphelp.dll.mui - (Copied from a Windows installation)
explorerframe.dll.mui - (Copied from a Windows installation)
msvfw32.dll.mui - (Copied from a Windows installation)
pdh.dll.mui - (Copied from a Windows installation)
pdhui.dll.mui - (Copied from a Windows installation)
shdocvw.dll.mui - (Copied from a Windows installation)
tzutil.exe.mui - (Copied from a Windows installation)

Windows\System32\Config\SystemProfile\AppData\
Roaming\Microsoft\Internet Explorer\Quick Launch (created and empty)

Windows\System32\Config\SystemProfile\
Desktop - (created and empty)
Documents - (created and empty)
Downloads - (created and empty)
Music - (created and empty)
Pictures - (created and empty)
Videos - (created and empty)