abbodi1406's Batch Scripts Repo

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

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
    @Paul Mercer
    create_virtual_editions gets it from "\Windows\system32\UpdateAgent.dll" when its version = LCU version
    which is the most accurate "10.0.22000.832 (co_release_svc_prod3.220715-1440)"

    W10UI should have also get it from same file
    not sure why it didn't
     
  2. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,331
    2,909
    60
    I'm a little bit lost here

    on 22621.232 build UpdateAgent.dll version is "10.0.22621.1 (ni_release.220506-1250)"
    Package_for_RollupFix~31bf3856ad364e35~amd64~~22621.232.1.9.mum modified time is 2022-07-16 01:10
    so UpdateAgent is obviously older (build number don't match) and I don't think this is correct to get this version

    on 22000.832 build UpdateAgent.dll version is indeed "10.0.22000.832 (co_release_svc_prod3.220715-1440)"
    22000.832 build number is current one so that's why this version is prefered even if Package_for_RollupFix~*.mum was modified a little later?

    I can run it in debug mode if you can give me proper instruction
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
    Package_for_RollupFix timestamp is a last resort/workaround
    the relevant files (UpdateAgent.dll, setuphost.exe, setupprep.exe, Facilitator.dll) provide accurate, static, lab-based timestamp
    but only if the files version = LCU version

    place updates next to W10UI.cmd
    mount 22000 iso
    set Target to dvd drive letter via W10UI.ini
    edit W10UI.cmd to enable debug mode, and run
     
  4. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,331
    2,909
    60

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
  6. Alexa120

    Alexa120 MDL Novice

    Aug 16, 2020
    32
    6
    0

    Attached Files:

    • 1.png
      1.png
      File size:
      330.5 KB
      Views:
      31
  7. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
    I don't know, but i guess it's related to Start Menu cache
     
  8. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,328
    7,044
    210
    To my knowledge, it's the stub of the old (UWP-based) Edge. I believe @AveYo has posted a script somewhere that removes that, too.
     
  9. shhnedo

    shhnedo MDL Expert

    Mar 20, 2011
    1,672
    2,223
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. AveYo

    AveYo MDL Expert

    Feb 10, 2009
    1,836
    5,693
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,328
    7,044
    210
    I would like to implement that functionality into @abbodi1406's solution, as it's the one I'm using. But it seems not to be possible without Powershell. And it would have to be skipped for anything below 10 (or even a specific branch of 10).
     
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
  13. MDeaks

    MDeaks MDL Member

    Aug 25, 2017
    154
    74
    10
    @ abbodi1406 MDL KB0000001

    Sir,
    - thanks for your amazing work.

    Question:
    re : MS Store add on script.
    works very well for me to add to the Win10/11 Enterprise LTSC
    However, I see when I unzip the downloaded file - I see 2 lines = about X-BOX

    a) Why do I need xbox re-added when I un-install them also?
    b) Can I remove those files (after unzip is done) without affecting "store functions" etc?


    Thanks for your help in advance

     
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
    - You do not need it (it should not exist in LTSB anyway)
    - Yes you can remove, it does not affect Store
     
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
  16. shhnedo

    shhnedo MDL Expert

    Mar 20, 2011
    1,672
    2,223
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. olris

    olris MDL Novice

    Mar 9, 2019
    22
    5
    0
    W10MUI_21 "rename_script.cmd" don't works for 19044 on demand lang packs.

    W10MUI_19u "rename_script.cmd" works correctli.
     
  18. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
    How it does not work?
    there are no 19044 packs, all are still 19041
     
  19. olris

    olris MDL Novice

    Mar 9, 2019
    22
    5
    0
    #2079 olris, Jul 30, 2022
    Last edited: Jul 30, 2022
    Wrongly expressed. W10MUI_21 "rename_script.cmd" contains non-existent filenames for on demand 19041. Those that download from the link for 19041-OnDemand.
    As a result, these downloaded from uupdump.net files are not renamed. And the earlier W10MUI_19u "rename_script.cmd" renames them normally.
     
  20. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
    x64 or x86?
    can you give example of those files?
    i just checked few languages, all seems correct and contained in rename_script.cmd