abbodi1406's Batch Scripts Repo

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

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,186
    84,661
    340
    WUI10 v10.4

    - Rebrand to Windows NT 10.0 Updates Installer
    - Improved PSF files processing, and updated PSFExtractor.exe

    thanks to @Enthousiast for testing
     
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,186
    84,661
    340
    #1502 abbodi1406, Jul 7, 2021
    Last edited: Dec 22, 2021
    (OP)
    # PSFX Repack

    - Automated command scripts to extract PSFX format psf/cab files, and repackage into a full PSFX cab file (or esd file)

    ## Usage
    - Extract this package zip file to a folder with a simple path

    - Copy or move the psf/cab files next to the script, then run one of the scripts:

    psfx2cab_CLI.cmd
    use cabarc.exe to create the full cab file / no progress info shown

    psfx2cab_GUI.cmd
    use DXTool.exe to create the full cab file / show GUI progress info

    psfx2esd_CLI.cmd
    use imagex.exe to create the full esd file / show percentage progress info

    - Or from command prompt, run the desired script and provide path to the folder containing psf/cab files

    example:
    Code:
    psfx2cab_CLI.cmd E:\Downloads\uup-converter\UUPs
    - The result file will be located in the same folder (current or provided)
    and it will have the same name of the original cab file, appended with -full_psfx

    example:
    Code:
    windows10.0-kb5004564-arm64-full_psfx.cab

    ## Remarks
    - The script do not require administrator privileges
    however, if you get Access Denied errors, run it as administrator

    - CAB file has limitation by design: 2 GB size - 65535 included files/directories

    if you are repacking big baseless update, it's recomended to create esd file instead

    - psfx2esd_CLI.cmd is set to create the full esd file with max-compression ratio

    if you want to create the file with solid high-compression ratio (require high amount of CPU/RAM),
    edit the script and uncomment this line:
    set compress=LZMS

    ## Credits
    - @BetaWorld / PSFExtractor
    - OnePiece / DXTool
    - @SuperBubble / SxSExpand

    ## Download

    https://github.com/abbodi1406/WHD/raw/master/scripts/PSFX_Repack_6.zip
    https://download.ru/files/utqtXgDY

     
  3. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,204
    978
    90
    checked, both works
    checked with extracting the cab
    also works
     
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,186
    84,661
    340
    uup-converter v67

    - Improved PSF files processing, and updated PSFExtractor.exe
    - Fixed Name/Display for Windows 11 Pro/N if Windows 10 Team exist
     
  5. MarvelX7

    MarvelX7 MDL Member

    Jun 1, 2021
    233
    208
    10
  6. its for Latest LCU Cab's with Psf i think build 22000.xx.
    Just for Example :
    Code:
    https://uupdump.net/findfiles.php?id=bfe6f0bd-fb83-442f-b225-7ad7a61b48f3&q=Windows10%20KB
    
     
  7. JOAOP

    JOAOP MDL Novice

    Nov 14, 2013
    11
    5
    0
    Thanks a lot for your great job and help.
     
  8. BELNN

    BELNN MDL Member

    Apr 2, 2016
    103
    70
    10
    Hello. Teach UUP converter to work with full PSFX cab.
     
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,186
    84,661
    340
    PSFX v2 Repack - 2nd

    - express.psf.cix.xml will now be removed from full_psfx.cab (to avoid confusion with regular cab/psf)
     
  10. BELNN

    BELNN MDL Member

    Apr 2, 2016
    103
    70
    10
    Thanks. Now everything works.
     
  11. justin0926

    justin0926 MDL Junior Member

    Nov 11, 2013
    56
    12
    0
    windows10.0-kb5004745-x64.psf
    could not detect cab file
     
  12. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,194
    94,430
    450
    Is the cab file present?
     
  13. @abbodi1406,
    I made 19043.1110 ISO using UUP -> ISO, the compile date in ISO file name is 8:20 AM, 10th July, 2021.
    However, I checked on BetaWiki and the compile date there is 3:09 PM, 8th July, 2021.
    Which one is correct?
     
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,186
    84,661
    340
    Cannot both be correct? :rolleyes:

    if DU don't have the same version as LCU, the only way for UUP converter to calculate date-time stamp is LCU update.mum last modified date

    BetaWiki got it from UpdateAgent.dll 10.0.19041.1110 (vb_release_svc_prod1.210708-1509)
     
  15. erpsterm35

    erpsterm35 MDL Expert

    May 27, 2013
    1,869
    1,734
    60
    I use this site instead to get "stable" MS Edge versions :)
     
  16. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,186
    84,661
    340
    WHD-W81UI v6.7
    - update version for hyper-v integration services (KB5001088)

    4 months late :D
     
  17. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,681
    1,929
    60
    YAOCTRI_v9.0, Office 2019 installation, I have telemetry turned off there, do you have a regkey ,or a script I can use to turn it back on?
     
  18. #1519 Deleted member 1385001, Jul 18, 2021
    Last edited by a moderator: Jul 18, 2021
    del as abbodi solution seems more perfect then that suggested by me.
     
  19. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,186
    84,661
    340
    https://forums.mydigitallife.net/posts/1642045/