abbodi1406's Batch Scripts Repo

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

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,922
    340
    @fch1993

    it's clearly an integration error, check DismLCU.log as mentioned

    SSU KB5000859 is not applicable for Core editions, so it's not actually integrated completely (only staged for Professional)
    likewise LCU KB5000854

    to fix this, don't select Windows 10 Home from UUP dump (i.e. remove core_en-us.esd/coren_en-us.esd) and try conversion again

    i will see if i can add applicability check for Core editions to exclude from updating
     
  2. fch1993

    fch1993 MDL Senior Member

    Mar 14, 2020
    368
    270
    10
    #1362 fch1993, Mar 31, 2021
    Last edited: Mar 31, 2021
    @abbodi1406

    W10UI may use the wrong install order in Windows 10 1703.

    My test case

    Windows 10 Enterprise from UUP: https://www.uupdump.net/download.ph...43-16e6c3758479&pack=en-us&edition=enterprise

    Windows 10 Team (zh-CN) from Wzor: https://twitter.com/wzornet/status/872733328675401728

    (I'm not sure it is truly the official image of the Windows 10 Team The decrypted name is “15063.0.170710-1358.RS2_RELEASE_SVC_REFRESH_CLIENTPPIPRO_OEM_X64FRE_EN-US.iso“, But DISM tells me it's 15063.483. I don't think MSFT mistakes the image version. I choose to use the zh-CN image because this one DISM tells me it's 15063.0)'


    For Windows 10 Team, KB5000749 will cause pending.

    Install KB5000749 for Windows 10 Enterprise doesn't cause pending.

    So I think When integrating update to Windows 10 Team. W10UI should do "Cleanup" or "ResetBase" First, Then install the KB5000749.



    update list:

    KB4565551 (Latest SSU From Update Catalog)
    KB5000812 (LCU From Update Catalog)
    KB5000749 (From this post: https://forums.mydigitallife.net/th...te-final-15063-pc.73650/page-204#post-1651008)

    W10UI.ini
    Code:
    [W10UI-Configuration]
    Target        =
    Repo          =
    DismRoot      =dism.exe
    
    Net35         =0
    Net35Source   =
    Cleanup       =1
    ResetBase     =1
    WinRE         =0
    SkipEdge      =1
    
    _CabDir       =W10UItemp
    MountDir      =W10UImount
    WinreMount    =W10UImountre
    
    wim2esd       =0
    wim2swm       =0
    ISO           =0
    ISODir        =
    Delete_Source =1
    
    AutoStart     =0
    
    
    Test log:

    Code:
    ============================================================
    Running W10UI v9.8
    ============================================================
    
    ============================================================
    Extracting .cab files from .msu files
    ============================================================
    
    1/3: windows10.0-kb4565551-x64_a09bd8cb699781c1f52563db334ea294493e47cf.msu
    2/3: windows10.0-kb5000749-x64_df5a000c035731074879c7141c21a4d2cb26e244.msu
    3/3: windows10.0-kb5000812-x64_40fa4a2bc24183c18efa21dd13056c6711a988d4.msu
    
    ============================================================
    Extracting files from update cabinets (.cab)
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/3: Windows10.0-KB4565551-x64.cab [SSU]
    2/3: Windows10.0-KB5000749-x64.cab
    3/3: Windows10.0-KB5000812-x64.cab [LCU]
    
    ============================================================
    Mounting 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.15063.0
    
    Processing 1 of 1 - Adding package Package_for_KB4565551~31bf3856ad364e35~amd64~~15063.2430.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    Processing 1 of 1 - Adding package Package_for_KB5000749~31bf3856ad364e35~amd64~~10.0.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Processing 1 of 1 - Adding Windows10.0-KB5000812-x64
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Resetting OS image base
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmounting install.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : C:\Softwares\W10UI\1703\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Mounting install.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.15063.0
    
    Processing 1 of 1 - Adding package Package_for_KB4565551~31bf3856ad364e35~amd64~~15063.2430.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    Processing 1 of 1 - Adding package Package_for_KB5000749~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.15063.2430
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~15063.2679.1.5
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmounting install.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : C:\Softwares\W10UI\1703\install.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding install.wim
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
       Finished
    ============================================================
    
    
    Press 9 to exit.
    
    
    another test that prove this will cause pending.

    Code:
    Windows PowerShell
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    Try the new cross-platform PowerShell https://aka.ms/pscore6
    
    PS C:\WINDOWS\system32> Dism /Image:C:\WIM /Add-Package /PackagePath:C:\Users\Administrator\Downloads\windows10.0-kb4565551-x64_a09bd8cb699781c1f52563db334ea294493e47cf.msu /PackagePath:C:\Users\Administrator\Downloads\windows10.0-kb5000812-x64_40fa4a2bc24183c18efa21dd13056c6711a988d4.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.0
    
    Processing 1 of 2 - Adding package C:\Users\Administrator\Downloads\windows10.0-kb4565551-x64_a09bd8cb699781c1f52563db334ea294493e47cf.msu
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package C:\Users\Administrator\Downloads\windows10.0-kb5000812-x64_40fa4a2bc24183c18efa21dd13056c6711a988d4.msu
    [==========================100.0%==========================]
    The operation completed successfully.
    PS C:\WINDOWS\system32> dism /Image:C:\WIM /Cleanup-Image /StartComponentCleanup
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    [==========================100.0%==========================]
    The operation completed successfully.
    PS C:\WINDOWS\system32> Dism /Image:C:\WIM /Add-Package /PackagePath:C:\Users\Administrator\Downloads\windows10.0-kb5000749-x64_df5a000c035731074879c7141c21a4d2cb26e244.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    Processing 1 of 1 - Adding package C:\Users\Administrator\Downloads\windows10.0-kb5000749-x64_df5a000c035731074879c7141c21a4d2cb26e244.msu
    [==========================100.0%==========================]
    The operation completed successfully.
    PS C:\WINDOWS\system32> dism /Image:C:\WIM /Cleanup-Image /StartComponentCleanup
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    
    
    Error: 0x800f0806
    
    The operation could not be completed due to pending operations.
    
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
    PS C:\WINDOWS\system32>
    
     
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,922
    340
    @fch1993
    don't integrate KB5000749
    it should be installed on live OS only (Windows 10 Team)
     
  4. fch1993

    fch1993 MDL Senior Member

    Mar 14, 2020
    368
    270
    10
    @abbodi1406

    uup-converter-wimlib

    opition SkipEdge not work it still has the edge installed.

    uup source:https://www.uupdump.net/download.ph...-2c5ed6af56be&pack=en-us&edition=professional



    ConvertConfig.ini

    Code:
    [convert-UUP]
    AutoStart    =0
    AddUpdates   =1
    Cleanup      =0
    ResetBase    =0
    NetFx3       =0
    StartVirtual =1
    wim2esd      =0
    SkipISO      =0
    SkipWinRE    =0
    ForceDism    =0
    RefESD       =0
    SkipEdge     =1
    
    [create_virtual_editions]
    vAutoStart   =1
    vDeleteSource=0
    vPreserve    =0
    vwim2esd     =0
    vSkipISO     =0
    vAutoEditions=
    
    
    log:

    Code:
    
    ============================================================
    Running UUP -> ISO v56
    ============================================================
    
    ============================================================
    Checking UUP Info . . .
    ============================================================
    
    ============================================================
    Configured Options . . .
    ============================================================
    
    AutoStart 1
    AddUpdates 1
    StartVirtual
    SkipEdge
    
    ============================================================
    Preparing Reference ESDs . . .
    ============================================================
    
    CAB->ESD: microsoft-onecore-applicationmodel-sync-desktop-fod-package-amd64
    CAB->ESD: microsoft-onecore-directx-database-fod-package-amd64
    CAB->ESD: microsoft-windows-hello-face-migration-package-amd64
    CAB->ESD: microsoft-windows-hello-face-package-amd64
    CAB->ESD: microsoft-windows-internetexplorer-optional-package-amd64
    CAB->ESD: microsoft-windows-languagefeatures-basic-en-us-package-amd64
    CAB->ESD: microsoft-windows-languagefeatures-handwriting-en-us-package-amd64
    CAB->ESD: microsoft-windows-languagefeatures-ocr-en-us-package-amd64
    CAB->ESD: microsoft-windows-languagefeatures-speech-en-us-package-amd64
    CAB->ESD: microsoft-windows-languagefeatures-texttospeech-en-us-package-amd64
    CAB->ESD: microsoft-windows-mediaplayer-package-amd64
    CAB->ESD: microsoft-windows-mspaint-fod-package-amd64
    CAB->ESD: microsoft-windows-notepad-fod-package-amd64
    CAB->ESD: microsoft-windows-powershell-ise-fod-package-amd64
    CAB->ESD: microsoft-windows-printing-pmcppc-fod-package-amd64
    CAB->ESD: microsoft-windows-printing-wfs-fod-package-amd64
    CAB->ESD: microsoft-windows-quickassist-package-amd64
    CAB->ESD: microsoft-windows-stepsrecorder-package-amd64
    CAB->ESD: microsoft-windows-tabletpcmath-package-amd64
    CAB->ESD: microsoft-windows-userexperience-desktop-package-amd64
    CAB->ESD: microsoft-windows-wordpad-fod-package-amd64
    CAB->ESD: openssh-client-package-amd64
    
    ============================================================
    Creating Setup Media Layout . . .
    ============================================================
    
    
    ============================================================
    Creating install.wim . . .
    ============================================================
    
    Using LZX compression with 8 threads
    Archiving file data: 7249 MiB of 7249 MiB (100%) done
    
    ============================================================
    Updating install.wim / 1 image(s) . . .
    ============================================================
    
    1/6: ssu-19041.903-x64.cab [SSU]
    2/6: windows10.0-kb4562830-x64.cab [Enablement / EdgeChromium]
    3/6: windows10.0-kb4578910-x64.cab
    4/6: windows10.0-kb5000842-x64.cab [LCU]
    5/6: windows10.0-kb5000862-x64.cab [Setup DU]
    6/6: windows10.0-kb5000983-x64.cab [WinPE]
    
    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.19041.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack~31bf3856ad364e35~amd64~~19041.903.1.4
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Processing 1 of 1 - Adding windows10.0-kb4562830-x64
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.19041.1
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.19041.1
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.906.1.13
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : C:\Users\Administrator\Downloads\19042.906_amd64_en-us_professional_53504043_convert_virtual\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: 5050902 KiB
    Using LZX compression with 8 threads
    Archiving file data: 10 GiB of 10 GiB (100%) done
    "ISOFOLDER\sources\install.wim" optimized size: 5009259 KiB
    Space saved: 41643 KiB
    
    ============================================================
    Adding setup dynamic update(s) . . .
    ============================================================
    
    windows10.0-kb5000862-x64.cab
    
    ============================================================
    Creating winre.wim . . .
    ============================================================
    
    Using LZX compression with 8 threads
    Archiving file data: 971 MiB of 971 MiB (100%) done
    
    ============================================================
    Updating winre.wim / 1 image(s) . . .
    ============================================================
    
    
    Deployment Image Servicing and Management tool
    Version: 10.0.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.19041.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack~31bf3856ad364e35~amd64~~19041.903.1.4
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_KB5000983~31bf3856ad364e35~amd64~~10.0.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.906.1.13
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.19041.906
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : C:\Users\Administrator\Downloads\19042.906_amd64_en-us_professional_53504043_convert_virtual\temp\winre.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    "temp\winre.wim" original size: 680834 KiB
    Using LZX compression with 8 threads
    Archiving file data: 1030 MiB of 1030 MiB (100%) done
    "temp\winre.wim" optimized size: 426619 KiB
    Space saved: 254215 KiB
    
    ============================================================
    Adding winre.wim to install.wim . . .
    ============================================================
    
    
    ============================================================
    Creating boot.wim . . .
    ============================================================
    
    
    ============================================================
    Checking Distribution Info . . .
    ============================================================
    
    ============================================================
    Configured Virtual Options . . .
    ============================================================
    
    AutoStart
    AutoEditions: ProfessionalWorkstation,ProfessionalEducation,Education,Enterprise,ServerRdsh,IoTEnterprise
    
    ============================================================
    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 10 Enterprise".
    Setting the DISPLAYDESCRIPTION property of image 2 to "Windows 10 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 10 Education".
    Setting the DISPLAYDESCRIPTION property of image 3 to "Windows 10 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 10 Pro Education".
    Setting the DISPLAYDESCRIPTION property of image 4 to "Windows 10 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 10 Pro for Workstations".
    Setting the DISPLAYDESCRIPTION property of image 5 to "Windows 10 Pro for Workstations".
    
    ============================================================
    Creating Edition: Enterprise for Virtual Desktops
    ============================================================
    
    
    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 10 Enterprise for Virtual Desktops".
    Setting the DISPLAYDESCRIPTION property of image 6 to "Windows 10 Enterprise for Virtual Desktops".
    
    ============================================================
    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 10 IoT Enterprise".
    Setting the DISPLAYDESCRIPTION property of image 7 to "Windows 10 IoT Enterprise".
    
    ============================================================
    Rebuilding install.wim . . .
    ============================================================
    
    "ISOFOLDER\sources\install.wim" original size: 5645231 KiB
    Using LZX compression with 8 threads
    Archiving file data: 11 GiB of 11 GiB (100%) done
    "ISOFOLDER\sources\install.wim" optimized size: 5554581 KiB
    Space saved: 90649 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 41 directories)
    Scanning source tree complete (905 files in 86 directories)
    
    Computing directory information complete
    
    Image file is 6428459008 bytes (before optimization)
    
    Writing 905 files in 86 directories to 19042.906.210323-1515.20H2_RELEASE_SVC_PROD3_CLIENTMULTI_X64FRE_EN-US.ISO
    
    100% complete
    
    Storage optimization saved 25 files, 14200832 bytes (1% of image)
    
    After optimization, image file is 6416336896 bytes
    Space saved because of embedding, sparseness or optimization = 14200832
    
    Done.
    
    
    
    ============================================================
    Removing temporary files . . .
    ============================================================
    
    Press 0 to exit.
    
    
     
  5. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,292
    94,825
    450
    Because edge chromium now is integrated by the LCU, he is working on a workaround.
     
  6. His Script Uninstall Edge Chromium worked like a charm . Users Must Use it with Setupcomplete cmd to remove it on First Logon after OOBE Process :)
    Code:
    https://github.com/abbodi1406/WHD/blob/master/scripts/UninstallAllEdgeChromium.zip
    

    Till he fix his W10UI & UUP Tool :)
     
  7. cahmbandung

    cahmbandung MDL Junior Member

    Aug 15, 2012
    56
    7
    0
    Does this toll will uninstall edge legacy too? I want all edge based browser gone from my pc
     
  8. No It Will Only Uninstall EDge Chromium But if You Want to Remove Edge Legacy too then @BAU has already posted a hybrid script somehwere on MDL according to your exact need.
     
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,922
    340
    #1369 abbodi1406, Apr 3, 2021
    Last edited: Apr 3, 2021
    (OP)
    W10UI v9.9

    - Extended SkipEdge option to skip EdgeChromium bunded with Cumulative Update

    thanks to @Enthousiast for testing
     
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,922
    340
    Edit: fixed small typo, please re-download W10UI_9.9r.zip
     
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,922
    340
  12. fch1993

    fch1993 MDL Senior Member

    Mar 14, 2020
    368
    270
    10
    @abbodi1406

    - If SafeOS DU is added, winre.wim will not be updated with LCU (boot.wim will still get LCU)

    Which seems not work.

    - If Core editions are not supported by LCU, they will not be updated (e.g. 17763.1613 and later 1809 builds)

    This Works (Tested by 1803, Testing 1709).

    PS: For Windows 10 1703 UUP Only "Enterprise" and "Team" Support Latest SSU&LCU, other edition like "EnterpriseN" doesn't support it.

    Code:
    
    ============================================================
    Running UUP -> ISO v57
    ============================================================
    
    ============================================================
    Checking UUP Info . . .
    ============================================================
    
    ============================================================
    Configured Options . . .
    ============================================================
    
    AddUpdates 1
    Cleanup
    
    ============================================================
    Preparing Reference ESDs . . .
    ============================================================
    
    CAB->ESD: amd64fre_client_en-us_lp
    CAB->ESD: microsoft-windows-contactsupport-package
    CAB->ESD: microsoft-windows-internetexplorer-optional-package
    CAB->ESD: microsoft-windows-languagefeatures-basic-en-us-package
    CAB->ESD: microsoft-windows-languagefeatures-handwriting-en-us-package
    CAB->ESD: microsoft-windows-languagefeatures-ocr-en-us-package
    CAB->ESD: microsoft-windows-languagefeatures-speech-en-us-package
    CAB->ESD: microsoft-windows-languagefeatures-texttospeech-en-us-package
    CAB->ESD: microsoft-windows-mediaplayer-package
    CAB->ESD: microsoft-windows-quickassist-package
    
    ============================================================
    Creating Setup Media Layout . . .
    ============================================================
    
    
    ============================================================
    Creating install.wim . . .
    ============================================================
    
    Using LZX compression with 8 threads
    Archiving file data: 7042 MiB of 7042 MiB (100%) done
    Using LZX compression with 8 threads
    Archiving file data: 320 MiB of 320 MiB (100%) done
    Using LZX compression with 8 threads
    Archiving file data: 236 MiB of 236 MiB (100%) done
    
    ============================================================
    Updating install.wim / 3 image(s) . . .
    ============================================================
    
    1/4: windows10.0-kb4021572-x64_98c7220bba2cca05caab99a257190b61785844a0.cab [WinPE]
    2/4: windows10.0-kb4519336-x64_503228f21aff1dcdb540ef50b0b732ec12b818da.cab [Setup DU]
    3/4: Windows10.0-KB4565551-x64.cab [SSU]
    4/4: Windows10.0-KB5000812-x64.cab [LCU]
    
    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.15063.0
    
    Processing 1 of 1 - Adding package Package_for_KB4565551~31bf3856ad364e35~amd64~~15063.2430.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Processing 1 of 1 - Staging Windows10.0-KB5000812-x64
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~15063.2679.1.5
    [==========================100.0%==========================]
    
    Error: 0x800f081e
    
    The specified package is not applicable to this image.
    
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\DismESU.log
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : C:\Users\Administrator\Downloads\1703\ISOFOLDER\sources\install.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
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.0
    
    Processing 1 of 1 - Adding package Package_for_KB4565551~31bf3856ad364e35~amd64~~15063.2430.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Processing 1 of 1 - Staging Windows10.0-KB5000812-x64
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~15063.2679.1.5
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : C:\Users\Administrator\Downloads\1703\ISOFOLDER\sources\install.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    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.15063.0
    
    Processing 1 of 1 - Adding package Package_for_KB4565551~31bf3856ad364e35~amd64~~15063.2430.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Processing 1 of 1 - Staging Windows10.0-KB5000812-x64
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~15063.2679.1.5
    [==========================100.0%==========================]
    
    Error: 0x800f081e
    
    The specified package is not applicable to this image.
    
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\DismESU.log
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : C:\Users\Administrator\Downloads\1703\ISOFOLDER\sources\install.wim
    Image Index : 3
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    "ISOFOLDER\sources\install.wim" original size: 4942183 KiB
    Using LZX compression with 8 threads
    Archiving file data: 10 GiB of 10 GiB (100%) done
    "ISOFOLDER\sources\install.wim" optimized size: 4726898 KiB
    Space saved: 215284 KiB
    
    ============================================================
    Adding setup dynamic update(s) . . .
    ============================================================
    
    windows10.0-kb4519336-x64_503228f21aff1dcdb540ef50b0b732ec12b818da.cab
    
    ============================================================
    Creating winre.wim . . .
    ============================================================
    
    Using LZX compression with 8 threads
    Archiving file data: 874 MiB of 874 MiB (100%) done
    
    ============================================================
    Updating winre.wim / 1 image(s) . . .
    ============================================================
    
    
    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.15063.0
    
    Processing 1 of 1 - Adding package Package_for_KB4565551~31bf3856ad364e35~amd64~~15063.2430.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    Processing 1 of 1 - Adding package Package_for_KB4021572~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.15063.2430
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~15063.2679.1.5
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.15063.2430
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : C:\Users\Administrator\Downloads\1703\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: 878 MiB of 878 MiB (100%) done
    
    ============================================================
    Adding winre.wim to install.wim . . .
    ============================================================
    
    
    ============================================================
    Creating boot.wim . . .
    ============================================================
    
    "ISOFOLDER\sources\boot.wim" original size: 599150 KiB
    Using LZX compression with 8 threads
    Archiving file data: 991 MiB of 991 MiB (100%) done
    "ISOFOLDER\sources\boot.wim" optimized size: 368587 KiB
    Space saved: 230562 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 (1500 files in 54 directories)
    Scanning source tree complete (1712 files in 99 directories)
    
    Computing directory information complete
    
    Image file is 5857017856 bytes (before optimization)
    
    Writing 1712 files in 99 directories to 15063.2679.210227-1104.RS2_RELEASE_CLIENTMULTI_X64FRE_EN-US.ISO
    
    100% complete
    
    Storage optimization saved 18 files, 133120 bytes (0% of image)
    
    After optimization, image file is 5860616192 bytes
    Space saved because of embedding, sparseness or optimization = 133120
    
    Done.
    
    
    ============================================================
    Removing temporary files . . .
    ============================================================
    
    Press 0 to exit.
    
    
     
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,922
    340
    You might not notice it in the progress, but this operation means winre.wim is commited/saved to another wim file, before adding LCU and creating boot.wim
    Code:
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    winre.wim size
    Code:
    Using LZX compression with 8 threads
    Archiving file data: 878 MiB of 878 MiB (100%) done
    boot.wim size
    Code:
    Using LZX compression with 8 threads
    Archiving file data: 991 MiB of 991 MiB (100%) done
    "ISOFOLDER\sources\boot.wim" optimized size: 368587 KiB
    Space saved: 230562 KiB
     
  14. fch1993

    fch1993 MDL Senior Member

    Mar 14, 2020
    368
    270
    10
    @abbodi1406

    about the Target set in W10UI/W81UI/W7UI etc.

    Does Target support relative path?

    for example, if I put a image folder "cn_windows_8_1_x64_dvd_2707237" in "WHD-W8.1UI"

    The DISM mount install.wim works but boot.wim fails.

    Code:
    
    [W81UI-Configuration]
    Target        =cn_windows_8_1_x64_dvd_2707237
    
    
     
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,922
    340
    I guess no
     
  16. fch1993

    fch1993 MDL Senior Member

    Mar 14, 2020
    368
    270
    10
    @abbodi1406

    just some of my suggestion

    Is that better to use "--compress LZX:100" instead of "--compress LZX" to boot.wim & winre.wim When ”wim2esd=1“?

    I thought this won't cost much time (compare to creating install.esd) but can save about 20-30MiB of the image size.
     
  17. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,922
    340
    Bootable images should keep standard compression
     
  18. fch1993

    fch1993 MDL Senior Member

    Mar 14, 2020
    368
    270
    10
    What trouble might cause when pressed in maximum LZX?


    another small question about the iso name uup-converter-wimlib created.

    for example :

    19041.1 it's name is "19041.1.191206-1406.xxxxx"

    but in 19041.928 it's name is "19041.928.210408-2013"

    But what I found in "msbuilds.rg-adguard.net" says this should be "19041.928.210407-2138"

    https://msbuilds.rg-adguard.net/GetInfo?id=b9b4782d-1280-4536-a315-5d4b307a7a88

    So Does the uup-converter-wimlib wrote the wrong numbers of datetime?
     
  19. Trickz

    Trickz MDL Novice

    Jul 31, 2015
    35
    11
    0
    Looks like UninstallAllEdgeChromium doesn't remove start menu entries any more after 1904X.928 update.
    DoNotUpdateToEdgeWithChromium doesn't stick either.
     
  20. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,359
    7,078
    210
    Like the many blocker toolkits they released, it will be ignored or removed, eventually. While I genuinely hate Edge (old and new), their thinking is logical - as the old Edge is deprecated and removed, the new one must get installed as to not have a system without any working browser (no, IE is not!).
    They should have handled NeoEdge like Defender - disable or not offer it if a fully working browser is installed and set as default.