abbodi1406's Batch Scripts Repo

Discussion in 'Scripting' started by abbodi1406, May 4, 2017.

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,454
    86,514
    340
    W10UI v10.34

    - Detect and use wimlib-imagex.exe for exporting wim files instead dism.exe
    - Added config option "UseWimlib" to control the new behavior

    ----
    W10MUI

    - updated W10UI
     
  2. fch1993

    fch1993 MDL Senior Member

    Mar 14, 2020
    370
    270
    10
    Is possible that add an option "Maximum Compression" that uses "LXZ:100" and "LZMS:100" instead of "LXZ" or "LZMS" to get a smaller size?

    I have tested images from Windows 8.1-Windows 11. boot.wim & winre.wim uses "LXZ:100" and install.esd uses "LZMS:100". (Wimlib 1.14.3)

    Tested both Windows image setup.exe and WinNTSetup.

    There's no issue with that option.
     
  3. MMIKEE

    MMIKEE MDL Senior Member

    Oct 6, 2012
    380
    361
    10
    Are any other files / folder required besides wimlib-image.exe inside the W10ui v10.34 folder for this new option to succeed?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,493
    3,224
    60
    libwim-15.dll
    wimlib-imagex.exe
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. shhnedo

    shhnedo MDL Expert

    Mar 20, 2011
    1,726
    2,293
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. fch1993

    fch1993 MDL Senior Member

    Mar 14, 2020
    370
    270
    10
    I recommend using like "ESD2WIM".

    \bin\libwim-15.dll
    \bin\wimlib-imagex.exe
    \bin\bin64\libwim-15.dll
    \bin\bin64\wimlib-imagex.exe
     
  7. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,490
    7,253
    210
    I'm also for the .\bin subdirectory solution, as you can have 32bit .\bin and 64bit .\bin\x64, like the other tools have.
     
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,454
    86,514
    340
    uup-converter v95

    - Added support for the new CompDB_App_Moment metadata for Windows 11 22H2/23H2

    - Added config option "StubAppsFull" to control installation choice for Apps which are available as stubs (e.g. Sticky Notes)
    0 / install stub app - default
    1 / install full app

    thanks to @Paul Mercer for testing

    new UUP dump app version will be available soon
     
  9. Javac75

    Javac75 MDL Junior Member

    Mar 16, 2015
    89
    63
    0
    Just extract the bin folder from UUP-Converter, put together with the W10UI script files.
     
  10. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,493
    3,224
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,949
    97,192
    450
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,454
    86,514
    340
  13. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,493
    3,224
    60
    uup-converter is fine

    Code:
    ============================================================
    Running UUP -> ISO v95
    ============================================================
    
    ============================================================
    Checking UUP Info . . .
    ============================================================
    
    ============================================================
    Configured Options . . .
    ============================================================
    
    AutoStart 1
    AddUpdates 1
    Cleanup
    ResetBase
    NetFx3
    StartVirtual
    LCUwinre
    UpdtBootFiles
    DisableUpdatingUpgrade
    
    ============================================================
    Parsing Apps CompDB . . .
    ============================================================
    
    
    ============================================================
    Preparing Reference ESDs . . .
    ============================================================
    
    Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package-amd64
    Microsoft-OneCore-DirectX-Database-FOD-Package-amd64
    Microsoft-Windows-Ethernet-Client-Intel-E1i68x64-FOD-Package-amd64
    Microsoft-Windows-Ethernet-Client-Intel-E2f68-FOD-Package-amd64
    Microsoft-Windows-Ethernet-Client-Realtek-Rtcx21x64-FOD-Package-amd64
    Microsoft-Windows-Ethernet-Client-Vmware-Vmxnet3-FOD-Package-amd64
    Microsoft-Windows-FoDMetadata-Package
    Microsoft-Windows-Hello-Face-Package-amd64
    Microsoft-Windows-InternetExplorer-Optional-Package-amd64
    Microsoft-Windows-Kernel-LA57-FoD-Package-amd64
    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
    Microsoft-Windows-MediaPlayer-Package-wow64
    Microsoft-Windows-Notepad-System-FoD-Package-amd64
    Microsoft-Windows-Notepad-System-FoD-Package-wow64
    Microsoft-Windows-PowerShell-ISE-FOD-Package-amd64
    Microsoft-Windows-PowerShell-ISE-FOD-Package-wow64
    Microsoft-Windows-Printing-PMCPPC-FoD-Package-amd64
    Microsoft-Windows-StepsRecorder-Package-amd64
    Microsoft-Windows-StepsRecorder-Package-wow64
    Microsoft-Windows-TabletPCMath-Package-amd64
    Microsoft-Windows-Wallpaper-Content-Extended-FoD-Package-amd64
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmpciedhd63-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmwl63a-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmwl63al-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwbw02-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwew00-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwew01-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwlv64-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwns64-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwsw00-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwtw02-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwtw04-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwtw06-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwtw08-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwtw10-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Marvel-Mrvlpcie8897-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Qualcomm-Athw8x-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Qualcomm-Athwnx-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Qualcomm-Qcamain10x64-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Ralink-Netr28x-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtl8187se-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtl8192se-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtl819xp-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtl85n64-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane01-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane13-FOD-Package-amd64
    Microsoft-Windows-WMIC-FoD-Package-amd64
    Microsoft-Windows-WMIC-FoD-Package-wow64
    Microsoft-Windows-WordPad-FoD-Package-amd64
    Microsoft-Windows-WordPad-FoD-Package-wow64
    OpenSSH-Client-Package-amd64
    
    ============================================================
    Creating Setup Media Layout . . .
    ============================================================
    
    
    ============================================================
    Creating install.wim . . .
    ============================================================
    
    Using LZX compression with 8 threads
    Archiving file data: 6673 MiB of 6673 MiB (100%) done
    
    ============================================================
    Creating Cumulative Update MSU . . .
    ============================================================
    
    Extracting required files...
    
    Creating: DesktopDeployment_x86.cab
    
    Creating: onepackage.AggregatedMetadata.cab
    
    Creating: Windows11.0-KB5030310-x64.msu
    
    ============================================================
    Updating install.wim / 1 image(s) . . .
    ============================================================
    
    1/5: Windows11.0-KB5030310-x64.msu [Combined UUP]
    2/5: SSU-22621.2351-x64.cab [SSU]
    3/5: windows11.0-kb5027397-x64.cab [Enablement]
    4/5: windows11.0-kb5029863-x64.cab [SafeOS DU]
    5/5: windows11.0-kb5030327-x64.cab [Setup DU]
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Adding Apps . . .
    
    Microsoft.NET.Native.Framework.x64.1.3
    Microsoft.NET.Native.Framework.x64.1.7
    Microsoft.NET.Native.Framework.x64.2.2
    Microsoft.NET.Native.Runtime.x64.1.4
    Microsoft.NET.Native.Runtime.x64.1.7
    Microsoft.NET.Native.Runtime.x64.2.2
    Microsoft.Services.Store.Engagement.x64
    Microsoft.UI.Xaml.x64.2.1
    Microsoft.UI.Xaml.x64.2.3
    Microsoft.UI.Xaml.x64.2.4
    Microsoft.UI.Xaml.x64.2.7
    Microsoft.UI.Xaml.x64.2.8
    Microsoft.VCLibs.x64.14.00
    Microsoft.VCLibs.x64.14.00.Desktop
    Microsoft.WindowsAppRuntime.x64.1.3
    Microsoft.WindowsStore_8wekyb3d8bbwe
    Microsoft.StorePurchaseApp_8wekyb3d8bbwe
    microsoft.windowscommunicationsapps_8wekyb3d8bbwe
    Microsoft.People_8wekyb3d8bbwe
    Microsoft.BingNews_8wekyb3d8bbwe
    Microsoft.BingWeather_8wekyb3d8bbwe
    Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe
    Microsoft.ZuneMusic_8wekyb3d8bbwe
    Microsoft.ZuneVideo_8wekyb3d8bbwe
    Microsoft.WindowsAlarms_8wekyb3d8bbwe
    Microsoft.WindowsCalculator_8wekyb3d8bbwe
    Microsoft.WindowsNotepad_8wekyb3d8bbwe
    Microsoft.WindowsTerminal_8wekyb3d8bbwe
    Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe
    Microsoft.GetHelp_8wekyb3d8bbwe
    Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe
    Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe
    Microsoft.ScreenSketch_8wekyb3d8bbwe
    Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe
    Microsoft.Todos_8wekyb3d8bbwe
    Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe
    Microsoft.GamingApp_8wekyb3d8bbwe
    Microsoft.XboxGameOverlay_8wekyb3d8bbwe
    Microsoft.XboxGamingOverlay_8wekyb3d8bbwe
    Microsoft.XboxIdentityProvider_8wekyb3d8bbwe
    Microsoft.Xbox.TCUI_8wekyb3d8bbwe
    Microsoft.Getstarted_8wekyb3d8bbwe
    Microsoft.Windows.Photos_8wekyb3d8bbwe
    Microsoft.WindowsMaps_8wekyb3d8bbwe
    Microsoft.PowerAutomateDesktop_8wekyb3d8bbwe
    Microsoft.WindowsCamera_8wekyb3d8bbwe
    Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
    Microsoft.Paint_8wekyb3d8bbwe
    Microsoft.WebMediaExtensions_8wekyb3d8bbwe
    Microsoft.RawImageExtension_8wekyb3d8bbwe
    Microsoft.HEIFImageExtension_8wekyb3d8bbwe
    Microsoft.HEVCVideoExtension_8wekyb3d8bbwe
    Microsoft.VP9VideoExtensions_8wekyb3d8bbwe
    Microsoft.WebpImageExtension_8wekyb3d8bbwe
    MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy
    Microsoft.SecHealthUI_8wekyb3d8bbwe
    Clipchamp.Clipchamp_yxz26nhyzhsrt
    MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe
    Microsoft.YourPhone_8wekyb3d8bbwe
    Microsoft.549981C3F5F10_8wekyb3d8bbwe
    MicrosoftCorporationII.MicrosoftFamily_8wekyb3d8bbwe
    Microsoft.OutlookForWindows_8wekyb3d8bbwe
    Microsoft.Windows.DevHome_8wekyb3d8bbwe
    MicrosoftTeams_8wekyb3d8bbwe
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Adding Updates . . .
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_2351~31bf3856ad364e35~amd64~~22621.2351.1.0
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_2351 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Package_for_KB5027397~31bf3856ad364e35~amd64~~22621.2355.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Windows11.0-KB5030310-x64.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 -
    [===========================80.0%==============            ]
    [==========================100.0%==========================] The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.22631.2361
    
    [=====                      10.0%                          ]
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.22631.2361
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.22631.2361
    
    Processing 1 of 1 -
    [===========================80.0%==============            ]
    [==========================100.0%==========================] The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image File : F:\22631.2361_amd64_en-us_professional_c73b58aa_convert\ISOFOLDER\sources\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    "ISOFOLDER\sources\install.wim" original size: 5742830 KiB
    Using LZX compression with 8 threads
    Archiving file data: 9348 MiB of 9348 MiB (100%) done
    "ISOFOLDER\sources\install.wim" optimized size: 4416101 KiB
    Space saved: 1326728 KiB
    
    ============================================================
    Adding setup dynamic update(s) . . .
    ============================================================
    
    windows11.0-kb5030327-x64.cab
    
    ============================================================
    Creating winre.wim . . .
    ============================================================
    
    Using LZX compression with 8 threads
    Archiving file data: 1182 MiB of 1182 MiB (100%) done
    
    ============================================================
    Updating winre.wim / 1 image(s) . . .
    ============================================================
    
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_2351~31bf3856ad364e35~amd64~~22621.2351.1.0
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_2351 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Package_for_KB5029863~31bf3856ad364e35~amd64~~22621.2209.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Windows11.0-KB5030310-x64.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.22621.1844
    
    Processing 1 of 1 -
    [===========================80.0%==============            ]
    [==========================100.0%==========================] The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.22621.2361
    
    [===================        33.6%                          ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.22621.2361
    
    Processing 1 of 1 - Adding package Package_for_KB5027397~31bf3856ad364e35~amd64~~22621.2355.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image File : F:\22631.2361_amd64_en-us_professional_c73b58aa_convert\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: 1504 MiB of 1504 MiB (100%) done
    
    ============================================================
    Adding winre.wim to install.wim . . .
    ============================================================
    
    
    ============================================================
    Creating boot.wim . . .
    ============================================================
    
    "ISOFOLDER\sources\boot.wim" original size: 951940 KiB
    Using LZX compression with 8 threads
    Archiving file data: 1562 MiB of 1562 MiB (100%) done
    "ISOFOLDER\sources\boot.wim" optimized size: 677315 KiB
    Space saved: 274625 KiB
    
    ============================================================
    Checking Distribution Info . . .
    ============================================================
    
    ============================================================
    Configured Virtual Options . . .
    ============================================================
    
    AutoStart
    AutoEditions: Enterprise,Education,ProfessionalEducation,ProfessionalWorkstation,EnterpriseN,EducationN,ProfessionalEducationN,ProfessionalWorkstationN,CoreSingleLanguage,ServerRdsh,IoTEnterprise,IoTEnterpriseS,CloudEdition,CloudEditionN
    
    ============================================================
    Copying install.wim . . .
    ============================================================
    
    ============================================================
    Creating Edition: Enterprise
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 2 to "Enterprise".
    Setting the FLAGS property of image 2 to "Enterprise".
    Setting the DISPLAYNAME property of image 2 to "Windows 11 Enterprise".
    Setting the DISPLAYDESCRIPTION property of image 2 to "Windows 11 Enterprise".
    
    ============================================================
    Creating Edition: Education
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 3 to "Education".
    Setting the FLAGS property of image 3 to "Education".
    Setting the DISPLAYNAME property of image 3 to "Windows 11 Education".
    Setting the DISPLAYDESCRIPTION property of image 3 to "Windows 11 Education".
    
    ============================================================
    Creating Edition: Pro Education
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 4 to "ProfessionalEducation".
    Setting the FLAGS property of image 4 to "ProfessionalEducation".
    Setting the DISPLAYNAME property of image 4 to "Windows 11 Pro Education".
    Setting the DISPLAYDESCRIPTION property of image 4 to "Windows 11 Pro Education".
    
    ============================================================
    Creating Edition: Pro for Workstations
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 5 to "ProfessionalWorkstation".
    Setting the FLAGS property of image 5 to "ProfessionalWorkstation".
    Setting the DISPLAYNAME property of image 5 to "Windows 11 Pro for Workstations".
    Setting the DISPLAYDESCRIPTION property of image 5 to "Windows 11 Pro for Workstations".
    
    ============================================================
    Creating Edition: Enterprise multi-session
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 6 to "ServerRdsh".
    Setting the FLAGS property of image 6 to "ServerRdsh".
    Setting the DISPLAYNAME property of image 6 to "Windows 11 Enterprise multi-session".
    Setting the DISPLAYDESCRIPTION property of image 6 to "Windows 11 Enterprise multi-session".
    
    ============================================================
    Creating Edition: IoT Enterprise
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 7 to "IoTEnterprise".
    Setting the FLAGS property of image 7 to "IoTEnterprise".
    Setting the DISPLAYNAME property of image 7 to "Windows 11 IoT Enterprise".
    Setting the DISPLAYDESCRIPTION property of image 7 to "Windows 11 IoT Enterprise".
    
    ============================================================
    Creating Edition: SE
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 8 to "CloudEdition".
    Setting the FLAGS property of image 8 to "CloudEdition".
    Setting the DISPLAYNAME property of image 8 to "Windows 11 SE".
    Setting the DISPLAYDESCRIPTION property of image 8 to "Windows 11 SE".
    
    ============================================================
    Rebuilding install.wim . . .
    ============================================================
    
    "ISOFOLDER\sources\install.wim" original size: 5317760 KiB
    Using LZX compression with 8 threads
    Archiving file data: 10 GiB of 10 GiB (100%) done
    "ISOFOLDER\sources\install.wim" optimized size: 5213261 KiB
    Space saved: 104498 KiB
    
    ============================================================
    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 43 directories)
    Scanning source tree complete (945 files in 86 directories)
    
    Computing directory information complete
    
    Image file is 6290079744 bytes (before optimization)
    
    Writing 945 files in 86 directories to 22631.2361.230915-2031.23H2_RELEASE_SVC_PROD3_CLIENTMULTI_X64FRE_EN-US.ISO
    
    100% complete
    
    Storage optimization saved 24 files, 14239744 bytes (1% of image)
    
    After optimization, image file is 6277974016 bytes
    Space saved because of embedding, sparseness or optimization = 14239744
    
    Done.
    
    
    
    ============================================================
    Removing temporary files . . .
    ============================================================
    
    Press 0 to exit.

    should be W10UI issue

    Снимок экрана 2023-09-29 222302.jpg

    going to test it without new wimlib option
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,949
    97,192
    450
    Code:
    @setlocal DisableDelayedExpansion
    @set uiv=v10.34
    @echo off
    :: enable debug mode, you must also set target and repo (if updates are not beside the script)
    set _Debug=0
    
    :: when changing below options, recommended to set the new values between = and " marks
    
    :: target distribution, wim file or offline image
    :: leave it blank to update current online os, or automatically detect wim file next to the script
    set "Target=%~dp022621_Work_x64_US"
    
    :: updates location
    :: leave it blank to automatically detect the current script directory
    set "Repo=%~dp022631_Updates_x64"
    
    :: dism.exe tool custom path (if Host OS is Win8.1 or earlier and no Win10 ADK installed)
    set "DismRoot=dism.exe"
    
    :: enable .NET 3.5 feature
    set Net35=1
    
    :: optional, specify custom "folder" path for microsoft-windows-netfx3-ondemand-package.cab
    set "Net35Source=%~dp022621_SXS_x64"
    
    :: Cleanup OS images to "compress" superseded components (might take long time to complete)
    set Cleanup=1
    
    :: Rebase OS images to "remove" superseded components (warning: break "Reset this PC" feature)
    :: require first to set Cleanup=1
    set ResetBase=1
    
    :: update winre.wim if detected inside install.wim
    set WinRE=1
    
    :: Force updating winre.wim with Cumulative Update even if SafeOS update detected
    set LCUwinre=1
    
    :: update ISO boot files bootmgr/bootmgr.efi/efisys.bin from Cumulative Update
    set UpdtBootFiles=1
    
    :: 1 = do not install EdgeChromium with Enablement Package or Cumulative Update
    :: 2 = alternative workaround to avoid EdgeChromium with Cumulative Update only
    set SkipEdge=0
    
    :: optional, set directory for temporary extracted files (default is on the same drive as the script)
    set "_CabDir=c:\W10UItemp"
    
    :: optional, set mount directory for updating wim files (default is on the same drive as the script)
    set "MountDir=c:\W10UImount"
    set "WinreMount=c:\W10UImount"
    
    :: start the process directly once you execute the script, as long as the other options are correctly set
    set AutoStart=0
    
    :: detect and use wimlib-imagex.exe for exporting wim files instead dism.exe
    set UseWimlib=1
    
    :: ### Options for distribution target only ###
    
    :: convert install.wim to install.esd
    :: warning: the process will consume very high amount of CPU and RAM resources
    set wim2esd=1
    
    :: split install.wim into multiple install.swm files
    :: note: if both options are 1, install.esd takes precedence over split install.swm
    set wim2swm=0
    
    :: create new iso file
    :: require Win10 ADK, or place oscdimg.exe or cdimage.exe next to the script, or inside bin folder
    set ISO=1
    
    :: folder path for iso file, leave it blank to create ISO in the script current directory
    set "ISODir="
    
    :: delete DVD distribution folder after creating updated ISO
    set Delete_Source=0
    
    Code:
    ====================== W10UI v10.34 =======================
    [1] Target (x64): "E:\W11UI\22621_Work_x64_US"
    
    [2] Updates: "E:\W11UI\22631_Updates_x64"
    
    [3] DISM: "Host OS"
    
    [4] Enable .NET 3.5: YES
    
    [5] Cleanup System Image: YES      [6] Reset Image Base: YES
    
    [7] Update WinRE.wim: YES
    
    [8] install.wim selected indexes: 1 / [K] Keep indexes: Selected
    
    [M] Mount Directory: "c:\W10UImount_22413"
    
    [E] Extraction Directory: "c:\W10UItemp_23082"
    
    ============================================================
    Change a menu option, press 0 to start the process, or 9 to exit:
    Code:
    ============================================================
    Running W10UI v10.34
    ============================================================
    
    ============================================================
    Extracting dpx.dll file...
    ============================================================
    
    ============================================================
    Extracting .cab files from .msu files...
    ============================================================
    
    1/1: windows11.0-kb5030310-x64_LCU_2361.1.13.msu [Combined UUP]
    
    ============================================================
    Extracting files from update cabinets (.cab)...
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/6: defender-dism-x64_steven4554_Sept_27_2023.cab
    2/6: windows11.0-kb5027397-x64_23H2_EP.cab [Enablement]
    3/6: windows11.0-kb5029863-x64_DU_SafeOS_2209.1.1.cab [SafeOS DU]
    4/6: windows11.0-kb5030327-x64_DU_Sources_2275.cab [Setup DU]
    5/6: Windows11.0-KB5030651-x64-NDP481_CU_9191.1.cab [NetFx]
    6/6: Windows11.0-KB5030508-x64_inout.cab [SSU]
    
    ============================================================
    Mounting sources\install.wim - index 1/11
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_2351~31bf3856ad364e35~amd64~~22621.2351.1.0
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_2351 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 2 - Adding package Package_for_KB5027397~31bf3856ad364e35~amd64~~22621.2355.1.1
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9191.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    windows11.0-kb5030310-x64_LCU_2361.1.13.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 -
    [===========================80.0%==============            ]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Resetting OS image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22631.2361
    
    [=====                      10.0%                          ]
    [===========================98.6%========================= ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22631.2361
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Adding Defender update...
    ============================================================
    
    
    ============================================================
    Adding .NET Framework 3.5 feature...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22631.2361
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Reinstalling cumulative update(s)...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22631.2361
    
    Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9191.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22631.2361
    
    Processing 1 of 1 -
    [===========================80.0%==============            ]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Updating winre.wim ...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_2351~31bf3856ad364e35~amd64~~22621.2351.1.0
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_2351 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Package_for_KB5029863~31bf3856ad364e35~amd64~~22621.2209.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    windows11.0-kb5030310-x64_LCU_2361.1.13.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1844
    
    Processing 1 of 1 -
    [===========================80.0%==============            ]
    [==========================100.0%==========================] The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.2361
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.2361
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image File : E:\W11UI\winre.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    Using LZX compression with 16 threads
    Archiving file data: 1502 MiB of 1502 MiB (100%) done
    
    ============================================================
    Adding updated winre.wim ...
    ============================================================
    
            1 file(s) copied.
    
    ============================================================
    Unmounting sources\install.wim - index 1/11
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image File : E:\W11UI\22621_Work_x64_US\sources\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\install.wim ...
    ============================================================
    Using LZX compression with 16 threads
    Archiving file data: 10 GiB of 10 GiB (100%) done
    
    ============================================================
    Mounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_2351~31bf3856ad364e35~amd64~~22621.2351.1.0
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_2351 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Package_for_KB5027397~31bf3856ad364e35~amd64~~22621.2355.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    windows11.0-kb5030310-x64_LCU_2361.1.13.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 -
    [===========================80.0%==============            ]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.2361
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.2361
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image File : E:\W11UI\22621_Work_x64_US\sources\boot.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mounting sources\boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_2351~31bf3856ad364e35~amd64~~22621.2351.1.0
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_2351 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Package_for_KB5027397~31bf3856ad364e35~amd64~~22621.2355.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    windows11.0-kb5030310-x64_LCU_2361.1.13.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 -
    [===========================80.0%==============            ]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.2361
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.2361
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image File : E:\W11UI\22621_Work_x64_US\sources\boot.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\boot.wim ...
    ============================================================
    Using LZX compression with 16 threads
    Archiving file data: 1174 MiB of 1174 MiB (100%) done
    
    ============================================================
    Adding setup dynamic update(s)...
    ============================================================
    
    windows11.0-kb5030327-x64_DU_Sources_2275.cab
    
    ============================================================
    Converting install.wim to install.esd ...
    ============================================================
    Using LZMS compression with 16 threads
    Archiving file data: 10 GiB of 10 GiB (100%) done
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Creating updated ISO file...
    ============================================================
    
    ISO Location:
    "E:\W11UI"
    
    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 43 directories)
    Scanning source tree complete (942 files in 86 directories)
    
    Computing directory information complete
    
    Image file is 5173149696 bytes (before optimization)
    
    Writing 942 files in 86 directories to 22631.2361.230915-2031.23H2_RELEASE_SVC_PROD3_CLIENT_X64FRE_EN-US.iso
    
    100% complete
    
    Storage optimization saved 24 files, 14239744 bytes (1% of image)
    
    After optimization, image file is 5161056256 bytes
    Space saved because of embedding, sparseness or optimization = 14239744
    
    Done.
    
    ============================================================
       Finished
    ============================================================
    
    
    Press 9 to exit.
    
    [​IMG]
     
  15. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,949
    97,192
    450
    The ISO is created and boot.wim is updated but the 10.33 script doesn't show the ISO being created.
     
  16. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,454
    86,514
    340
    My bad, didn't look through :p

    if iso is created is should say "Creating updated ISO file..."
    did you disable ISO option perhaps?
    the only way iso is skipped is if powershell is no detected

    ----
    anyway, for testing :)
    http://put.nu/files/FqN8VYX.zip
     
  17. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,949
    97,192
    450
    Nope, it created the ISO i used for my AiO ISO project.
     
  18. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,493
    3,224
    60
    I just finished updating ISO with old v10.34 script, it works fine with UseWimlib=0
    can't keep up with my old CPU, can test new script later
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,949
    97,192
    450
    Code:
    @setlocal DisableDelayedExpansion
    @set uiv=v10.34
    @echo off
    :: enable debug mode, you must also set target and repo (if updates are not beside the script)
    set _Debug=0
    
    :: when changing below options, recommended to set the new values between = and " marks
    
    :: target distribution, wim file or offline image
    :: leave it blank to update current online os, or automatically detect wim file next to the script
    set "Target=%~dp022621_Work_x64_US"
    
    :: updates location
    :: leave it blank to automatically detect the current script directory
    set "Repo=%~dp022631_Updates_x64"
    
    :: dism.exe tool custom path (if Host OS is Win8.1 or earlier and no Win10 ADK installed)
    set "DismRoot=dism.exe"
    
    :: enable .NET 3.5 feature
    set Net35=1
    
    :: optional, specify custom "folder" path for microsoft-windows-netfx3-ondemand-package.cab
    set "Net35Source=%~dp022621_SXS_x64"
    
    :: Cleanup OS images to "compress" superseded components (might take long time to complete)
    set Cleanup=1
    
    :: Rebase OS images to "remove" superseded components (warning: break "Reset this PC" feature)
    :: require first to set Cleanup=1
    set ResetBase=1
    
    :: update winre.wim if detected inside install.wim
    set WinRE=1
    
    :: Force updating winre.wim with Cumulative Update even if SafeOS update detected
    set LCUwinre=1
    
    :: update ISO boot files bootmgr/bootmgr.efi/efisys.bin from Cumulative Update
    set UpdtBootFiles=1
    
    :: 1 = do not install EdgeChromium with Enablement Package or Cumulative Update
    :: 2 = alternative workaround to avoid EdgeChromium with Cumulative Update only
    set SkipEdge=0
    
    :: optional, set directory for temporary extracted files (default is on the same drive as the script)
    set "_CabDir=c:\W10UItemp"
    
    :: optional, set mount directory for updating wim files (default is on the same drive as the script)
    set "MountDir=c:\W10UImount"
    set "WinreMount=c:\W10UImount"
    
    :: start the process directly once you execute the script, as long as the other options are correctly set
    set AutoStart=0
    
    :: detect and use wimlib-imagex.exe for exporting wim files instead dism.exe
    set UseWimlib=0
    
    :: ### Options for distribution target only ###
    
    :: convert install.wim to install.esd
    :: warning: the process will consume very high amount of CPU and RAM resources
    set wim2esd=0
    
    :: split install.wim into multiple install.swm files
    :: note: if both options are 1, install.esd takes precedence over split install.swm
    set wim2swm=0
    
    :: create new iso file
    :: require Win10 ADK, or place oscdimg.exe or cdimage.exe next to the script, or inside bin folder
    set ISO=1
    
    :: folder path for iso file, leave it blank to create ISO in the script current directory
    set "ISODir="
    
    :: delete DVD distribution folder after creating updated ISO
    set Delete_Source=0
    
    working fine, 10.34_Test almost ready to test.
     
  20. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,949
    97,192
    450
    Code:
    @setlocal DisableDelayedExpansion
    @set uiv=v10.34_Test
    @echo off
    :: enable debug mode, you must also set target and repo (if updates are not beside the script)
    set _Debug=0
    
    :: when changing below options, recommended to set the new values between = and " marks
    
    :: target distribution, wim file or offline image
    :: leave it blank to update current online os, or automatically detect wim file next to the script
    set "Target=%~dp022621_Work_x64_US"
    
    :: updates location
    :: leave it blank to automatically detect the current script directory
    set "Repo=%~dp022631_Updates_x64"
    
    :: dism.exe tool custom path (if Host OS is Win8.1 or earlier and no Win10 ADK installed)
    set "DismRoot=dism.exe"
    
    :: enable .NET 3.5 feature
    set Net35=1
    
    :: optional, specify custom "folder" path for microsoft-windows-netfx3-ondemand-package.cab
    set "Net35Source="
    
    :: Cleanup OS images to "compress" superseded components (might take long time to complete)
    set Cleanup=0
    
    :: Rebase OS images to "remove" superseded components (warning: break "Reset this PC" feature)
    :: require first to set Cleanup=1
    set ResetBase=0
    
    :: update winre.wim if detected inside install.wim
    set WinRE=1
    
    :: Force updating winre.wim with Cumulative Update regardless if SafeOS update detected
    set LCUwinre=1
    
    :: update ISO boot files bootmgr/memtest/efisys.bin from Cumulative Update
    set UpdtBootFiles=1
    
    :: 1 = do not install EdgeChromium with Enablement Package or Cumulative Update
    :: 2 = alternative workaround to avoid EdgeChromium with Cumulative Update only
    set SkipEdge=0
    
    :: optional, set directory for temporary extracted files (default is on the same drive as the script)
    set "_CabDir=W10UItemp"
    
    :: optional, set mount directory for updating wim files (default is on the same drive as the script)
    set "MountDir=c:\W10UImount"
    set "WinreMount=c:\W10UImount"
    
    :: start the process directly once you execute the script, as long as the other options are correctly set
    set AutoStart=0
    
    :: detect and use wimlib-imagex.exe for exporting wim files instead dism.exe
    set UseWimlib=1
    
    :: ### Options for distribution target only ###
    
    :: convert install.wim to install.esd
    :: warning: the process will consume very high amount of CPU and RAM resources
    set wim2esd=0
    
    :: split install.wim into multiple install.swm files
    :: note: if both options are 1, install.esd takes precedence over split install.swm
    set wim2swm=0
    
    :: create new iso file
    :: require Win10 ADK, or place oscdimg.exe or cdimage.exe next to the script, or inside bin folder
    set ISO=1
    
    :: folder path for iso file, leave it blank to create ISO in the script current directory
    set "ISODir="
    
    :: delete DVD distribution folder after creating updated ISO
    set Delete_Source=0
    Code:
    ============================================================
    Running W10UI v10.34_Test
    ============================================================
    
    ============================================================
    Extracting dpx.dll file...
    ============================================================
    
    ============================================================
    Extracting .cab files from .msu files...
    ============================================================
    
    1/1: windows11.0-kb5030310-x64_LCU_2361.1.13.msu [Combined UUP]
    
    ============================================================
    Extracting files from update cabinets (.cab)...
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/6: defender-dism-x64_steven4554_Sept_27_2023.cab
    2/6: windows11.0-kb5027397-x64_23H2_EP.cab [Enablement]
    3/6: windows11.0-kb5029863-x64_DU_SafeOS_2209.1.1.cab [SafeOS DU]
    4/6: windows11.0-kb5030327-x64_DU_Sources_2275.cab [Setup DU]
    5/6: Windows11.0-KB5030651-x64-NDP481_CU_9191.1.cab [NetFx]
    6/6: Windows11.0-KB5030508-x64_inout.cab [SSU]
    
    ============================================================
    Mounting sources\install.wim - index 1/11
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_2351~31bf3856ad364e35~amd64~~22621.2351.1.0
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_2351 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 2 - Adding package Package_for_KB5027397~31bf3856ad364e35~amd64~~22621.2355.1.1
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9191.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    windows11.0-kb5030310-x64_LCU_2361.1.13.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 -
    [===========================80.0%==============            ]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Adding Defender update...
    ============================================================
    
    
    ============================================================
    Adding .NET Framework 3.5 feature...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22631.2361
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Reinstalling cumulative update(s)...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22631.2361
    
    Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9191.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22631.2361
    
    Processing 1 of 1 -
    [===========================80.0%==============            ]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Updating winre.wim ...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_2351~31bf3856ad364e35~amd64~~22621.2351.1.0
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_2351 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Package_for_KB5029863~31bf3856ad364e35~amd64~~22621.2209.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    windows11.0-kb5030310-x64_LCU_2361.1.13.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1844
    
    Processing 1 of 1 -
    [===========================80.0%==============            ]
    [==========================100.0%==========================] The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.2361
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.2361
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image File : E:\W11UI\winre.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Using LZX compression with 16 threads
    Archiving file data: 1502 MiB of 1502 MiB (100%) done
    
    ============================================================
    Adding updated winre.wim ...
    ============================================================
    
            1 file(s) copied.
    
    ============================================================
    Unmounting sources\install.wim - index 1/11
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image File : E:\W11UI\22621_Work_x64_US\sources\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\install.wim ...
    ============================================================
    
    Using LZX compression with 16 threads
    Archiving file data: 12 GiB of 12 GiB (100%) done
    
    ============================================================
    Mounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_2351~31bf3856ad364e35~amd64~~22621.2351.1.0
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_2351 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Package_for_KB5027397~31bf3856ad364e35~amd64~~22621.2355.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    windows11.0-kb5030310-x64_LCU_2361.1.13.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 -
    [===========================80.0%==============            ]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.2361
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.2361
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image File : E:\W11UI\22621_Work_x64_US\sources\boot.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mounting sources\boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_2351~31bf3856ad364e35~amd64~~22621.2351.1.0
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_2351 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Package_for_KB5027397~31bf3856ad364e35~amd64~~22621.2355.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    windows11.0-kb5030310-x64_LCU_2361.1.13.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 -
    [===========================80.0%==============            ]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.2361
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.2361
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image File : E:\W11UI\22621_Work_x64_US\sources\boot.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\boot.wim ...
    ============================================================
    
    Using LZX compression with 16 threads
    Archiving file data: 1175 MiB of 1175 MiB (100%) done
    
    ============================================================
    Adding setup dynamic update(s)...
    ============================================================
    
    windows11.0-kb5030327-x64_DU_Sources_2275.cab
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Creating updated ISO file...
    ============================================================
    
    ISO Location:
    "E:\W11UI"
    
    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 43 directories)
    Scanning source tree complete (944 files in 86 directories)
    
    Computing directory information complete
    
    Image file is 7457046528 bytes (before optimization)
    
    Writing 944 files in 86 directories to 22631.2361.230915-2031.23H2_RELEASE_SVC_PROD3_CLIENT_X64FRE_EN-US.iso
    
    100% complete
    
    Storage optimization saved 24 files, 14239744 bytes (1% of image)
    
    After optimization, image file is 7444955136 bytes
    Space saved because of embedding, sparseness or optimization = 14239744
    
    Done.
    
    ============================================================
       Finished
    ============================================================
    
    
    Press 9 to exit.
    
    Wimlib is set to 1 here and again the BSOD instantly at vmware start.