abbodi1406's Batch Scripts Repo

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

  1. westlake

    westlake MDL Novice

    Mar 29, 2013
    7
    1
    0
  2. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,943
    4,167
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Wassss23

    Wassss23 MDL Novice

    Sep 2, 2015
    7
    2
    0
    using uup-converter-wimlib-107f , reading the ReadMe file i dont understand this:

    Code:
    Integrate updates mode only works with install.wim (ISO or Single), and require Windows 11/10 Host OS or Windows 11/10 ADK.
    and
    Code:
    If you set to 1 and Windows 11/10 ADK is not installed, it will be reverted to 2 (if build is supported), or turned OFF
    So if i want "Integrate updates" and i am using a Windows 11/10 Host OS, do i have to install Windows ADK?
     
  4. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,771
    7,713
    210
    No. Windows 1x has the required DISM version aboard. In case of Windows 10, use a recent version, 21H2 or 22H2 recommended.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Wassss23

    Wassss23 MDL Novice

    Sep 2, 2015
    7
    2
    0
    #3085 Wassss23, Aug 10, 2024
    Last edited: Aug 10, 2024
    using uup-converter-wimlib-107f and want to add iaStorVD driver for my nvme disk.
    I extracted the driver from my working Windows 11 host OS.
    It came as a folder named "iastorvd.inf_amd64_80dcb7b409148fed", inside it there is 5 files (RstMwEventLogMsg.dll, RstMwService.exe, iaStorVD.sys, iaStorVD.cat, iaStorVD.inf).

    Where do i put (the folder or only the files inside?) in "Drivers\ALL" or in "Drivers\WinPE" or in "Drivers\OS" ?
     
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,793
    340
    Put the folder inside "Drivers\ALL"
    you can also put the files directly, it will work in your case
     
  7. Wassss23

    Wassss23 MDL Novice

    Sep 2, 2015
    7
    2
    0
    Few moth ago i used "uupdump.net" to download UUP files with "uup_download_windows.cmd", Store_Apps related files where inside "UUPs\Apps" folder with each app files inside theirs respective app folder. In "UUPs\Apps" folder root there was an "_AppsEditions.txt" file listing all the apps. And In "UUPs" folder root there was an "_AppsFilesList.csv" file also listing all the apps.

    But this time using "uupdump.net", inside "UUPs" folder all Store_Apps files (appx, appxbundle, msix, msixbundle) are mixed with "UUP files" (psf, esd, cab). There is no "Apps" folder, no "app_name" folder, no "_AppsEditions.txt" file, no "_AppsFilesList.csv" file.

    using uup-converter-wimlib-107f, do i have to create an "UUPs\Apps" folder and put all this Store_Apps files inside?
     
  8. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,943
    4,167
    60
    all files were always in UUPs folder
    uup-converter sorts it when you run the conversion
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Wassss23

    Wassss23 MDL Novice

    Sep 2, 2015
    7
    2
    0
  10. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,943
    4,167
    60
    1. 22621 build is from nickel dev semester, that's why it's ni_release
    2. only Canary builds are linked with insider channel, other builds are not associated with anything by default

    3958 is the latest retail build https://support.microsoft.com/en-us/topic/de3e1e24-0c07-4210-9777-8e03a1446bae
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. RETUO

    RETUO MDL Novice

    Mar 24, 2024
    7
    4
    0
    Hi, when using the "Windows8.1-x64" set of updates, I noticed that Baseline\RTM\Windows8.1-KB2938772-x64.cab doesn't have Microsoft's signature, why is that?
     
  12. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,943
    4,167
    60
    Code:
    ============================================================
    Running W10UI v10.44
    ============================================================
    
    ============================================================
    Copying DVD Drive contents to work directory...
    ============================================================
    
    ============================================================
    Extracting dpx.dll file...
    ============================================================
    
    ============================================================
    Extracting .cab files from .msu files...
    ============================================================
    
    1/1: windows11.0-kb5041571-x64_LCU_1457.1.20.msu [Combined UUP]
    
    ============================================================
    Extracting files from update cabinets (.cab)...
    *** This will require some disk space, please be patient ***
    ============================================================
    
    1/4: windows11.0-kb5041178-x64_DU.Sources_1297.cab [Setup DU]
    2/4: windows11.0-kb5041979-x64_DU.SafeOS_1287.1.0.cab [SafeOS DU]
    3/4: windows11.0-kb5042098-x64-ndp481_CU_9266.1.cab [NetFx]
    4/4: Windows11.0-KB5041575-x64_inout.cab [SSU]
    
    ============================================================
    Mounting sources\install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1440~31bf3856ad364e35~amd64~~26100.1440.1.2
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1440 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9266.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    windows11.0-kb5041571-x64_LCU_1457.1.20.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Resetting OS image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1457
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1457
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Adding .NET Framework 3.5 feature...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1457
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Reinstalling cumulative update(s)...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1457
    
    Processing 1 of 2 - Adding package Package_for_ServicingStack_1440~31bf3856ad364e35~amd64~~26100.1440.1.2
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9266.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Reinstalling windows11.0-kb5041571-x64_LCU_1457.1.20.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1457
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Updating winre.wim ...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1440~31bf3856ad364e35~amd64~~26100.1440.1.2
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1440 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_SafeOSDU~31bf3856ad364e35~amd64~~26100.1287.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image File : F:\W10UI_10.44\winre.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    "winre.wim" original size: 524824 KiB
    Using LZX compression with 6 threads
    Archiving file data: 1311 MiB of 1311 MiB (100%) done
    "winre.wim" optimized size: 509163 KiB
    Space saved: 15660 KiB
    
    ============================================================
    Adding updated winre.wim ...
    ============================================================
    
    Скопировано файлов:         1.
    
    ============================================================
    Unmounting sources\install.wim - index 1/1
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image File : F:\W10UI_10.44\DVD10UI\sources\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\install.wim ...
    ============================================================
    
    "sources\install.wim" original size: 5975352 KiB
    Using LZX compression with 8 threads
    Archiving file data: 9 GiB of 9 GiB (100%) done
    "sources\install.wim" optimized size: 4522367 KiB
    Space saved: 1452984 KiB
    
    ============================================================
    Mounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1440~31bf3856ad364e35~amd64~~26100.1440.1.2
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1440 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    windows11.0-kb5041571-x64_LCU_1457.1.20.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1457
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1457
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 1/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image File : F:\W10UI_10.44\DVD10UI\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.26100.1150
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Checking Updates...
    ============================================================
    
    ============================================================
    Installing servicing stack update...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1440~31bf3856ad364e35~amd64~~26100.1440.1.2
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1440 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    ============================================================
    Installing updates...
    ============================================================
    
    windows11.0-kb5041571-x64_LCU_1457.1.20.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    ============================================================
    Resetting WinPE image base...
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1457
    
    [===========================73.4%==========                ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.26100.1457
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Unmounting sources\boot.wim - index 2/2
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image File : F:\W10UI_10.44\DVD10UI\sources\boot.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ============================================================
    Rebuilding sources\boot.wim ...
    ============================================================
    
    "sources\boot.wim" original size: 921309 KiB
    Using LZX compression with 6 threads
    Archiving file data: 1479 MiB of 1479 MiB (100%) done
    "sources\boot.wim" optimized size: 601209 KiB
    Space saved: 320099 KiB
    
    ============================================================
    Adding setup dynamic update(s)...
    ============================================================
    
    windows11.0-kb5041178-x64_DU.Sources_1297.cab
    
    ============================================================
    Removing temporary extracted files...
    ============================================================
    
    
    ============================================================
    Creating updated ISO file...
    ============================================================
    
    ISO Location:
    "F:\W10UI_10.44"
    
    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 (1000 files in 92 directories)
    Scanning source tree complete (1049 files in 97 directories)
    
    Computing directory information complete
    
    Image file is 5449220096 bytes (before optimization)
    
    Writing 1049 files in 97 directories to 26100.1457.240811-0236.GE_RELEASE_SVC_PROD1_CLIENT_X64FRE_RU-RU.iso
    
    100% complete
    
    Storage optimization saved 66 files, 15792128 bytes (1% of image)
    
    After optimization, image file is 5435887616 bytes
    Space saved because of embedding, sparseness or optimization = 15792128
    
    Done.
    
    ============================================================
       Finished
    ============================================================
    
    
    Press 9 or q to exit.

    why SSU is reinstalling after nfx35?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. RETUO

    RETUO MDL Novice

    Mar 24, 2024
    7
    4
    0
    There is a bug, when downloading the ‘Windows 8.1-x64’ set of updates, Additional\NET35\kb5022525 and kb5027141 have the same hash value, actually both are kb5022525.
     
  14. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,532
    450
    Did you check the WHD thread? Maybe it's discussed in there.
    WHDownloader - Support and chat
     
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,793
    340
    Fixed
    delete and redownload the lists, and delete current KB5027141 file

    It was extracted and repacked from updated iso, the update was never released
     
  16. RETUO

    RETUO MDL Novice

    Mar 24, 2024
    7
    4
    0
    I just went looking and didn't find the same problem. I'm going over there now to ask questions. Thanks.
     
  17. RETUO

    RETUO MDL Novice

    Mar 24, 2024
    7
    4
    0
    Thanks for the answer, I don't need to go to the WHD thread to ask questions!:)
     
  18. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,793
    340
    The SSU might contain some components that mistakenly make it identify as .NET 3.5 update
    open with 7-zip and check for
    Code:
    amd64_microsoft-windows-n..35wpfcomp.resources
    or
    amd64_netfx
     
  19. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,943
    4,167
    60
    found only these:
    Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~~10.0.26100.1.cat
    Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~~10.0.26100.1.mum

    ssu: https://pixeldrain.com/u/Mhq3apbE
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,793
    340
    Why SSU is including all those .1 FOD package mum files? :g:
    they are not installed or required for SSU itself

    yes, those packs are causing the false detection, because W10UI.cmd run this to detect .NET rollup
    Code:
    findstr /i /m "Package_for_RollupFix" "%dest%\update.mum" %_Nul3% || (findstr /i /m "Microsoft-Windows-NetFx" "%dest%\*.mum" %_Nul3%