abbodi1406's Batch Scripts Repo

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

  1. garf02

    garf02 MDL Member

    Sep 15, 2007
    186
    71
    10
    yes I've tried, but without the old SSU it doesn't work
     
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,241
    90,952
    340
    OK, thanks
     
  3. Thomas Dubreuil

    Thomas Dubreuil MDL Senior Member

    Aug 29, 2017
    363
    624
    10
    wow was stupid to change WUI mount drive to the root of a my F drive and it wiped everything on it...Data seems to be there, it shows the same "used space" but lost in space...I think I will cry
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,241
    90,952
    340
    o_O

    try EaseUS data recovery or file scavenger
     
  5. Thomas Dubreuil

    Thomas Dubreuil MDL Senior Member

    Aug 29, 2017
    363
    624
    10
    I'm already I see all files but app needs a license...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,241
    90,952
    340
    WHD-W7UI 5.1

    - Readded SSU KB4490628

    - SHA2 update KB4474419 will now be installed independently after SSU

    - Extended SSU KB4516655 will now be installed independently after SSU & SHA2

    - To prevent accidental closing of cmd when finished, it's now required to Press 9 to exit.

    thanks to @garf02 for notifying
     
  7. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,241
    90,952
    340
    #867 abbodi1406, Sep 12, 2019
    Last edited: Sep 15, 2019
    (OP)
    I forgot to mention that on clean live OS, KB4474419 needs a reboot to complete installation

    in that case, ESSU KB4516655 and Monthly Rollup will be skipped until the reboot
    therefore, you would need to run the script afterwards to install them
     
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,241
    90,952
    340
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,241
    90,952
    340
    W10UI v7.2

    Mount Directory will be always created as a subdirectory (even if it's already a subdirectory)

    @Thomas Dubreuil
    sorry for your loss
     
  10. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,855
    2,113
    60
    I have just launched W10UI_7.2, but it still shows the version 7.1 is this normal?
     

    Attached Files:

  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,241
    90,952
    340
    I forgot to update the version number in the script
    you can do it yourself :)

    or redownload, i updated the file
    and gathered changelog for versions
     
  12. coleoptere2007

    coleoptere2007 MDL Guru

    Apr 8, 2008
    3,302
    1,937
    120
    @abbodi1406 FYI Same issue with WHD-WHU81 v5.0 but shows 4.9 I did it by myself.
     
  13. MidnightInAurora

    MidnightInAurora MDL Novice

    Sep 20, 2016
    1
    0
    0
    Thank you for these. KMS_VL_ALL worked fine for 2016 LTSB, 2019 LTSC, Office 2013 and Office 2016. Office 2016 also used the convert to volume.

    Will be testing it for Server 2019 and Server 2016 Essentials next.

    Perfect.
     
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,241
    90,952
    340
  15. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,480
    1,480
    60
    This means that the directories W10UImount and W10UImountre are not deleted from the systemdrive root at the process end.
    Instead of :
    Code:
    set "mountdir=%mountdir%\%rnd%"
    set "winremount=%winremount%\%rnd%"
    you could use :
    Code:
    set "mountdir=%mountdir%-%rnd%"
    set "winremount=%winremount%-%rnd%"
     
  16. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,241
    90,952
    340
    Positive
    but F:-%rnd% or F:\-%rnd% would not be valid

    i'll see what i can do
     
  17. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,480
    1,480
    60
    rem but F:- or F:\- would not be valid
    set/a rnd=27100
    md F:-27100
    dir /b f:
    -27100
    rd F:-27100
    md F:\-27100
    dir /b f:
    -27100
    rd F:\-27100
    dir /b f:
     
  18. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,241
    90,952
    340
    W10UI v7.3

    - Enhanced Mount and Extraction Directories processing (thanks to @rpo for the suggestion)
     
  19. 143bpm

    143bpm MDL Junior Member

    Oct 16, 2017
    51
    26
    0
    @abbodi1406 small fix: set uiv=v7.2 -> set uiv=v7.3. :D
     
  20. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,241
    90,952
    340
    It's fixed 4 hours ago :D

    i need to find a way to remember updating that version number :(