abbodi1406's Batch Scripts Repo

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

  1. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,009
    248
    60
    thank you for this clear response.
    i suppose that the goal of using ConvenienceRollupKB3125574 is to take several updates and mix them together so that you get one huge update at the end, is that correct ?
     
  2. kerees

    kerees MDL Novice

    Jul 20, 2017
    28
    30
    0
    Instead it does, there is a "search superseded" button bottom left download page and if there are found, it moves them in superseded directory. Not needed if you let WHD download all the necessary hotfixes from scratch, but very useful if you have a folder containing already manually downloaded files.
     
  3. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,009
    248
    60
    i downloaded yesterday 48 general updates for win8.1 x86 using WHDownloader and integrated them into win8.1 iso and today after running once again WHDownloader, to my suprise, i noticed that the tool offers me new general updates for win8.1 x86, there were exactly 49 other new general updates, so is this normal ?
     
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    11,462
    50,125
    340
  5. l33tissw00t

    l33tissw00t MDL Addicted

    Dec 6, 2012
    814
    516
    30
  6. MUKESH

    MUKESH MDL Novice

    Sep 1, 2011
    49
    30
    0
    Thanks for the update.
    things are working fine here now.

    NOTE :
    1.Source OS's :
    en_windows_8.1_enterprise_with_update_x64_dvd_6054382.iso
    IR5_CCRA_X64FRER_EN-US_DV9.iso
    IR5_CPRA_X64FRER_EN-US_DV9.iso
    IR5_CPWMCA_X64FRER_EN-US_DV9.iso
    IR5_CSLA_X64FRER_EN-US_DV9.iso

    2.Host OS : 10 14393.1593 Enterprise 64-bit OS.
    3.Update list used : Windows8.1-Update3-x64.wh released on 8th august 2017.
    4.Script used : WHD-Windows8.1-Updates-Installer_2.5.zip
    (i chose the following settings : http://imgur.com/l4nrdxF)
     
  7. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    11,462
    50,125
    340
    #107 abbodi1406, Aug 19, 2017
    Last edited: Aug 19, 2017
    (OP)
    W10UI 3.4

    Fixed (thnks Reducer)
    when selected target is mounted boot.wim index 2, detection conflict will cause the script to hang
     
  8. zennon

    zennon MDL Novice

    Sep 22, 2016
    20
    28
    0
    Dear abbodi1406!
    Thank you very much for your scripts!
     
  9. kerees

    kerees MDL Novice

    Jul 20, 2017
    28
    30
    0
    #109 kerees, Sep 2, 2017
    Last edited: Sep 2, 2017
    Dear @abbodi1406
    I've read the note here about
    Other than increasing the overall install.wim size, the MS (citing your very same words) sloppy work has another nasty annoying side effect, that is, when clean-installing from a clientcombined iso, wiping all the partitions away and letting the windows setup recreating them, than winre.wim size is also increased that it doesn't fit anymore in the 450MB recovery partition. o_O

    I bet you are already aware because your scripts are a step ahead :cool: infact, the same clientcombined (either june or july update), but made from techbench esd with your ESD > ISO tool, or else just integrating into it hotfixes with W10UI, perfectly resolves this issue.

    Besides, this was only an useless rant of mine against MS :lol: so I just thank you again once more.
     
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    11,462
    50,125
    340
    1) Creating install.wim/install.esd instead ISO would give you that :)
    nevertheless, you may edit decrypt.cmd to add option for it
    add this line at the top after CheckWinre
    Code:
    SET SkipISO=1
    search for these lines:
    Code:
    1>nul 2>nul call :GUID
    IF %UnifyWinre%==1 CALL :WINRE
    and add this line after them:
    Code:
    IF %SkipISO%==1 (echo.&echo Done. You chose not to create iso file&echo Press any key to exit.&pause >nul&GOTO :QUIT)

    2) How exactly it doesn't allow it? the script only check for OS build 9600 (which is the same in both)
     
  11. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,733
    310
    60
    #111 MonarchX, Sep 12, 2017
    Last edited: Sep 12, 2017
    I love your scripts! I only have one little issue - W10UI closes itself whenever I point it to a different directory for DISM. I wanted to use MSMG Toolkit's latest DISM and pointed W10UI there, which just closed itself. I then tried a different directory and different version of DISM, but the same thing happened.

    I am mostly concerned because 1607-14393 is the preferred OS version for me, but I do update 15063 images offline and I am not sure if using DISM 14393 to update 15063 images is a good idea...

    EDIT: I don't want to be off-topic, but another little issue is that I could never get KMS_VL_ALL SetupComplete.cmd portion to work. It does not activate Pro VL and if I try to run it manually, I get a message about some missing instances... Does SetupCompletel.cmd from KMS_VL_ALL package require internet connection? I always unplug my network cable when installing Windows to prevent any updates from taking place (without touching services) until I am done customizing it.

    And would you know where and how to change WIM image Service Pack info? For example, some official MS WIM ID tag states "14393.0, Service Pack 1198", and I want it to say "14393.1670" or "14393.0, Service Pack 1670". Its just for the purpose of tagging images accurately. It seems more appropriate and proper than just using custom names for ISO tags.
     
  12. l33tissw00t

    l33tissw00t MDL Addicted

    Dec 6, 2012
    814
    516
    30
    Are you pointing it to a diff directory from within running the script, or editing the var in the batch file? If the former, make sure not to use quotes, and that dism.exe is part of the path (iirc)
     
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    11,462
    50,125
    340
    And you can even use 10240 dism to service 15063
    most dism operation works as a front-end, the actual servicing operation are done with the loaded image servicing stack modules

    no, KMS_VL_ALL doesn't require external connection
    maybe the components removals you do prevent its work

    you can't change it, it's set automatically based on kernel32.dll version inside the image
     
  14. jackmonter5

    jackmonter5 MDL Senior Member

    Jul 27, 2009
    440
    148
    10
    I have one more request,

    if W10UI.cmd can work with the cab/msu from current location without copying over to temp location, or to delete cab/msu right after it finishes extracting.

    reason i ask is im working with softperfect ram disk (for temp and mount folder) and every gig counts!

    thanks again!!!
     
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    11,462
    50,125
    340
    https://racaty.com/u8tmvtgc97mb
    https://app.box.com/s/t08h1vsyz83l7ekm6ndimtqvuncnxk2w
    tested briefly, feedback is welcomed
     
  16. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,130
    24,251
    340
    #116 s1ave77, Sep 15, 2017
    Last edited: Sep 18, 2017
    *snip (deleted inappropriate content)

    OK. At least the script gives credit.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,130
    24,251
    340
    Heya @abbodi1406, would like to request a little feature to read a path sent with the invoke from another script. That would spare any copy failures and shorten the proces when used from uup.downloader.

    Kinda :
    Code:
    if [%~1] neq [] (
    set "UUP=%~1"
    if exist "%~1\*.esd" goto :check
    )
    if exist "%CD%\UUPs\*.esd" set "UUP=%CD%\UUPs"&goto :check
    
    Thanks :worthy:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    11,462
    50,125
    340
    That's actually that i already added
    Code:
    if not [%1]==[] (if exist "%~1\*.esd" set "UUP=%~1"&goto :check)
    along with arm64 support and sub script to create multi_arch_iso

    i'm just finalizing and testing things :)
     
  19. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,130
    24,251
    340
    ^^That's the spirit doggie likes :worthy:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,130
    24,251
    340
    BTW: You should opt for a GIT for this project :thinking:. Very comfortably maintainably from Explorer/TC via right-click :good3:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...