abbodi1406's Batch Scripts Repo

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

  1. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,680
    1,924
    60
    WAS FÜRN WITZ SPRUCH
    WAS HATTEN DAS MIT DER SACHE ZU TUEN.

    @
    mdl052020 kannste dir sparren witzbold
     
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,319
    340
    How is that related to W10UI?
    i don't remember modifying or touching that file
     
  3. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,680
    1,924
    60
    #1423 KleineZiege, May 15, 2021
    Last edited: May 15, 2021
    this is a good question, normally the winre.wim is copied from the system32 revovery, during the installation, to the recovery drive, but since the winre.wim, the necessary information is missing in the reagent.xml, this does not happen.



    i noticed this by accident because i wanted to create a stick in vmware
     

    Attached Files:

    • 1.PNG
      1.PNG
      File size:
      116 KB
      Views:
      25
    • 2.PNG
      2.PNG
      File size:
      220.2 KB
      Views:
      26
    • 3.PNG
      3.PNG
      File size:
      276.2 KB
      Views:
      24
  4. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,680
    1,924
    60
    for me it is no problem to adjust this afterwards, but if the winre.wim is also written, should be present in the recovery drive, maybe this is also related to the LTSC.

    New version of the 21H1 I have not tested.
     
  5. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,025
    93,862
    450
    On 20H1/2 21H1 it's inside the recovery image, on 2019 LTSC it isn't and it never was (tested with original MVS ISO Enterprise 2019 LTSC 17763.316).
     
  6. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,680
    1,924
    60
    @thx Enthousiast for testing
    I have also just loaded 17763.1,
    It is not entered there either, seems to be an LTSC problem, LTSC sets up the partitions in the wrong place anyway. At least in UEFI.

    seems to be a general problem with the 1809,
    very strange.

    have a nice evening
     
  7. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,025
    93,862
    450
    What is the problem anyway?
    [​IMG]
     
  8. Is it possible to remove Microsoft Edge from the start menu after running your Uninstall All Edge Chromium script?
     
  9. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,680
    1,924
    60
    this looks more like dart10 *g
     
  10. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,025
    93,862
    450
    Yep, inserted in winre by:
    Code:
    
    =========================================================
    Integrate DaRT In Boot.wim ?
    =========================================================
    
    [ 1 ] - Integrate DaRT In Boot.wim
    
    [ 2 ] - Don't Integrate DaRT In Boot.wim
    
    =========================================================
    
    * Type your option and press Enter: 1
    
    =========================================================
    Integrate DaRT In Winre.wim ?
    =========================================================
    
    [ 1 ] - Integrate DaRT In Winre.wim
    
    [ 2 ] - Don't Integrate DaRT In Winre.wim
    
    =========================================================
    
    * Type your option and press Enter: 1
    
    =========================================================
    Extracting Source ISO...
    =========================================================
    
    
    7-Zip 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
    
    Scanning the drive for archives:
    1 folder, 1 file, 4233732096 bytes (4038 MiB)
    
    Extracting archive: Source_ISO\nl_windows_10_enterprise_ltsc_2019_x64_dvd_6b4c874e.iso
    --
    Path = Source_ISO\nl_windows_10_enterprise_ltsc_2019_x64_dvd_6b4c874e.iso
    Type = Udf
    Physical Size = 4233732096
    Comment = CES_X64FREV_NL-NL_DV5
    Cluster Size = 2048
    Created = 2019-03-07 02:00:00
    
    Everything is Ok
    
    Folders: 84
    Files: 943
    Size:       4228196551
    Compressed: 4233732096
    x64 is detected
    
    ==========================================================
    DaRT Language Used : x64 en-us
    ==========================================================
    
    =========================================================
    Preparing DaRT 10 x64...
    =========================================================
    
    
    7-Zip 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
    
    Scanning the drive for archives:
    1 file, 8894690 bytes (8687 KiB)
    
    Extracting archive: DaRT_W10\Dart_w10.tpk
    --
    Path = DaRT_W10\Dart_w10.tpk
    Type = wim
    Physical Size = 8894690
    Size = 8589934592
    Packed Size = 38013142
    Method = LZMS:17
    Cluster Size = 131072
    Created = 2019-04-08 06:13:00
    Modified = 2019-04-08 06:17:13
    Version = 0.14
    Multivolume = -
    Volume = 1
    Volumes = 1
    Images = 2
    
    Everything is Ok
    
    Folders: 12
    Files: 71
    Size:       29258096
    Compressed: 8894690
    
    7-Zip 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
    
    Scanning the drive for archives:
    1 file, 180902 bytes (177 KiB)
    
    Extracting archive: DaRT_W10\Dart_w10_en-US.tpk
    --
    Path = DaRT_W10\Dart_w10_en-US.tpk
    Type = wim
    Physical Size = 180902
    Size = 8589934592
    Packed Size = 1586789
    Method = LZMS:17
    Cluster Size = 131072
    Created = 2016-11-07 10:05:59
    Modified = 2016-11-07 10:16:50
    Version = 0.14
    Multivolume = -
    Volume = 1
    Volumes = 1
    Images = 2
    
    Everything is Ok
    
    Folders: 16
    Files: 45
    Size:       2023776
    Compressed: 180902
    
    7-Zip 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
    
    Scanning the drive for archives:
    1 file, 31283772 bytes (30 MiB)
    
    Extracting archive: DaRT_W10\DebugTools_w10_rs5.tpk
    --
    Path = DaRT_W10\DebugTools_w10_rs5.tpk
    Type = wim
    Physical Size = 31283772
    Size = 8589934592
    Packed Size = 145104525
    Method = LZMS:17
    Cluster Size = 131072
    Created = 2019-04-08 06:21:51
    Modified = 2019-04-08 06:29:41
    Version = 0.14
    Multivolume = -
    Volume = 1
    Volumes = 1
    Images = 2
    
    Everything is Ok
    
    Folders: 60
    Files: 621
    Size:       126937199
    Compressed: 31283772
    Extracting file data: 74 KiB of 74 KiB (100%) done
    Done extracting files.
    
    =========================================================
    Adding DaRT 10 x64 To x64 Boot.wim...
    =========================================================
    
    Scanning "TEMP\Dart_w10\2\"
    15 MiB scanned (35 files, 6 directories)
    Using LZX compression with 8 threads
    Archiving file data: 15 MiB of 15 MiB (100%) done
    Scanning "TEMP\Dart_w10_LP\2\"
    987 KiB scanned (22 files, 8 directories)
    Using LZX compression with 1 thread
    Archiving file data: 987 KiB of 987 KiB (100%) done
    Scanning "TEMP\Dart_w10_DeBug\2\"
    64 MiB scanned (311 files, 30 directories)
    Using LZX compression with 8 threads
    Archiving file data: 64 MiB of 64 MiB (100%) done
    Scanning "TEMP\DaRT\" (loading as WIM path: "\Windows\System32")...
    74 KiB scanned (1 files, 1 directories)
    Using LZX compression with 1 thread
    Archiving file data: 74 KiB of 74 KiB (100%) done
    
    =========================================================
    Optimizing x64 Boot.wim...
    =========================================================
    
    "TEMP\ISO\Sources\boot.wim" original size: 518206 KiB
    Using LZX compression with 8 threads
    Archiving file data: 994 MiB of 994 MiB (100%) done
    "TEMP\ISO\Sources\boot.wim" optimized size: 380312 KiB
    Space saved: 137894 KiB
    
    =========================================================
    Adding DaRT 10 x64 To x64 Winre.wim...
    =========================================================
    
    Extracting file data: 384 MiB of 384 MiB (100%) done
    Done extracting files.
    Scanning "TEMP\Dart_w10\2\"
    15 MiB scanned (35 files, 6 directories)
    Using LZX compression with 8 threads
    Archiving file data: 15 MiB of 15 MiB (100%) done
    Scanning "TEMP\Dart_w10_LP\2\"
    987 KiB scanned (22 files, 8 directories)
    Using LZX compression with 1 thread
    Archiving file data: 987 KiB of 987 KiB (100%) done
    Scanning "TEMP\Dart_w10_DeBug\2\"
    64 MiB scanned (311 files, 30 directories)
    Using LZX compression with 8 threads
    Archiving file data: 64 MiB of 64 MiB (100%) done
    Scanning "TEMP\DaRT\" (loading as WIM path: "\Windows\System32")...
    74 KiB scanned (1 files, 1 directories)
    Updating "\Windows\System32\fmapi.dll" in WIM image
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) done
    
    =========================================================
    Optimizing x64 WinRe...
    =========================================================
    
    "TEMP\Winre\Winre.wim" original size: 433489 KiB
    Using LZX compression with 8 threads
    Archiving file data: 1075 MiB of 1075 MiB (100%) done
    "TEMP\Winre\Winre.wim" optimized size: 422548 KiB
    Space saved: 10940 KiB
    
    =========================================================
    Putting x64 Winre.wim Back In x64 Install.wim...
    =========================================================
    
    
    =========================================================
    Optimizing x64 Install.wim...
    =========================================================
    
    "TEMP\ISO\Sources\install.wim" original size: 3818977 KiB
    Using LZX compression with 8 threads
    Archiving file data: 6772 MiB of 6772 MiB (100%) done
    "TEMP\ISO\Sources\install.wim" optimized size: 3378474 KiB
    Space saved: 440503 KiB
    
    
    =========================================================
    Creating 10 x64 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 40 directories)
    Scanning source tree complete (943 files in 85 directories)
    
    Computing directory information complete
    
    Image file is 4127031296 bytes (before optimization)
    
    Writing 943 files in 85 directories to Win_10_17763.316_x64_nl-NL_With_DaRT_10_2021-05-15.iso
    
    100% complete
    
    Storage optimization saved 4 files, 184320 bytes (0% of image)
    
    After optimization, image file is 4128940032 bytes
    Space saved because of embedding, sparseness or optimization = 184320
    
    Done.
    
    =========================================================
    Cleanup TEMP dir...
    =========================================================
    
    
    Press any key to continue . . .
    
     
  11. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,316
    7,023
    210
    Here's what I use to uninstall (slightly modified @abbodi1406 script):
    Code:
    @setlocal DisableDelayedExpansion
    @echo off
    if defined PROCESSOR_ARCHITEW6432 start %SystemRoot%\Sysnative\cmd.exe /c "%0 " &exit
    reg.exe query "HKU\S-1-5-19" 1>nul 2>nul || (echo Run the script as administrator&goto :TheEnd)
    
    set "u_path=%LocalAppData%\Microsoft"
    set "s_path=%ProgramFiles(x86)%\Microsoft"
    if /i %PROCESSOR_ARCHITECTURE%==x86 (if not defined PROCESSOR_ARCHITEW6432 (
      set "s_path=%ProgramFiles%\Microsoft"
      )
    )
    
    @cls
    if $%1==$AUTOYES goto autoyes
    echo.
    choice /C YN /N /M "Microsoft Edge Chromium will be uninstalled. Continue? [y/n]: "
    if errorlevel 2 exit
    
    :autoyes
    reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge" /v NoRemove /f 2>nul
    reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge" /v NoRemove /f 2>nul
    reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge" /v NoRemove /f 2>nul
    
    echo.
    for /D %%i in ("%u_path%\Edge SxS\Application\*") do if exist "%%i\installer\setup.exe" (
    echo Canary...
    start "" /w "%%i\installer\setup.exe" --uninstall --msedge-sxs --verbose-logging --force-uninstall --delete-profile
    )
    for /D %%i in ("%u_path%\Edge Internal\Application\*") do if exist "%%i\installer\setup.exe" (
    echo Internal...
    start "" /w "%%i\installer\setup.exe" --uninstall --msedge-internal --verbose-logging --force-uninstall --delete-profile
    )
    for /D %%i in ("%u_path%\Edge Dev\Application\*") do if exist "%%i\installer\setup.exe" (
    echo Dev...
    start "" /w "%%i\installer\setup.exe" --uninstall --msedge-dev --verbose-logging --force-uninstall --delete-profile
    )
    for /D %%i in ("%u_path%\Edge Beta\Application\*") do if exist "%%i\installer\setup.exe" (
    echo Beta...
    start "" /w "%%i\installer\setup.exe" --uninstall --msedge-beta --verbose-logging --force-uninstall --delete-profile
    )
    for /D %%i in ("%u_path%\Edge\Application\*") do if exist "%%i\installer\setup.exe" (
    echo Stable...
    start "" /w "%%i\installer\setup.exe" --uninstall --verbose-logging --force-uninstall --delete-profile
    )
    for /D %%i in ("%u_path%\EdgeWebView\Application\*") do if exist "%%i\installer\setup.exe" (
    echo WebView2 Runtime...
    start "" /w "%%i\installer\setup.exe" --uninstall --msedgewebview --verbose-logging --force-uninstall --delete-profile
    )
    
    for /D %%i in ("%s_path%\EdgeWebView\Application\*") do if exist "%%i\installer\setup.exe" (
    echo WebView2 Runtime...
    start "" /w "%%i\installer\setup.exe" --uninstall --msedgewebview --system-level --verbose-logging --force-uninstall --delete-profile
    )
    for /D %%i in ("%s_path%\Edge\Application\*") do if exist "%%i\installer\setup.exe" (
    echo Stable...
    start "" /w "%%i\installer\setup.exe" --uninstall --system-level --verbose-logging --force-uninstall --delete-profile
    )
    for /D %%i in ("%s_path%\Edge Beta\Application\*") do if exist "%%i\installer\setup.exe" (
    echo Beta...
    start "" /w "%%i\installer\setup.exe" --uninstall --msedge-beta --system-level --verbose-logging --force-uninstall --delete-profile
    )
    for /D %%i in ("%s_path%\Edge Dev\Application\*") do if exist "%%i\installer\setup.exe" (
    echo Dev...
    start "" /w "%%i\installer\setup.exe" --uninstall --msedge-dev --system-level --verbose-logging --force-uninstall --delete-profile
    )
    for /D %%i in ("%s_path%\Edge Internal\Application\*") do if exist "%%i\installer\setup.exe" (
    echo Internal...
    start "" /w "%%i\installer\setup.exe" --uninstall --msedge-internal --system-level --verbose-logging --force-uninstall --delete-profile
    )
    
    del /f /q "%AppData%\Microsoft\Internet Explorer\Quick Launch\Microsoft Edge*.lnk" 2>nul
    del /f /q "%SystemRoot%\System32\config\systemprofile\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\Microsoft Edge*.lnk" 2>nul
    del /f /q "%UserProfile%\Desktop\Microsoft Edge.lnk"
    del /f /q "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk"
    
    reg add "HKLM\SOFTWARE\Microsoft\EdgeUpdate" /v DoNotUpdateToEdgeWithChromium /t REG_DWORD /d 1 /f 1>nul
    
    if $%1==$AUTOYES exit
    
    :TheEnd
    echo.
    echo Press any key to exit.
    pause >nul
    exit
    Check out the "del /f /q" lines at the bottom. They do get rid of the various Shortcut leftovers. Unfortunately, they will not work unless you are being logged in with the user profile in question, as without being logged in the Environment variables (enclosed in %%) don't work right.
     
  12. I executed them individually in Command Prompt as Admin, however, I get "Could Not Find", yet, invisible Microsoft Edge icon is left in the Start menu and with no way of removing it.

    Edit: Here, this is what I am talking about.
     
  13. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,316
    7,023
    210
    Oh, yes, the invisible icon is a leftover from the "old" Edge. It doesn't have anything to do with Edge Chromium. No idea how to get rid of that one. Personally, I just ignore it.
     
  14. usw BAU legacy Edge Removal script after using edge chromium romoval script by abbodi1406.
    it will remove that invisible edge legacy leftover too from your start menu apps.
     
  15. Can you share link or point me to the right direction?
     
  16. Pl Download my Latest $OEM$ Pack from Here & after unpacking the pack Pl Go to path $OEM$-$1-Users-Default-Desktop-SystemApps.cmd .
    Then Edit SystemApps.cmd & Remove all other entries inspite Edge . then execute it with elevated privilages & there you are your Edge Shortcut from Start Meny will be removed by itself.

    Its BAU script but i have added some more entries to it to remove some more non removable apps for best user experience.

    Thanks & Regards :)
     
  17. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,319
    340
  18. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,025
    93,862
    450
    :good3:
    Source 19043.985 ISO
    Code:
    ======================= W10UI v10.1 ==========================
    [1] Target (x64): "D:\W10UI\Test"
    
    [2] Updates: "D:\W10UI\Test_Updates"
    
    [3] DISM: "Host OS"
    
    [4] Enable .NET 3.5: NO
    
    [5] Cleanup System Image: NO
    
    [7] Update WinRE.wim: YES
    
    [M] Mount Directory: "D:\W10UImount_15573"
    
    [E] Extraction Directory: "D:\W10UItemp_11184"
    
    ============================================================
    Change a menu option, press 0 to start the process, or 9 to exit:
    Code:
    ============================================================
    Running W10UI v10.1
    ============================================================
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Extracting files from update cabinets (.cab)
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/3: Windows10.0-KB5003214-x64_LCU_RP_1023.1.17.cab [LCU]
    2/3: windows10.0-kb5003240-x64_DU_Sources_1022.cab [Setup DU]
    3/3: Windows10.0-KB5003503-x64.cab [SSU]
    
    ============================================================
    Mounting sources\install.wim - index 1/1
    ============================================================
    
    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.19043.985
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack~31bf3856ad364e35~amd64~~19041.1022.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.19043.985
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.1023.1.17
    [==========================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.19041.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack~31bf3856ad364e35~amd64~~19041.1022.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.1023.1.17
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.19041.1023
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.19041.1023
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : D:\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(s) copied.
    
    ============================================================
    Unmounting sources\install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : D:\W10UI\Test\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...
    ============================================================
    
    All applicable updates are detected as installed
    
    ============================================================
    Unmounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : D:\W10UI\Test\sources\boot.wim
    Image Index : 1
    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...
    ============================================================
    
    All applicable updates are detected as installed
    
    ============================================================
    Unmounting sources\boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : D:\W10UI\Test\sources\boot.wim
    Image Index : 2
    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%==========================]
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Adding setup dynamic update(s)...
    ============================================================
    
    windows10.0-kb5003240-x64_DU_Sources_1022.cab
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Creating updated ISO file...
    ============================================================
    
    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 45 directories)
    Scanning source tree complete (902 files in 87 directories)
    
    Computing directory information complete
    
    Image file is 5557485568 bytes (before optimization)
    
    Writing 902 files in 87 directories to Win10_19043.1023_x64_2021-05-23.iso
    
    100% complete
    
    Storage optimization saved 25 files, 14200832 bytes (1% of image)
    
    After optimization, image file is 5545345024 bytes
    Space saved because of embedding, sparseness or optimization = 14200832
    
    Done.
    
    ============================================================
       Finished
    ============================================================
    
    
    Press 9 to exit.
    
    
     
  19. MUKESH

    MUKESH MDL Junior Member

    Sep 1, 2011
    61
    31
    0
    WinRE.wim Index Not Updating for 10 19043 64-bit

    I am not sure what i am doing wrong.

    Here are the details of what i did:
    I only & only downloaded the required UUP files with updates for 10 19043 x64 from under the option - Feature update to Windows 10, version 21H1 (19043.1023) amd64 on the uupdump.net website. For the uup to iso conversion i used uup-converter-wimlib-59.7z and the WinRE.wim file was created fine.

    ConvertConfig.ini Settings(uup-converter-wimlib-59.7z)
    [convert-UUP]
    AutoStart =1
    AddUpdates =0
    Cleanup =0
    ResetBase =0
    NetFx3 =0
    StartVirtual =1
    wim2esd =0
    SkipISO =1
    SkipWinRE =1
    ForceDism =0
    RefESD =0
    SkipEdge =0

    [create_virtual_editions]
    vAutoStart =1
    vDeleteSource=0
    vPreserve =0
    vwim2esd =0
    vSkipISO =0
    vAutoEditions=
    Code:
    ============================================================
    Running UUP -> ISO v59
    ============================================================
    
    ============================================================
    Checking UUP Info . . .
    ============================================================
    
    ============================================================
    Configured Options . . .
    ============================================================
    
    AutoStart 1
    StartVirtual
    SkipISO
    SkipWinRE
    
    ============================================================
    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 4 threads
    Archiving file data: 7202 MiB of 7202 MiB (100%) done
    Using LZX compression with 4 threads
    Archiving file data: 244 MiB of 244 MiB (100%) done
    Using LZX compression with 4 threads
    Archiving file data: 197 MiB of 197 MiB (100%) done
    Using LZX compression with 4 threads
    Archiving file data: 223 MiB of 223 MiB (100%) done
    Using LZX compression with 4 threads
    Archiving file data: 1346 MiB of 1346 MiB (100%) done
    
    ============================================================
    Creating winre.wim . . .
    ============================================================
    
    Using LZX compression with 4 threads
    Archiving file data: 971 MiB of 971 MiB (100%) done
    
    ============================================================
    Creating boot.wim . . .
    ============================================================
    
    
    ============================================================
    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 6 to "Enterprise".
    Setting the FLAGS property of image 6 to "Enterprise".
    Setting the DISPLAYNAME property of image 6 to "Windows 10 Enterprise".
    Setting the DISPLAYDESCRIPTION property of image 6 to "Windows 10 Enterprise".
    
    ============================================================
    Creating Edition: Education
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 7 to "Education".
    Setting the FLAGS property of image 7 to "Education".
    Setting the DISPLAYNAME property of image 7 to "Windows 10 Education".
    Setting the DISPLAYDESCRIPTION property of image 7 to "Windows 10 Education".
    
    ============================================================
    Creating Edition: Pro Education
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 8 to "ProfessionalEducation".
    Setting the FLAGS property of image 8 to "ProfessionalEducation".
    Setting the DISPLAYNAME property of image 8 to "Windows 10 Pro Education".
    Setting the DISPLAYDESCRIPTION property of image 8 to "Windows 10 Pro Education".
    
    ============================================================
    Creating Edition: Pro for Workstations
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 9 to "ProfessionalWorkstation".
    Setting the FLAGS property of image 9 to "ProfessionalWorkstation".
    Setting the DISPLAYNAME property of image 9 to "Windows 10 Pro for Workstations".
    Setting the DISPLAYDESCRIPTION property of image 9 to "Windows 10 Pro for Workstations".
    
    ============================================================
    Creating Edition: Enterprise N
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 10 to "EnterpriseN".
    Setting the FLAGS property of image 10 to "EnterpriseN".
    Setting the DISPLAYNAME property of image 10 to "Windows 10 Enterprise N".
    Setting the DISPLAYDESCRIPTION property of image 10 to "Windows 10 Enterprise N".
    
    ============================================================
    Creating Edition: Education N
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 11 to "EducationN".
    Setting the FLAGS property of image 11 to "EducationN".
    Setting the DISPLAYNAME property of image 11 to "Windows 10 Education N".
    Setting the DISPLAYDESCRIPTION property of image 11 to "Windows 10 Education N".
    
    ============================================================
    Creating Edition: Pro Education N
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 12 to "ProfessionalEducationN".
    Setting the FLAGS property of image 12 to "ProfessionalEducationN".
    Setting the DISPLAYNAME property of image 12 to "Windows 10 Pro Education N".
    Setting the DISPLAYDESCRIPTION property of image 12 to "Windows 10 Pro Education N".
    
    ============================================================
    Creating Edition: Pro N for Workstations
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 13 to "ProfessionalWorkstationN".
    Setting the FLAGS property of image 13 to "ProfessionalWorkstationN".
    Setting the DISPLAYNAME property of image 13 to "Windows 10 Pro N for Workstations".
    Setting the DISPLAYDESCRIPTION property of image 13 to "Windows 10 Pro N for Workstations".
    
    ============================================================
    Creating Edition: Home Single Language
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 14 to "CoreSingleLanguage".
    Setting the FLAGS property of image 14 to "CoreSingleLanguage".
    Setting the DISPLAYNAME property of image 14 to "Windows 10 Home Single Language".
    Setting the DISPLAYDESCRIPTION property of image 14 to "Windows 10 Home Single Language".
    
    ============================================================
    Creating Edition: Enterprise multi-session
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 15 to "ServerRdsh".
    Setting the FLAGS property of image 15 to "ServerRdsh".
    Setting the DISPLAYNAME property of image 15 to "Windows 10 Enterprise multi-session".
    Setting the DISPLAYDESCRIPTION property of image 15 to "Windows 10 Enterprise multi-session".
    
    ============================================================
    Creating Edition: IoT Enterprise
    ============================================================
    
    
    Setting the WINDOWS/EDITIONID property of image 16 to "IoTEnterprise".
    Setting the FLAGS property of image 16 to "IoTEnterprise".
    Setting the DISPLAYNAME property of image 16 to "Windows 10 IoT Enterprise".
    Setting the DISPLAYDESCRIPTION property of image 16 to "Windows 10 IoT Enterprise".
    
    ============================================================
    Rebuilding install.wim . . .
    ============================================================
    
    "ISOFOLDER\sources\install.wim" original size: 4059981 KiB
    Using LZX compression with 4 threads
    Archiving file data: 9 GiB of 9 GiB (100%) done
    "ISOFOLDER\sources\install.wim" optimized size: 3939512 KiB
    Space saved: 120469 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 (899 files in 85 directories)
    
    Computing directory information complete
    
    Image file is 4715708416 bytes (before optimization)
    
    Writing 899 files in 85 directories to 19041.1.191206-1406.VB_RELEASE_CLIENTMULTI_X64FRE_EN-US.ISO
    
    100% complete
    
    Storage optimization saved 25 files, 14200832 bytes (1% of image)
    
    After optimization, image file is 4703567872 bytes
    Space saved because of embedding, sparseness or optimization = 14200832
    
    Done.
    
    
    Press 0 to exit.
    
    
    In the next step i did the updates integration.
    W10UI.ini(W10UI v10.1) Configuration file settings & W10UI.cmd(W10UI v10.1) settings
    [​IMG]
    Code:
    ============================================================
    Running W10UI v10.1
    ============================================================
    
    ============================================================
    Extracting files from update cabinets (.cab)
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/6: windows10.0-kb5000736-x64.cab [Enablement]
    2/6: windows10.0-kb5000983-x64.cab [WinPE]
    3/6: windows10.0-kb5001679-x64.cab
    4/6: windows10.0-kb5003214-x64.cab [LCU]
    5/6: windows10.0-kb5003240-x64.cab [Setup DU]
    6/6: Windows10.0-KB5003503-x64.cab [SSU]
    
    ============================================================
    Mounting sources\install.wim - index 6/16
    ============================================================
    
    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.19041.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack~31bf3856ad364e35~amd64~~19041.1022.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.19041.1
    
    Processing 1 of 1 - Adding package Package_for_KB5000736~31bf3856ad364e35~amd64~~10.0.1.3
    [==========================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.1023.1.17
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Adding .NET Framework 3.5 feature
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.19043.1023
    
    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.19043.1023
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.1023.1.17
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\install.wim - index 6/16
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : D:\19043ISO\sources\install.wim
    Image Index : 6
    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%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    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.19041.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack~31bf3856ad364e35~amd64~~19041.1022.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.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_KB5000736~31bf3856ad364e35~amd64~~10.0.1.3
    [==========================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.1023.1.17
    [==========================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.19041.1023
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.19041.1023
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : D:\19043ISO\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.19041.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack~31bf3856ad364e35~amd64~~19041.1022.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.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_KB5000736~31bf3856ad364e35~amd64~~10.0.1.3
    [==========================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.1023.1.17
    [==========================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.19041.1023
    
    [=====================      37.5%                          ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.19041.1023
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : D:\19043ISO\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%==========================]
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Adding setup dynamic update(s)...
    ============================================================
    
    windows10.0-kb5003240-x64.cab
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Creating updated ISO file...
    ============================================================
    
    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 (901 files in 86 directories)
    
    Computing directory information complete
    
    Image file is 6712754176 bytes (before optimization)
    
    Writing 901 files in 86 directories to Win10_19043.1023_x64_2021-05-24.iso
    
    100% complete
    
    Storage optimization saved 25 files, 14200832 bytes (1% of image)
    
    After optimization, image file is 6700619776 bytes
    Space saved because of embedding, sparseness or optimization = 14200832
    
    Done.
    
    ============================================================
       Finished
    ============================================================
    
    
    Press 9 to exit.
    
    The host OS is 10 19043.1023 64-bit. The drive on which i did all the things has 200GB+ free space.
     
  20. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,319
    340
    @MUKESH

    UUP option SkipWinRE = Do not add winre.wim to install.wim

    it does not exist for W10UI to update