How To Use W10UI To Create Windows 10/Windows 11 ISOs With All Windows Updates Pre-Installed

Discussion in 'Windows 10' started by KedarWolf, Jul 12, 2021.

  1. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    38,300
    66,606
    450
    The ISO i linked you to is 17763.1 Enterprise 2019 LTSC.
    I just hate needless and avoidable breaking windows features and you might encounter situations in which it can be usefull.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. swa_kildare

    swa_kildare MDL Junior Member

    Jun 6, 2012
    51
    3
    0
    Ok yes I can see that as been a good point, breakages should always be avoided whenever possible. I hate to ask but do you think I should redo it?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    38,300
    66,606
    450
    That's up to you:)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. swa_kildare

    swa_kildare MDL Junior Member

    Jun 6, 2012
    51
    3
    0
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    38,300
    66,606
    450
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. swa_kildare

    swa_kildare MDL Junior Member

    Jun 6, 2012
    51
    3
    0
    #66 swa_kildare, Aug 12, 2021
    Last edited: Aug 12, 2021
    I'm back to scratching my head... 0 not working again:( The project folder structure? Is that the target location? BTW I set [8] to 1 as shown in your example.

    I don't have W10UI.ini file in that folder.
    Question how would this scenario work, (Note: I (personally) don't create an ISO, I just copy the newly created stuff directly to my original (bootable) USB)
    https://forums.mydigitallife.net/th...ows-updates-pre-installed.83809/#post-1674124 It's the end of another 21h day, I'll look at the problem with fresh eyes after some sleep. Thanks to all who have taken time to help & I do know how hard it can be to help someone who doesn't really know what they are doing.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    38,300
    66,606
    450
    #67 Enthousiast, Aug 12, 2021
    Last edited: Aug 13, 2021
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. swa_kildare

    swa_kildare MDL Junior Member

    Jun 6, 2012
    51
    3
    0
    #68 swa_kildare, Aug 13, 2021
    Last edited: Aug 13, 2021
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    38,300
    66,606
    450
    Whatever you want.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. swa_kildare

    swa_kildare MDL Junior Member

    Jun 6, 2012
    51
    3
    0
    I went with offline install. Have my portable firefox in with all the MDL bookmarks. KMS done.
    I'm not superstitious but had to have my 13y/o black put to sleep this morning:( Apart from that Friday the 13th has gone ok.

    I will spend more time here and learn what I can to avoid a repeat performance of the past 10 days.
    Thanks again for your time & effort, and mean that.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. exian

    exian MDL Novice

    Aug 31, 2020
    6
    1
    0
    Power was gone while w10ui was working and now I have a temporary directory that I cannot delete... I've tried rebooting, using dism /cleanup-wim, dism /umount-wim, gave my user full control over that directory & subdirs, used takeown and then deleted, even removed the WIMMount\Mounted Images registry keys, but the there's no way to delete that directory (10 GB with "windows" and "program files" in it). How can I fix the problem?
     
  12. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    38,300
    66,606
    450
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    927
    1,623
    30
    Excellent advice once again, ENTST
    (And I don't mean to be a slijmbal).

    Using "nsudo" surely beats my stupid method for avoiding locked file trouble after unsuccessful mount/ unmount projects:
    - I do my mounting on a dedicated partition (*) that doesn't have other important stuff on it, so when things go wrong, I can always do a quick and dirty "format e:"

    (*) Except when I forget.
     
  14. exian

    exian MDL Novice

    Aug 31, 2020
    6
    1
    0
    Thanks, it worked like a charm!
     
  15. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    38,300
    66,606
    450
    Thank @abbodi1406 for this, when i was testing W10MUI i had to delete the mountfolder and it took me over 2hrs going thru all kinds of attempts, then i got this info from him and it took just a few seconds:)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. zbigniew59

    zbigniew59 MDL Member

    May 14, 2016
    190
    78
    10
    Keep it up. It's better than Unlocker.
     
  17. brunosso

    brunosso MDL Novice

    Sep 18, 2015
    7
    0
    0
    Hi to all! Thanks for this wonderful topic about the W10UI tool. I want to update my iso of W10 2019 LTSC (it_windows_10_enterprise_ltsc_2019_x64_dvd_2fa02691) with the last hotfix. I read many time this topic and i follow this procedure:
    1. download last hotfix from the Enthousiast post inside the [INFO - DISCUSSION + Downloads] Windows 10 1809 FINAL b 17763.xxx (PC) [RS5] thread;
    2. download last W10UI version from the github repo of abbodi1406;
    3. create a folder C:\W10UI with inside the ISO and the updates in cab format;
    4. extract the ISO in a subfolder inside W10UI folder with the same name of the iso;
    5. delete the W10UI.ini file and change the W10UI.cmd according this:
    Code:
    :: 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=C:\W10UI\it_windows_10_enterprise_ltsc_2019_x64_dvd_2fa02691"
    
    :: updates location
    :: leave it blank to automatically detect the current script directory
    set "Repo="
    
    :: dism.exe tool custom path (if Host OS is not Win10 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=1
    
    :: 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 even if SafeOS update detected
    set LCUwinre=0
    
    :: 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=W10UImount"
    set "WinreMount=W10UImountre"
    
    :: start the process directly once you execute the script, as long as the other options are correctly set
    set AutoStart=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

    then i run the script with admin privileges and the log result is this:
    Code:
    ============================================================
    Running W10UI v10.9
    ============================================================
    
    ============================================================
    Extracting files from update cabinets (.cab)
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/9: defender-dism-x64.cab
    2/9: Windows10.0-KB4486153-x64.cab [NetFx]
    3/9: Windows10.0-KB4486166-x64.cab [NetFx]
    4/9: Windows10.0-KB4535680-x64.cab [SecureBoot]
    5/9: Windows10.0-KB4589208-v2-x64_PSFX.cab
    6/9: Windows10.0-KB5004332-x64-NDP48.cab [NetFx]
    7/9: Windows10.0-KB5005102-x64_inout.cab [LCU]
    8/9: Windows10.0-KB5005114-x64_inout.cab [SSU]
    9/9: windows10.0-kb5005545-x64_b476c22b52917ad95a4f16c615c9d10c328b0347.cab [Setup DU]
    
    ============================================================
    Mounting sources\install.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack~31bf3856ad364e35~amd64~~17763.2140.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_KB4535680~31bf3856ad364e35~amd64~~10.0.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 4 - Adding package Package_for_KB4486153~31bf3856ad364e35~amd64~~10.0.1.3402
    [==========================100.0%==========================]
    Processing 2 of 4 - Adding package Package_for_KB4486166~31bf3856ad364e35~amd64~~10.0.1.2752
    [==========================100.0%==========================]
    Processing 3 of 4 - Adding package Package_for_KB4589208~31bf3856ad364e35~amd64~~10.0.2.4
    [==========================100.0%==========================]
    Processing 4 of 4 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.4400.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.2145.1.6
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Cleaning up OS image
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.2145
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Adding Defender update...
    ============================================================
    
    
    ============================================================
    Adding .NET Framework 3.5 feature
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.2145
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Reinstalling cumulative update(s)...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.2145
    
    Processing 1 of 2 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.4400.1
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.2145.1.6
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Updating winre.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack~31bf3856ad364e35~amd64~~17763.2140.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_KB4589208~31bf3856ad364e35~amd64~~10.0.2.4
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.2145.1.6
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.2145
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.2145
    
    [=============              23.6%                          ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : C:\W10UI\winre.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Adding updated winre.wim
    ============================================================
    
            1 file copiati.
    
    ============================================================
    Unmounting sources\install.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : C:\W10UI\it_windows_10_enterprise_ltsc_2019_x64_dvd_2fa02691\sources\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\install.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack~31bf3856ad364e35~amd64~~17763.2140.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_KB4589208~31bf3856ad364e35~amd64~~10.0.2.4
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.2145.1.6
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.2145
    
    [===========================76.6%============              ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.2145
    
    [=============              23.7%                          ]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : C:\W10UI\it_windows_10_enterprise_ltsc_2019_x64_dvd_2fa02691\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.19041.844
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack~31bf3856ad364e35~amd64~~17763.2140.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_KB4589208~31bf3856ad364e35~amd64~~10.0.2.4
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.2145.1.6
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.2145
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.17763.2145
    
    [=============              23.7%                          ]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : C:\W10UI\it_windows_10_enterprise_ltsc_2019_x64_dvd_2fa02691\sources\boot.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\boot.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Adding setup dynamic update(s)...
    ============================================================
    
    windows10.0-kb5005545-x64_b476c22b52917ad95a4f16c615c9d10c328b0347.cab
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Creating updated ISO file...
    ============================================================
    
    ISO Location:
    "C:\W10UI"
    100%  4604MB 17763.2145.210803-1554.RS5_RELEASE_SVC_PROD2_CLIENT_X64FRE_IT-IT.iso
    
    ============================================================
       Finished
    ============================================================
    
    
    Press 9 to exit.
    

    i obtain an iso and i try to test it in a VirtualBox machine, but after the first reboot i got an error like "Unable to complete the setup. To install Windows in the computer, please restart the installer" (i have the italian version so i translate the content) with only OK button.

    if i click OK the installer reboot and the setup go normally asking language, keyboard layout, etc until the correct termination.

    I need to worry about this error or is normal?

    Thanks in advance
     
  18. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    38,300
    66,606
    450
    The error should not occur (the ISO seems updated correctly), i only use vbox for testing hwid activation.

    I use vmware myself and never seen it happen there neither.

    But when i encounter weird stuff i test install it on a spare system to see what happens there.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. EDK-Rise

    EDK-Rise MDL Junior Member

    Aug 7, 2013
    89
    67
    0
    I have full esd of psf.it's about 1.9GB. how to integrate this esd file into iso/wim?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    38,300
    66,606
    450
    A full esd of psf?

    When you mean a full UUP file set? use UUP>ISO
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...