Skip to content

Instantly share code, notes, and snippets.

@slimlime
Created October 8, 2022 22:45
Show Gist options
  • Save slimlime/4d943e01d89ed6f7fbc80be2c99163ab to your computer and use it in GitHub Desktop.
Save slimlime/4d943e01d89ed6f7fbc80be2c99163ab to your computer and use it in GitHub Desktop.
uupdump ConvertConfig.ini explained (convert-UUP, AutoStart, AddUpdates, Cleanup, ResetBase, NetFx3, StartVirtual, wim2esd, wim2swm, SkipISO, SkipWinRE, LCUwinre, UpdtBootFiles, ForceDism, RefESD, SkipEdge, AutoExit, Store_Apps, SkipApps, AppsLevel, CustomList, create_virtual_editions, vAutoStart, vDeleteSource, vPreserve, vwim2esd, vwim2swm, vS…

note: some of the information is posted in comments,
if you'll fork this gist, you'll loose that information,
it is best to just bookmark this one..

WIM

WIM (ESD,SWM) is an image of an OS file system,
it can be mounted, and modified (to some degree) .
there are two possible ways, through DISM or through mounting it directly through an older way, using a driver named imagex (Windows Imaging Utility).
regardless,

terminology

the uupdump scripts are using the terminology of WIM editing with DISM (or imagex if you'll like), that a novice might not be familiar with.

DISM is special, use it!

the whole mounting a file as a storage is somewhat understandable, but on top of "what you have", there are several levels of integrating packages, updates and drivers, as of recent Windows 10 builds, there are no longer ISO distributions but instead a bunch of updates on top of a base package, so essentially, everything is assembled. drivers, cab or msu packages can be embedded into the base or kept and automatically installed after the first setup.

best to avoid images done on linux

linux OS lacks DISM but it can still pack everything up using wimlib, no advance stuff such as deep integration and base reset to new update though.

website

if you haven't checked the checkboxes for install updates, cleanup, rebase ("reset base"), your OS would be as updated as the base package, the setup would include an extra step, and the first time you'll be running the windows would take longer. in Windows update, you'll end up seeing couple of big updates finishing up anyway. if it "looked weird" to you since you've JUST created the most recent ISO, and you don't understand WHY couple of big updates from last 3 months ago are being installed "again", that is the cause. the OS w/o updates, clean and reset base would be reported to be older. and a bug sometimes makes the update download and install those again.

that is an over-simplified explanation.

well, to work!

Windows 7 is known to be buggy with the cleanup and reset base,
but recent Windows 10/11/.. builds should be fine.

notes, what do you need

  1. have a Windows 10 installed.
  2. download and install ADK. 1.58GB.
  3. download and install ADKWinPEAddons. 2.67GB.

the page https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install has both latest ADK (and PE addons) for Windows 11, and Windows 10 version. if you are planning to make a Windows 10 installation, the "Windows ADK for Windows 10, version 2004",
and "Windows PE add-on for the ADK, version 2004" is fine.
if you are planning to create a Windows 11 installation, you might as well install the latest version.

  1. use uupdump website.
  • check ☑ add updates.
  • check ☑ cleanup.
  • check ☑ reset base ("rebase").
  • check ☑ adding .Net3.5
  • check ☑ for esd. that's an LZMA like algorithm by Microsoft to compressed WIM
    https://wimlib.net/compression.html#LZMS
    it gets you from 6GB to 3.5GB (perfectly fine for FAT32's MBR max-size limit..)

a-z steps, as screenshots - added below.


next, files NEEDS editing!

when downloaded, unzip,
open up the ConvertConfig.ini.

those should be 1: AddUpdates, Cleanup, ResetBase, NetFx3, wim2esd.

now, CHANGE those to be 1 as well:

  • AutoStart and StartVirtual for starting the process a.s.a.p. instead of showing the menu, and continuing to the final step of constructing editions that reference the same base packages without doubling the size, for example Windows 10 pro and Windows 10 pro for workstations (and E/N variations and EDU variation - and Enterprise and its editions... You still get same size image).
  • LCUwinre for force updating winre.wim with Cumulative Update even if SafeOS update detected, strongly advised. don't worry about the safeos thingy.
  • UpdtBootFiles for updating ISO boot files bootmgr/bootmgr.efi/efisys.bin from Cumulative Update, instead of using old bootable template package of bios (or UEFI) boot manager and WinPE stage init.
  • ForceDism it uses DISM of your OS instead of a wimlib-imagex.exe that is shipped with the uupdump script, it is almost always better. DISM will eventually be used regardless, but this is almost always preferred over wimlib-imagex.

you can get the wimlib exe/binaries from https://wimlib.net/downloads/index.html they have newer builds (v1.13.15 from Dec 19, 2021 is the currently most recent), (only things you need is libwim-15.dll and wimlib-imagex.exe the other files there are simply examples for WIM commands (append, split, update,...) on windows you should opt-in DISM only, on linux make sure it is 0.

note: before the ISO "becomes ISO" it is mounted into a plain folder, in which you can add various useful tools,
for that you need to control the auto process by NOT using autostart and NOT using startvirtual. you need to run those yourself when notified.
after you are done you use the menu for continuing the process, and the "ISO" would saved to an actual ISO file.

this isn't a big hassle, but it is best to avoid. you'll end up creating (I assume) a bootable Windows USB driver eventually.
it is best to just let this process run automatically.

the create_virtual_editions part, is not actually being used for anything (vDeleteSource, vPreserve,... does nothing)
other than for vAutoEditions.

the store apps section is usable when you're not running automatically - so you'll have some control over the process with the menu,
or when you are re-running.
you can edit Store_Apps SkipApps, AppsLevel, CustomList to limit what you'll end up getting. this can increase or reduce the total size with about 500MB.
when running autostart you'll get all of the custom list application.
this is mostly for Europe (N editions) that wants to add some stuff.
don't over complicated things, just use the non-N (regular edition) and uninstall things later if you wish.

more information, editing WIM - PowerISO!

you can edit wim esd images with PowerISO. it has very clear menu entries just for the DISM actions, and they are pretty clear.

notes:

make sure you edit ConvertConfig.ini!

due to a bug, you need to specify things again (set them to `1`) in the `ConvertConfig.ini`, even if you've check those in the website!

example

here is an example:

[convert-UUP]
AutoStart    =1
AddUpdates   =1
Cleanup      =1
ResetBase    =1
NetFx3       =1
StartVirtual =1
wim2esd      =1
wim2swm      =0
SkipISO      =0
SkipWinRE    =0
LCUwinre     =1
UpdtBootFiles=1
ForceDism    =1
RefESD       =0
SkipEdge     =0
AutoExit     =0

[Store_Apps]
SkipApps     =0
AppsLevel    =0
CustomList   =0

[create_virtual_editions]
vAutoStart   =1
vDeleteSource=0
vPreserve    =0
vwim2esd     =1
vwim2swm     =0
vSkipISO     =0
vAutoEditions=ProfessionalWorkstation

Part 2 - stuff you need to change in the scripts (Windows)

when you got something like this afterwards:
"%aria2%" --no-conf --log-level=info --log="aria2_download.log" -o"%aria2Script%" --allow-overwrite=true --auto-file-renaming=false "https://uupdump.net/get.php?id=6b74eb77-d1b0-41fc-95b1-5b69d3009ef2&pack=en-us&edition=professional&aria2=2"

add --min-tls-version=TLSv1.2 --check-certificate=false --file-allocation=falloc --remote-time=true --disable-ipv6=true --human-readable=true --min-split-size=5M "--user-agent=Mozilla/5.0" --enable-http-keep-alive=true --enable-http-pipelining=true --max-connection-per-server=16 --split=16 --max-concurrent-downloads=5 --continue=true --remote-time=true
just before the existing --allow-overwrite=true.

couple of lines below you'll see something like this:

"%aria2%" --no-conf --log-level=info --log="aria2_download.log" -x16 -s16 -j5 -c -R -d"%destDir%" -i"%aria2Script%"

replace -x16 -s16 -j5 -c -R

with --min-tls-version=TLSv1.2 --check-certificate=false --file-allocation=falloc --remote-time=true --disable-ipv6=true --human-readable=true --min-split-size=5M "--user-agent=Mozilla/5.0" --enable-http-keep-alive=true --enable-http-pipelining=true --max-connection-per-server=16 --split=16 --max-concurrent-downloads=5 --continue=true --remote-time=true

it speeds up parallel downloading, skips issue with the security verification, and pre allocate space on the disk before the download finishes.


step3 - run end log

============================================================
Running UUP -> ISO v80
============================================================

============================================================
Checking UUP Info . . .
============================================================

============================================================
Configured Options . . .
============================================================

AutoStart 1
AddUpdates 1
Cleanup
ResetBase
NetFx3
StartVirtual
UpdtBootFiles
wim2esd
ForceDism

============================================================
Preparing Reference ESDs . . .
============================================================

Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package-amd64
Microsoft-OneCore-DirectX-Database-FOD-Package-amd64_017ec2cf
Microsoft-Windows-Hello-Face-Migration-Package-amd64_a6d01b85
Microsoft-Windows-Hello-Face-Package-amd64_14ae581f
Microsoft-Windows-InternetExplorer-Optional-Package-amd64_3a44e27a
Microsoft-Windows-LanguageFeatures-Basic-en-us-Package-amd64
Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package-amd64
Microsoft-Windows-LanguageFeatures-OCR-en-us-Package-amd64
Microsoft-Windows-LanguageFeatures-Speech-en-us-Package-amd64
Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package-amd64
Microsoft-Windows-MediaPlayer-Package-amd64_e1706f9d
Microsoft-Windows-MSPaint-FoD-Package-amd64_785ad658
Microsoft-Windows-Notepad-FoD-Package-amd64
Microsoft-Windows-PowerShell-ISE-FOD-Package-amd64
Microsoft-Windows-Printing-PMCPPC-FoD-Package-amd64_f08e5cde
Microsoft-Windows-Printing-WFS-FoD-Package-amd64
Microsoft-Windows-QuickAssist-Package-amd64
Microsoft-Windows-StepsRecorder-Package-amd64_079b54fe
Microsoft-Windows-TabletPCMath-Package-amd64_107597c5
Microsoft-Windows-UserExperience-Desktop-Package-amd64
Microsoft-Windows-WordPad-FoD-Package-amd64
OpenSSH-Client-Package-amd64

============================================================
Creating Setup Media Layout . . .
============================================================


============================================================
Creating install.wim . . .
============================================================

Using LZX compression with 8 threads
Archiving file data: 7249 MiB of 7249 MiB (100%) done

============================================================
Updating install.wim / 1 image(s) . . .
============================================================

1/7: SSU-19041.1737-x64.cab [SSU]
2/7: Windows10.0-KB5003791-x64.cab [Enablement]
3/7: Windows10.0-KB5007401-x64.cab
4/7: Windows10.0-KB5008575-x64.cab
5/7: Windows10.0-KB5010524-x64.cab [Setup DU]
6/7: Windows10.0-KB5011577-x64.cab [WinPE]
7/7: Windows10.0-KB5014699-x64.cab [LCU]

Deployment Image Servicing and Management tool
Version: 10.0.22000.1

Mounting image
[==========================100.0%==========================]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.22000.1

Image Version: 10.0.19041.1

Processing 1 of 1 - Adding package Package_for_ServicingStack_1737~31bf3856ad364e35~amd64~~19041.1737.1.2
[==========================100.0%==========================]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.22000.1

Image Version: 10.0.19041.1

Processing 1 of 2 - Adding package Package_for_KB5003791~31bf3856ad364e35~amd64~~19041.1237.1.3
[==========================100.0%==========================]
Processing 2 of 2 - Adding package Package_for_KB5007401~31bf3856ad364e35~amd64~~19041.1378.1.1
[==========================100.0%==========================]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.22000.1

Image Version: 10.0.19041.1

Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.1766.1.9
[==========================100.0%==========================]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.22000.1

Image Version: 10.0.19044.1766

[=====                      10.0%                          ]
[==========================100.0%==========================]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.22000.1

Image Version: 10.0.19044.1766

Enabling feature(s)
[==========================100.0%==========================]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.22000.1

Image Version: 10.0.19044.1766

Processing 1 of 2 - Adding package Package_for_KB5007401~31bf3856ad364e35~amd64~~19041.1378.1.1
[==========================100.0%==========================]
Processing 2 of 2 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.1766.1.9
[==========================100.0%==========================]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.22000.1

Image File : D:\__resources___\19044.1766_amd64_en-us_professional_6b74eb77_convert_virtual\ISOFOLDER\sources\install.wim
Image Index : 1
Saving image
[==========================100.0%==========================]
Unmounting image
[==========================100.0%==========================]
The operation completed successfully.


============================================================
Adding setup dynamic update(s) . . .
============================================================

Windows10.0-KB5010524-x64.cab

============================================================
Creating winre.wim . . .
============================================================

Using LZX compression with 8 threads
Archiving file data: 971 MiB of 971 MiB (100%) done

============================================================
Updating winre.wim / 1 image(s) . . .
============================================================


Deployment Image Servicing and Management tool
Version: 10.0.22000.1

Mounting image
[==========================100.0%==========================]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.22000.1

Image Version: 10.0.19041.1

Processing 1 of 1 - Adding package Package_for_ServicingStack_1737~31bf3856ad364e35~amd64~~19041.1737.1.2
[==========================100.0%==========================]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.22000.1

Image Version: 10.0.19041.1

Processing 1 of 1 - Adding package Package_for_KB5011577~31bf3856ad364e35~amd64~~19041.1616.1.1
[==========================100.0%==========================]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.22000.1

Image Version: 10.0.19041.1

[===================        33.4%                          ]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.22000.1

Saving image
[==========================100.0%==========================]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.22000.1

Image Version: 10.0.19041.1

Processing 1 of 1 - Adding package Package_for_KB5003791~31bf3856ad364e35~amd64~~19041.1237.1.3
[==========================100.0%==========================]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.22000.1

Image Version: 10.0.19041.1

Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.1766.1.9
[==========================100.0%==========================]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.22000.1

Image Version: 10.0.19041.1766

[==========================100.0%==========================]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.22000.1

Image File : D:\__resources___\19044.1766_amd64_en-us_professional_6b74eb77_convert_virtual\temp\winre.wim
Image Index : 1
Saving image
[==========================100.0%==========================]
Unmounting image
[==========================100.0%==========================]
The operation completed successfully.

Using LZX compression with 8 threads
Archiving file data: 986 MiB of 986 MiB (100%) done

============================================================
Adding winre.wim to install.wim . . .
============================================================


============================================================
Creating boot.wim . . .
============================================================

"ISOFOLDER\sources\boot.wim" original size: 756051 KiB
Using LZX compression with 8 threads
Archiving file data: 1134 MiB of 1134 MiB (100%) done
"ISOFOLDER\sources\boot.wim" optimized size: 460398 KiB
Space saved: 295652 KiB

============================================================
Checking Distribution Info . . .
============================================================

============================================================
Configured Virtual Options . . .
============================================================

AutoStart
wim2esd
AutoEditions: ProfessionalWorkstation

============================================================
Copying install.wim . . .
============================================================

============================================================
Creating Edition: Pro for Workstations
============================================================


Setting the WINDOWS/EDITIONID property of image 2 to "ProfessionalWorkstation".
Setting the FLAGS property of image 2 to "ProfessionalWorkstation".
Setting the DISPLAYNAME property of image 2 to "Windows 10 Pro for Workstations".
Setting the DISPLAYDESCRIPTION property of image 2 to "Windows 10 Pro for Workstations".

============================================================
Converting install.wim to install.esd . . .
============================================================

Using LZMS compression with 8 threads
Archiving file data: 8630 MiB of 8630 MiB (100%) done

============================================================
Creating ISO . . .
============================================================

OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility
Copyright (C) Microsoft, 1993-2012. All rights reserved.
Licensed only for producing Microsoft authorized content.


Scanning source tree (500 files in 41 directories)
Scanning source tree complete (905 files in 86 directories)

Computing directory information complete

Image file is 4032954368 bytes (before optimization)

Writing 905 files in 86 directories to 19044.1766.220609-0055.21H2_RELEASE_SVC_PROD1_CLIENTMULTI_X64FRE_EN-US.ISO

100% complete

Storage optimization saved 25 files, 14200832 bytes (1% of image)

After optimization, image file is 4020830208 bytes
Space saved because of embedding, sparseness or optimization = 14200832

Done.



============================================================
Removing temporary files . . .
============================================================

Press 0 to exit.

step 4 - result

|-- [4.1K]  uup_download_windows.cmd
|-- [2.8K]  uup_download_macos.sh
|-- [2.8K]  uup_download_linux.sh
|-- [ 30K]  multi_arch_iso.cmd
|-- [   0]  files
|   |-- [1.7M]  uup-converter-wimlib.7z
|   |-- [ 79K]  convert_ve_plugin
|   |-- [  48]  convert_config_macos
|   |-- [  48]  convert_config_linux
|   |-- [ 19K]  convert.sh
|   |-- [1.2K]  aria2c_history.cmd
|   |-- [ 87K]  aria2c.nfo
|   |-- [1.8K]  aria2c.exe.manifest
|   |-- [5.4M]  aria2c.exe
|   |-- [3.5K]  aria2c.conf
|   |-- [1.1K]  aria2c.cmd
|   |-- [ 17K]  aria2_script.13665.txt
|   |-- [1.8K]  README.mingw
|   |-- [ 37K]  README.html
|   |-- [ 615]  NEWS
|   |-- [6.8K]  LICENSE.OpenSSL
|   |-- [8.0K]  ChangeLog
|   |-- [ 18K]  COPYING
|   |-- [1.1K]  AUTHORS
|   `-- [512K]  7zr.exe
|-- [ 87K]  create_virtual_editions.cmd
|-- [159K]  convert-UUP.cmd
|-- [   0]  bin
|   |-- [144K]  wimlib-imagex.exe
|   |-- [ 55K]  offreg.dll
|   |-- [115K]  offlinereg.exe
|   |-- [824K]  libwim-15.dll
|   |-- [633K]  imagex.exe
|   |-- [123K]  cdimage.exe
|   |-- [ 79K]  cabarc.exe
|   |-- [2.1K]  bootwim.txt
|   |-- [ 759]  bootmui.txt
|   |-- [   0]  bin64
|   |   |-- [135K]  wimlib-imagex.exe
|   |   `-- [774K]  libwim-15.dll
|   |-- [ 91K]  bfi.exe
|   |-- [370K]  bcdedit.exe
|   |-- [1.2K]  Updates.bat
|   |-- [ 186]  PSFExtractor.exe.config
|   |-- [ 13K]  PSFExtractor.exe
|   |-- [3.8K]  CompDB_App.txt
|   |-- [324K]  7z.exe
|   `-- [1.1M]  7z.dll
|-- [6.1M]  aria2_download.log
|-- [   0]  UUPs
|   |-- [493M]  professional_en-us.esd
|   |-- [646M]  Windows10.0-KB5014699-x64.cab
|   |-- [2.3M]  Windows10.0-KB5011577-x64.cab
|   |-- [ 15M]  Windows10.0-KB5010524-x64.cab
|   |-- [ 69M]  Windows10.0-KB5008575-x64.cab
|   |-- [271K]  Windows10.0-KB5007401-x64.cab
|   |-- [ 22K]  Windows10.0-KB5003791-x64.cab
|   |-- [ 15M]  SSU-19041.1737-x64.cab
|   |-- [1.3M]  OpenSSH-Client-Package-amd64.cab
|   |-- [247M]  Microsoft.ModernApps.ClientN.All.esd
|   |-- [ 40M]  Microsoft.ModernApps.Client.professional.esd
|   |-- [272M]  Microsoft.ModernApps.Client.All.esd
|   |-- [907K]  Microsoft-Windows-WordPad-FoD-Package-amd64.cab
|   |-- [5.1M]  Microsoft-Windows-UserExperience-Desktop-Package-amd64.cab
|   |-- [6.2M]  Microsoft-Windows-TabletPCMath-Package-amd64_107597c5.cab
|   |-- [288K]  Microsoft-Windows-StepsRecorder-Package-amd64_079b54fe.cab
|   |-- [1.5M]  Microsoft-Windows-Required-ShellExperiences-Desktop-WOW64-Package.ESD
|   |-- [7.0M]  Microsoft-Windows-Required-ShellExperiences-Desktop-Package.ESD
|   |-- [ 19M]  Microsoft-Windows-RegulatedPackages-WOW64-Package.ESD
|   |-- [ 37M]  Microsoft-Windows-RegulatedPackages-Package.ESD
|   |-- [391K]  Microsoft-Windows-QuickAssist-Package-amd64.cab
|   |-- [3.1M]  Microsoft-Windows-Printing-WFS-FoD-Package-amd64.cab
|   |-- [393K]  Microsoft-Windows-Printing-PMCPPC-FoD-Package-amd64_f08e5cde.cab
|   |-- [1.1M]  Microsoft-Windows-PowerShell-ISE-FOD-Package-amd64.cab
|   |-- [199K]  Microsoft-Windows-Notepad-FoD-Package-amd64.cab
|   |-- [ 27M]  Microsoft-Windows-Not-Supported-On-LTSB-WOW64-Package.ESD
|   |-- [ 27K]  Microsoft-Windows-Not-Supported-On-LTSB-Package.ESD
|   |-- [ 14M]  Microsoft-Windows-MediaPlayer-Package-amd64_e1706f9d.cab
|   |-- [1.9M]  Microsoft-Windows-MSPaint-FoD-Package-amd64_785ad658.cab
|   |-- [ 48M]  Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package-amd64.cab
|   |-- [ 61M]  Microsoft-Windows-LanguageFeatures-Speech-en-us-Package-amd64.cab
|   |-- [153K]  Microsoft-Windows-LanguageFeatures-OCR-en-us-Package-amd64.cab
|   |-- [4.7M]  Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package-amd64.cab
|   |-- [ 21M]  Microsoft-Windows-LanguageFeatures-Basic-en-us-Package-amd64.cab
|   |-- [286K]  Microsoft-Windows-InternetExplorer-Optional-Package-amd64_3a44e27a.cab
|   |-- [ 38M]  Microsoft-Windows-Hello-Face-Package-amd64_14ae581f.cab
|   |-- [ 54M]  Microsoft-Windows-Hello-Face-Migration-Package-amd64_a6d01b85.cab
|   |-- [ 21K]  Microsoft-Windows-Foundation-Package.ESD
|   |-- [212K]  Microsoft-Windows-EditionSpecific-Professional-WOW64-Package.ESD
|   |-- [ 17M]  Microsoft-Windows-EditionSpecific-Professional-Package.ESD
|   |-- [ 14M]  Microsoft-Windows-EditionPack-Professional-WOW64-Package.ESD
|   |-- [157M]  Microsoft-Windows-EditionPack-Professional-Package.ESD
|   |-- [ 18M]  Microsoft-Windows-Client-LanguagePack-Package_en-us-amd64-en-us.esd
|   |-- [ 80M]  Microsoft-Windows-Client-Features-WOW64-Package.ESD
|   |-- [288M]  Microsoft-Windows-Client-Features-Package.ESD
|   |-- [196M]  Microsoft-Windows-Client-Desktop-Required-WOW64-Package.ESD
|   |-- [720M]  Microsoft-Windows-Client-Desktop-Required-Package.ESD
|   |-- [483K]  Microsoft-OneCore-DirectX-Database-FOD-Package-amd64_017ec2cf.cab
|   |-- [3.2M]  Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package-amd64.cab
|   `-- [ 134]  .README
|-- [2.9K]  Remove_Failure_MountDir.cmd
|-- [ 29K]  ReadMe.html
|-- [2.7K]  CustomAppsList.txt
|-- [ 524]  ConvertConfig.ini
|-- [3.7G]  19044.1766.220609-0055.21H2_RELEASE_SVC_PROD1_CLIENTMULTI_X64FRE_EN-US.ISO

screenshots

(not including the ADK installation part, just from the https://uupdump.net/ step)

2022-06-24_144630

2022-06-24_144824

2022-06-24_145050

2022-06-24_145142

2022-06-24_145341

2022-06-24_145444

2022-06-24_145631

2022-06-24_150615

2022-06-24_150759

2022-06-24_150901

2022-06-24_150946

2022-06-24_151011

2022-06-24_151038

2022-06-24_151127

2022-06-24_151150

2022-06-24_151216

2022-06-24_151331

2022-06-24_151356

2022-06-24_151428

2022-06-24_151454

2022-06-24_151534

2022-06-24_151455

2022-06-24_151725

2022-06-24_151930

2022-06-24_152058

2022-06-24_152208

2022-06-24_152458

2022-06-24_152646

2022-06-24_152843

2022-06-24_152929

2022-06-24_153055

2022-06-24_153242

2022-06-24_154851

2022-06-24_155453


2022-06-24_160523

2022-06-24_160746

2022-06-24_160857

2022-06-24_164540

2022-06-24_173211

2022-06-24_173211

2022-06-24_175426

2022-06-24_175639

2022-06-24_180348

2022-06-24_191317

2022-06-24_200938

2022-06-24_201356



part 3 - do you want to edit offline registry?

registry hive is stored in files, each WIM you have in the ISO also have registry hive. boot.wim, install.esd (needs to be converted to wim for mounting) does too. when mounting a wim you can load up the files temporarily to "your own registry",
you can apply few useful registry tweaks such as removing RAM,CPU,STORAGE,and SECURE BOOT. see: https://gist.github.com/eladkarako/c593b72d8df7b3d195b10204252bafb3#file-windows-10-windows-11-unrestricted-setup-for-vm-md

and then unload the tmp. reg, and update and close the wim (best to compress to esd again), by repeating it for the boot.wim you'll be able to install W11 on older machines (or vm), and again on install.wim to use it normally from the start, without opening console tricks.

Windows 10 is fine so I don't mess with it.

this is a pretty nice starting point if you are in need for some a thing... https://www.tenforums.com/tutorials/95002-dism-edit-registry-offline-image.html https://archive.is/Tc3Nw https://web.archive.org/web/20220624173111/https://www.tenforums.com/tutorials/95002-dism-edit-registry-offline-image.html

and so is https://superuser.com/questions/636055/how-to-modify-a-computers-offline-registry-from-winpe as well.

remember to work with latest PowerISO when opening and saving the image, it can help you with converting WIM-ESD back and forth as well, and will preserve the boot. make sure to always check the iso on a virtual machine before using it!!!


note: the following created a corrupted installation that kept restarting,
I guess something went wrong with mounting/unmounting/reg load/unload/esd compression... you can follow those below but you'll probably won't be able to enjoy a workable windows.

  1. use PowerISO or 7zip to extract the boot.wim and install.esd from the ISO to D:\.
  2. PowerISO and a convenient UI for dism, you can use it.

we're going to mount the boot.wim and later install.wim (which we'll convert from install.esd) into D:\1\, and use reg command to load the System hive from file, then apply a .reg patch, unload the hive, and apply the changes to the wim files.

  1. dism /Mount-wim /wimFile:D:\boot.wim /MountDir:D:\1 /Index:1 /Optimize /CheckIntegrity that's a WindowsPE (recovery disk).

  2. reg load HKLM\OFFLINESYSTEM D:\1\Windows\System32\Config\System

  3. copy this to a file with a .reg extension, and double click it.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\OFFLINESYSTEM\Setup\LabConfig]
"BypassCPUCheck"=dword:00000001
"BypassStorageCheck"=dword:00000001
"BypassRAMCheck"=dword:00000001
"BypassTPMCheck"=dword:00000001
"BypassSecureBootCheck"=dword:00000001

[HKEY_LOCAL_MACHINE\OFFLINESYSTEM\Setup\MoSetup]
"AllowUpgradesWithUnsupportedTPMOrCPU"=dword:00000001
"BypassCPUCheck"=dword:00000001
"BypassStorageCheck"=dword:00000001
"BypassRAMCheck"=dword:00000001
"BypassTPMCheck"=dword:00000001
"BypassSecureBootCheck"=dword:00000001
  1. dism /Unmount-image /MountDir:D:\1 /Commit /CheckIntegrity
  2. dism /Mount-wim /wimFile:D:\boot.wim /MountDir:D:\1 /Index:2 /Optimize /CheckIntegrity that's the Windows Setup (second index)
  3. reg load HKLM\OFFLINESYSTEM D:\1\Windows\System32\Config\System
  4. again, same .reg file:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\OFFLINESYSTEM\Setup\LabConfig]
"BypassCPUCheck"=dword:00000001
"BypassStorageCheck"=dword:00000001
"BypassRAMCheck"=dword:00000001
"BypassTPMCheck"=dword:00000001
"BypassSecureBootCheck"=dword:00000001

[HKEY_LOCAL_MACHINE\OFFLINESYSTEM\Setup\MoSetup]
"AllowUpgradesWithUnsupportedTPMOrCPU"=dword:00000001
"BypassCPUCheck"=dword:00000001
"BypassStorageCheck"=dword:00000001
"BypassRAMCheck"=dword:00000001
"BypassTPMCheck"=dword:00000001
"BypassSecureBootCheck"=dword:00000001
  1. dism /Unmount-image /MountDir:D:\1 /Commit /CheckIntegrity
  2. use PowerISO to convert the esd to wim, open the wim file in the delete tab and keep just the Pro for workstations. even-though this is a "virtual" installation, I don't use the plain Pro version so I don't need it.

you can use the following command to export wim, although I didn't used it. if you have deleted the first index (plain pro version) you can use: dism /Export-Image /SourceImageFile:D:\install.esd /SourceIndex:1 /DestinationImageFile:D:\install.wim /Compress:Max /CheckIntegrity

otherwise use /SourceIndex:2 to directly use the pro for workstations version:
dism /Export-Image /SourceImageFile:D:\install.esd /SourceIndex:2 /DestinationImageFile:D:\install.wim /Compress:Max /CheckIntegrity

either way you'll get a new install.wim and you can rename the old install.esd to old.install.esd .

  1. repeat the steps (used for boot.wim) above, but now specify install.wim. mount it into D:\1, load the System registry hive, apply the registry patch, unload the System hive, and umount the install.wim file.

  2. convert the install.wim to install.esd:
    if you've delete the first index in the install.esd or exported just the second index you should have only one index,
    and you can run:
    dism /Export-image /SourceImageFile:D:\install.wim /DestinationImageFile:D:\install.esd /SourceIndex:1 /Compress:recovery /CheckIntegrity

this is a long process, that will allocate ~6GB in the RAM (which will be paged to disk every now and again),
it will also take 50% to 90% at some point. I advise to NOT use the computer at this point,
and if you disable your screensaver and power settings to not lock your machine, it would be best,
sometimes you can play a small video in a loop in the media player so the screen-saver won't be activated, do it!

  1. use PowerISO to replace the existing boot.wim and install.esd with the new ones, other programs seems to corrupt the ISO for some reason.

  2. don't be lazy, test the ISO on a virtual machine, you can generate a small 40GB virtual hard disk, and 1GB virtual RAM to check that the setup is unlimited by the minimum requirements of 64GB hard-disk and 4GB or RAM.

  3. use Rufus to generate a bootable USB, if possible choose NTFS, it will allow you a faster installation.
    in-case you are planning to use NTFS in the first place you are not limited by maximum of 4GB file (as you would in FAT32),
    in that case (you should plan this a head) you can run the first UUPDUMP script in a way that does not generate esd but just install.wim,
    it will save you a lot of time, both in generating the ISO,
    then in setup patching,
    and finally the WIM is extracted a lot faster then esd so you'll finish the actual setup a lot faster too!






this is what you get when you are done

2022-08-02_173313
2022-08-02_173348

./
|-- [  4G Aug  2 17:34]  19045.1865.220719-1621.22H2_RELEASE_SVC_PROD3_CLIENTMULTI_X64FRE_EN-US.ISO
|-- [ 524 Aug  2 10:24]  ConvertConfig.ini
|-- [2.7K May 22 12:09]  CustomAppsList.txt
|-- [ 29K May 22 12:09]  ReadMe.html
|-- [2.9K Jul  7  1:03]  Remove_Failure_MountDir.cmd
|-- [   0 Aug  2 10:35]  UUPs
|   |-- [ 134 Dec 21  2016]  .README
|   |-- [3.2M Jul 20  2021]  Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package-amd64.cab
|   |-- [483K Jul 20  2021]  Microsoft-OneCore-DirectX-Database-FOD-Package-amd64.cab
|   |-- [720M Jul 23  2020]  Microsoft-Windows-Client-Desktop-Required-Package.ESD
|   |-- [196M Jul 23  2020]  Microsoft-Windows-Client-Desktop-Required-WOW64-Package.ESD
|   |-- [288M Jul 23  2020]  Microsoft-Windows-Client-Features-Package.ESD
|   |-- [ 80M Jul 23  2020]  Microsoft-Windows-Client-Features-WOW64-Package.ESD
|   |-- [ 18M Jul 20  2021]  Microsoft-Windows-Client-LanguagePack-Package_en-us-amd64-en-us.esd
|   |-- [157M Feb 11  2020]  Microsoft-Windows-EditionPack-Professional-Package.ESD
|   |-- [ 14M Feb 11  2020]  Microsoft-Windows-EditionPack-Professional-WOW64-Package.ESD
|   |-- [ 17M Feb 11  2020]  Microsoft-Windows-EditionSpecific-Professional-Package.ESD
|   |-- [212K Feb 11  2020]  Microsoft-Windows-EditionSpecific-Professional-WOW64-Package.ESD
|   |-- [ 21K Jul 23  2020]  Microsoft-Windows-Foundation-Package.ESD
|   |-- [ 54M Jul 20  2021]  Microsoft-Windows-Hello-Face-Migration-Package-amd64.cab
|   |-- [ 38M Jul 20  2021]  Microsoft-Windows-Hello-Face-Package-amd64.cab
|   |-- [286K Jul 20  2021]  Microsoft-Windows-InternetExplorer-Optional-Package-amd64.cab
|   |-- [ 21M Jul 20  2021]  Microsoft-Windows-LanguageFeatures-Basic-en-us-Package-amd64.cab
|   |-- [4.7M Jul 20  2021]  Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package-amd64.cab
|   |-- [153K Jul 20  2021]  Microsoft-Windows-LanguageFeatures-OCR-en-us-Package-amd64.cab
|   |-- [ 61M Jul 20  2021]  Microsoft-Windows-LanguageFeatures-Speech-en-us-Package-amd64.cab
|   |-- [ 48M Jul 20  2021]  Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package-amd64.cab
|   |-- [1.9M Jul 20  2021]  Microsoft-Windows-MSPaint-FoD-Package-amd64.cab
|   |-- [ 14M Jul 20  2021]  Microsoft-Windows-MediaPlayer-Package-amd64.cab
|   |-- [ 27K Jul 23  2020]  Microsoft-Windows-Not-Supported-On-LTSB-Package.ESD
|   |-- [ 27M Jul 23  2020]  Microsoft-Windows-Not-Supported-On-LTSB-WOW64-Package.ESD
|   |-- [199K Jul 20  2021]  Microsoft-Windows-Notepad-FoD-Package-amd64.cab
|   |-- [1.1M Jul 20  2021]  Microsoft-Windows-PowerShell-ISE-FOD-Package-amd64.cab
|   |-- [393K Jul 20  2021]  Microsoft-Windows-Printing-PMCPPC-FoD-Package-amd64.cab
|   |-- [3.1M Jul 20  2021]  Microsoft-Windows-Printing-WFS-FoD-Package-amd64.cab
|   |-- [391K Jul 20  2021]  Microsoft-Windows-QuickAssist-Package-amd64.cab
|   |-- [ 37M Jul 23  2020]  Microsoft-Windows-RegulatedPackages-Package.ESD
|   |-- [ 19M Jul 23  2020]  Microsoft-Windows-RegulatedPackages-WOW64-Package.ESD
|   |-- [7.0M Feb 11  2020]  Microsoft-Windows-Required-ShellExperiences-Desktop-Package.ESD
|   |-- [1.5M Feb 11  2020]  Microsoft-Windows-Required-ShellExperiences-Desktop-WOW64-Package.ESD
|   |-- [288K Jul 20  2021]  Microsoft-Windows-StepsRecorder-Package-amd64.cab
|   |-- [6.2M Jul 20  2021]  Microsoft-Windows-TabletPCMath-Package-amd64.cab
|   |-- [5.1M Jul 20  2021]  Microsoft-Windows-UserExperience-Desktop-Package-amd64.cab
|   |-- [907K Jul 20  2021]  Microsoft-Windows-WordPad-FoD-Package-amd64.cab
|   |-- [272M Jul 23  2020]  Microsoft.ModernApps.Client.All.esd
|   |-- [ 40M Feb 11  2020]  Microsoft.ModernApps.Client.professional.esd
|   |-- [247M Jul 23  2020]  Microsoft.ModernApps.ClientN.All.esd
|   |-- [1.3M Jul 16  2020]  OpenSSH-Client-Package-amd64.cab
|   |-- [ 15M Jul 16  1:31]  SSU-19041.1852-x64.cab
|   |-- [2.2M Mar  2 23:06]  Windows10.0-KB5012419-x64.cab
|   |-- [ 15M Jun 22 22:38]  Windows10.0-KB5014676-x64.cab
|   |-- [ 31K Jun 22 22:38]  Windows10.0-KB5015684-x64.cab
|   |-- [668M Jul 25 17:48]  Windows10.0-KB5015878-x64.cab
|   `-- [493M Feb 11  2020]  professional_en-us.esd
|-- [6.1M Aug  2 10:35]  aria2_download.log
|-- [   0 Aug  2 15:32]  bin
|   |-- [1.1M Dec 26  2021]  7z.dll
|   |-- [324K Dec 26  2021]  7z.exe
|   |-- [3.8K Mar 28 20:27]  CompDB_App.txt
|   |-- [ 13K Sep 16  2021]  PSFExtractor.exe
|   |-- [ 186 Jul  7  2021]  PSFExtractor.exe.config
|   |-- [ 86K Jan 10  2016]  SxSExpand.exe
|   |-- [1.2K Mar  5  8:33]  Updates.bat
|   |-- [370K Jul  9  2015]  bcdedit.exe
|   |-- [ 91K Nov  1  2002]  bfi.exe
|   |-- [   0 Apr  4  2021]  bin64
|   |   |-- [774K Dec 19  2021]  libwim-15.dll
|   |   `-- [135K Dec 19  2021]  wimlib-imagex.exe
|   |-- [ 759 Jun 16  2021]  bootmui.txt
|   |-- [2.1K Mar  5  8:33]  bootwim.txt
|   |-- [ 79K Oct 14  2013]  cabarc.exe
|   |-- [123K Sep 14  2018]  cdimage.exe
|   |-- [633K Mar 18  2017]  imagex.exe
|   |-- [824K Dec 19  2021]  libwim-15.dll
|   |-- [115K Nov 29  2017]  offlinereg.exe
|   |-- [ 55K Feb  8  2010]  offreg.dll
|   `-- [144K Dec 19  2021]  wimlib-imagex.exe
|-- [163K Jul 29  5:42]  convert-UUP.cmd
|-- [ 87K Jul  7  1:03]  create_virtual_editions.cmd
|-- [   0 Aug  2 10:26]  files
|   |-- [512K Dec 29  2021]  7zr.exe
|   |-- [ 16K Aug  2 10:26]  aria2_script.9275.txt
|   |-- [5.4M Aug  2 10:25]  aria2c.exe
|   |-- [ 19K Mar  8 11:58]  convert.sh
|   |-- [  48 Aug  2  7:52]  convert_config_linux
|   |-- [  48 Aug  2  7:52]  convert_config_macos
|   |-- [ 79K Dec 29  2021]  convert_ve_plugin
|   `-- [1.8M Jul 29  5:57]  uup-converter-wimlib.7z
|-- [ 34K Jul 29  5:42]  multi_arch_iso.cmd
|-- [2.8K Aug  2  7:52]  uup_download_linux.sh
|-- [2.8K Aug  2  7:52]  uup_download_macos.sh
`-- [4.2K Aug  2 10:26]  uup_download_windows.cmd

4 directories, 89 files

this is what you get if you change the auto-start variables in ConvertConfig.ini (AutoStart + vAutoStart) to 0:

2022-08-02_174400

running uup_download_windows.cmd again will walk-through all the downloaded files (checksum),
and you'll get a very simple menu eventually:

2022-08-02_174615

choosing 4 for ISO with install.esd (compressed WIM),
will show you the same steps (you can't stop):

2022-08-02_175350

I guess - while it compresses the install.wim (you've got few minutes) you can copy stuff to ISOFOLDER/ folder..

2022-08-02_175558

...this way you won't have to open the ISO later with PowerISO for adding files.. but since you're probably going to use the ISO as a starting point for dumping the whole thing into a USB-storage device,
it is kind of pointless.

anyway after that the install.wim will get updated with various stuff,
no stopping point in here as well.

2022-08-02_180055

that's convert-UUP.cmd around line 1860

2022-08-02_180417

at some point, after install.wim is done, and maybe mounted into a folder, you'll be able to add pause into the script somewhere, and you'll have as much time as you'll like to add stuff to the actual file-system and even mount the registry, without doing more work, once you're done, just press any key in the script, and the repacking will continue :]

probably just about after call :mount "%_target%":

2022-08-02_180857

adding stuff is done in the drive the folder is placed on,
2022-08-02_181135

the action will continue while stuff is added to install.wim,
so a better placement for the pause might be after that.

2022-08-02_181135

the commands are now %_dism2%:"!_cabdir!" %dismtarget% /LogPath:"%_dLog%\%_DsmLog%" /Add-Package /PackagePath:"!dest!\update.mum"
I.E. line 2637, but :pXML is called several times from lines 2317-2344 (in a loop probably).

2022-08-02_181922

again,
it is probably not a good point to place a pause,
nor for editing the mounted wim.

probably a good point is just before it gets unmounted,
after all the updates are applied..


I've installed the most recent (release) of ADK and ADKWinPEAddons tagged under "Windows 11",
it works perfectly fine for creating images for Windows 10 as well.
you'll need to first uninstall older versions of ADK and ADKWinPEAddons.
it is slightly faster!


normally you can not run two proceesses (for example W11 and W10)
at the same time, since they are using the same folders to dism-mount and unmount-wim and store temp,
which means parallel actions might overwrite files or unmount folders of the other one,
but it might be fixed after
https://github.com/uup-dump/converter/issues/25
which will make projects use unique folder-names as much as possible,
which would allow pretty much any amount of building processes to run.




back to https://uupdump.net/ ...
I wanted to get the latest Windows 10, but found only Windows 11..
so I went to https://uupdump.net/known.php and got a lot of mess of builds and updates,
the table wasn't sortable so it was really hard to find anything,
I ran this JavaScript code in the console to manually sort the table (by date, most recent on top),

function natural_compare(a,b){
  let ax=[]
     ,bx=[]
     ;
  if("function" === typeof natural_compare.extraction_rule){
   a = natural_compare.extraction_rule(a);
   b = natural_compare.extraction_rule(b);
  }
  //numbers can be normalized (original value is fine, - it is just another kind of extraction-rule.
  a = ("number" === typeof a) ? String(a) : a;  
  b = ("number" === typeof b) ? String(b) : b;

  //but not much else..
  if("string" !== typeof a){return 0;}
  if("string" !== typeof b){return 0;}

  a.replace(/(\d+)|(\D+)/g,function(_,$1,$2){ ax.push([$1 || Infinity, $2 || ""]); });
  b.replace(/(\d+)|(\D+)/g,function(_,$1,$2){ bx.push([$1 || Infinity, $2 || ""]); });
  while(ax.length>0 && bx.length>0){
   let an = ax.shift()
      ,bn = bx.shift()
      ,nn = (an[0] - bn[0]) || an[1].localeCompare(bn[1])
      ;
   if(0 !== nn){ return nn; }
  }
  return (ax.length - bx.length);
};


let tbody = document.querySelector("table tbody")
   ,rows  = Array.from(tbody.querySelectorAll("tr"))
  ;

natural_compare.extraction_rule = function(a){
  return a.firstElementChild.nextElementSibling.nextElementSibling.innerText;
}

rows = rows.sort(natural_compare).reverse();

rows.forEach((row) => { tbody.appendChild(row); })

(and also suggested https://github.com/uup-dump/website/issues/172 )

but it wasn't super useful..


eventually the main page had a button 22H2 so I've pressed it and got into
https://uupdump.net/known.php?q=19045
I've improved the query to:
https://uupdump.net/known.php?q=19045+amd64
just to make sure I've also checked
https://uupdump.net/known.php?q=10+22H2+amd64
which gave me pretty much the same list.

and I've got a bit puzzled regarding the two most recent builds:
Cumulative Update for Windows 10 Version 22H2 (19045.1889) amd64 x64 2022-08-09 18:24:12 UTC
and
Feature update to Windows 10, version 22H2 (19045.1889) amd64 x64 2022-08-09 17:01:51 UTC

googling https://www.google.com/search?q=Feature+update+to+Windows+10+vs+Cumulative+Update+for+Windows+10
wasn't clear either,
but essentially Cumulative means more frequent (every few weeks),
and Feature means a big one that comes every so often (monthly or longer)
considered that both are carrying pretty much the same published date,
I've chosen the Cumulative one, since I'm assuming it "carries" more fixes.

I don't need a Windows 10 ISO right now,
but I'm not sure if there will be another build (perhaps in a month?) but it seems most of the entries are Windows 11 ones...

so I might as well download the most recent one,


https://github.com/eladkarako/winlib_patched_for_w10_w11/archive/refs/heads/master.zip

replace existing files at bin (extracted from ) with this dll and exe, they are amd64 and patched to run properly on Windows 10,
it should hog less resources, and use new segmented heap to allocate memory more efficiently.
the existing files are x86 and have very hard time allocating over 2GB of memory, which takes a lot of CPU and I/O while memory pages are keep paged to disk and back, even though you might have a lot of free memory available.
that winlib files are taking came of LZMS (LZMA compression) and just like 7zip.


the website fixed some bugs recently,
https://uupdump.net/known.php?q=Windows+10+Version+22H2+amd64&sort=1
for filtering recent builds is a better way to reach the Windows 10 builds.

if you've used to use the preview builds you can filter with:
https://uupdump.net/known.php?q=preview+Windows+10+Version+22H2+amd64&sort=1
which will only keep the preview builds.


I've upgraded the uup-converter-wimlib.7z you normally find in the files folder.
mostly the 7zip and the wim compression tool. normally the x86 version are being used, I've just copied the x64 amd64 version and override the existing versions with it, and recompressed it,
the process it to 7zip,
because I wanted to no interrupt the natural order of the script,
there isn't really a good point in stopping things to update the files once the process starts..
(I can not attach those kind of files in here anyway),
just a note, really. you can get the more recent aria2c.exe, and its switches and the wim compression exe from the links in the notes above.


note regarding CustomAppsList.txt

windows 10 builds will ignore it and just include it all,
windows 11 will actually read the content of the file,
and only include the packages that are specified.

this is why when you build Windows 10 iso,
you will get the card games, weather and such,
and the Windows 11 iso will have none of those!

the CustomAppsList.txt exists inside uup-converter-wimlib.7z,
and I previously advised to pre-edit that 7z and re-pack it so the automated action will run naturally.

in addition to updating that 7z with newer 7z and wim-lib you should also edit the included
CustomAppsList.txt. and repack it (use LZMA and not LZMA2 nor Fast-LZMA2, since LZMA is included in 7zr nativly).

I advise doing it for both Windows 10 and Windows 11,
just in-case the Windows 10 batch will get fixed..

here is what it is included by default:

### UWP Store applications, for integration into builds 22563 and later

### Choose the wanted apps from below by removing # prefix

### Common Apps / Client editions all
Microsoft.WindowsStore_8wekyb3d8bbwe
Microsoft.StorePurchaseApp_8wekyb3d8bbwe
Microsoft.SecHealthUI_8wekyb3d8bbwe
Microsoft.VCLibs.140.00_8wekyb3d8bbwe
# Microsoft.Windows.Photos_8wekyb3d8bbwe
# Microsoft.WindowsCamera_8wekyb3d8bbwe
# Microsoft.WindowsNotepad_8wekyb3d8bbwe
# Microsoft.Paint_8wekyb3d8bbwe
# Microsoft.WindowsTerminal_8wekyb3d8bbwe
# Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
# MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy
# Microsoft.WindowsAlarms_8wekyb3d8bbwe
# Microsoft.WindowsCalculator_8wekyb3d8bbwe
# Microsoft.WindowsMaps_8wekyb3d8bbwe
# Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe
# Microsoft.ScreenSketch_8wekyb3d8bbwe
# microsoft.windowscommunicationsapps_8wekyb3d8bbwe
# Microsoft.People_8wekyb3d8bbwe
# Microsoft.BingNews_8wekyb3d8bbwe
# Microsoft.BingWeather_8wekyb3d8bbwe
# Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe
# Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe
# Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe
# Microsoft.GetHelp_8wekyb3d8bbwe
# Microsoft.Getstarted_8wekyb3d8bbwe
# Microsoft.Todos_8wekyb3d8bbwe
# Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe
# Microsoft.XboxGameOverlay_8wekyb3d8bbwe
# Microsoft.XboxIdentityProvider_8wekyb3d8bbwe
# Microsoft.PowerAutomateDesktop_8wekyb3d8bbwe
# Microsoft.549981C3F5F10_8wekyb3d8bbwe
# MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe
# MicrosoftCorporationII.MicrosoftFamily_8wekyb3d8bbwe

### Media Apps / Client non-N editions
# Microsoft.ZuneMusic_8wekyb3d8bbwe
# Microsoft.ZuneVideo_8wekyb3d8bbwe
# Microsoft.YourPhone_8wekyb3d8bbwe
# Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe
# Microsoft.GamingApp_8wekyb3d8bbwe
# Microsoft.XboxGamingOverlay_8wekyb3d8bbwe
# Microsoft.Xbox.TCUI_8wekyb3d8bbwe
# Clipchamp.Clipchamp_yxz26nhyzhsrt

### Media Codecs / Client non-N editions, Team edition
# Microsoft.WebMediaExtensions_8wekyb3d8bbwe
# Microsoft.RawImageExtension_8wekyb3d8bbwe
# Microsoft.HEIFImageExtension_8wekyb3d8bbwe
# Microsoft.HEVCVideoExtension_8wekyb3d8bbwe
# Microsoft.VP9VideoExtensions_8wekyb3d8bbwe
# Microsoft.WebpImageExtension_8wekyb3d8bbwe

### Surface Hub Apps / Team edition
# Microsoft.Whiteboard_8wekyb3d8bbwe
# microsoft.microsoftskydrive_8wekyb3d8bbwe
# Microsoft.MicrosoftTeamsforSurfaceHub_8wekyb3d8bbwe
# MicrosoftCorporationII.MailforSurfaceHub_8wekyb3d8bbwe
# Microsoft.MicrosoftPowerBIForWindows_8wekyb3d8bbwe
# Microsoft.SkypeApp_kzf8qxf38zg5c
# Microsoft.Office.Excel_8wekyb3d8bbwe
# Microsoft.Office.PowerPoint_8wekyb3d8bbwe
# Microsoft.Office.Word_8wekyb3d8bbwe

I've removed the # from few lines,
to get what I'm expecting for the iso to have,
(you don't have to agree with me here..)

### UWP Store applications, for integration into builds 22563 and later

### Choose the wanted apps from below by removing # prefix

### Common Apps / Client editions all
Microsoft.WindowsStore_8wekyb3d8bbwe
Microsoft.StorePurchaseApp_8wekyb3d8bbwe
Microsoft.SecHealthUI_8wekyb3d8bbwe
Microsoft.VCLibs.140.00_8wekyb3d8bbwe
Microsoft.Windows.Photos_8wekyb3d8bbwe
Microsoft.WindowsCamera_8wekyb3d8bbwe
Microsoft.WindowsNotepad_8wekyb3d8bbwe
Microsoft.Paint_8wekyb3d8bbwe
Microsoft.WindowsTerminal_8wekyb3d8bbwe
Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy
Microsoft.WindowsAlarms_8wekyb3d8bbwe
Microsoft.WindowsCalculator_8wekyb3d8bbwe
Microsoft.WindowsMaps_8wekyb3d8bbwe
Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe
Microsoft.ScreenSketch_8wekyb3d8bbwe
microsoft.windowscommunicationsapps_8wekyb3d8bbwe
Microsoft.People_8wekyb3d8bbwe
Microsoft.BingNews_8wekyb3d8bbwe
Microsoft.BingWeather_8wekyb3d8bbwe
Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe
Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe
Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe
Microsoft.GetHelp_8wekyb3d8bbwe
Microsoft.Getstarted_8wekyb3d8bbwe
Microsoft.Todos_8wekyb3d8bbwe
# Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe
# Microsoft.XboxGameOverlay_8wekyb3d8bbwe
# Microsoft.XboxIdentityProvider_8wekyb3d8bbwe
Microsoft.PowerAutomateDesktop_8wekyb3d8bbwe
Microsoft.549981C3F5F10_8wekyb3d8bbwe
MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe
MicrosoftCorporationII.MicrosoftFamily_8wekyb3d8bbwe

### Media Apps / Client non-N editions
Microsoft.ZuneMusic_8wekyb3d8bbwe
Microsoft.ZuneVideo_8wekyb3d8bbwe
Microsoft.YourPhone_8wekyb3d8bbwe
Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe
# Microsoft.GamingApp_8wekyb3d8bbwe
# Microsoft.XboxGamingOverlay_8wekyb3d8bbwe
# Microsoft.Xbox.TCUI_8wekyb3d8bbwe
Clipchamp.Clipchamp_yxz26nhyzhsrt

### Media Codecs / Client non-N editions, Team edition
Microsoft.WebMediaExtensions_8wekyb3d8bbwe
Microsoft.RawImageExtension_8wekyb3d8bbwe
Microsoft.HEIFImageExtension_8wekyb3d8bbwe
Microsoft.HEVCVideoExtension_8wekyb3d8bbwe
Microsoft.VP9VideoExtensions_8wekyb3d8bbwe
Microsoft.WebpImageExtension_8wekyb3d8bbwe

### Surface Hub Apps / Team edition
Microsoft.Whiteboard_8wekyb3d8bbwe
microsoft.microsoftskydrive_8wekyb3d8bbwe
# Microsoft.MicrosoftTeamsforSurfaceHub_8wekyb3d8bbwe
# MicrosoftCorporationII.MailforSurfaceHub_8wekyb3d8bbwe
Microsoft.MicrosoftPowerBIForWindows_8wekyb3d8bbwe
Microsoft.SkypeApp_kzf8qxf38zg5c
# Microsoft.Office.Excel_8wekyb3d8bbwe
# Microsoft.Office.PowerPoint_8wekyb3d8bbwe
# Microsoft.Office.Word_8wekyb3d8bbwe

and you can google search to see what are those.

I'll just say that Microsoft.549981C3F5F10_8wekyb3d8bbwe is cortana,

and Media Codecs are handy,
but you should always install the K-Lite Codecs pack (x64, "mega" variation),
which include preview and thumbnail handlers for all those already..


if you'll try edit CustomAppsList.txt and then run uup_download_windows.cmd to make it auto create iso again,
it won't work,
one of the first lines in uup_download_windows.cmd is to unpack uup-converter-wimlib.7z,
which means your nice edited CustomAppsList.txt will be overwritten with the one exists in uup-converter-wimlib.7z .

so, make sure to extract uup-converter-wimlib.7z,
edit the files,
the repack it,
and put the updated uup-converter-wimlib.7z back instead of the old one.

@mezhgano
Copy link

mezhgano commented Aug 3, 2024

Thanks for this.
Looks like the batch script get fixed:

echo Extracting UUP converter...
"%a7z%" -x!ConvertConfig.ini -x!CustomAppsList.txt -y x "%uupConv%" >NUL
echo.

So no need to repack uup-converter-wimlib.7z with modified CustomAppsList.txt anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment