abbodi1406's Batch Scripts Repo

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

  1. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,232
    94,598
    450
    #1301 Enthousiast, Jan 23, 2021
    Last edited: Jan 23, 2021
    1607/14393 non LTSB (home, pro, etcetc..) has reached EOS quite a while back, those are meant by "unsupported editions".
     
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
    Yes
    it will work as long as they don't remove other editions applicability (update.mum)

    same apply for v1809
    it's still applicable for Pro, but they removed Core edition
     
  3. TheCollDude489

    TheCollDude489 MDL Member

    Apr 16, 2018
    147
    32
    10
    Small minor issue I noticed with WHD-W8.1UI when attempting to service an Hyper-V Server 2012 R2 image using the script while using the "Windows8.1-x64" set of updates (required since HyperV Server 2012 R2 never got an updated ISO unlike other Server 2012 R2 variants). For some reason, the script fails to find KB2938772, even though the CAB file is placed alongside the updates in the Baseline folder. It just reports a "File not found" error and a "The system cannot find the file specified" error. When copying the KB2938772 CAB file directly to the temp extraction directory before it attempts to find KB2938772, it only displays a "The system cannot find the file specified" error, though the contents of the KB2938772 CAB are successfully extracted and integrated into the image.
     
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
    @TheCollDude489
    Are you using Windows8.1-x64 list? KB2938772 cab should be in Baseline\RTM folder

    i could not reproduce the error
    however, i made some detection improvements, if you would like to test
    http://put.nu/files/W6TyyX0.zip

    thanks
     
  5. TheCollDude489

    TheCollDude489 MDL Member

    Apr 16, 2018
    147
    32
    10
    #1305 TheCollDude489, Feb 7, 2021
    Last edited: Feb 7, 2021
    Yes I was using the Windows8.1-x64 list. The cab was in that folder originally, but I moved it to the Baseline folder along with all other updates that were in the Baseline\RTM folder because the script was not properly detecting any of the updates in Baseline\RTM (was just outputting a bunch of "File not found" errors). The script was only detecting the updates if they were all in the Baseline folder.
    I'll also try that test version out and see if the issue with KB2938772 comes up again.

    EDIT: I just tried out the test script and KB2938772 cab is properly detected, along with all the other baseline updates that for some reason had to be moved to the baseline folder.
     
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
  7. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
    KMS_VL_ALL v41

    - Added support for Windows 10 ARM64. Few code improvements.

    C2R-R2V v13

    - Added proper Office detection on Windows 10 ARM64
     
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
  12. ermota3000

    ermota3000 MDL Novice

    Aug 12, 2012
    15
    5
    0
    Please where do I find vcredist_x64_2019_WinAll_14.28.29910.0.WA
     
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
  14. ermota3000

    ermota3000 MDL Novice

    Aug 12, 2012
    15
    5
    0
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
    I usually create one addon per month, on patch tuesday
     
  16. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
  17. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,191
    84,706
    340
  18. fch1993

    fch1993 MDL Senior Member

    Mar 14, 2020
    367
    267
    10
    #1318 fch1993, Mar 5, 2021
    Last edited: Mar 6, 2021
    @abbodi1406

    About W10MUI

    If I want to update windows 10 PE.

    I download the language packs from MVS and put the files in "Windows Preinstallation Environment\x64\WinPE_OCs" to the W10MUI's WinPE_OCs path, it will be stuck after mounted boot.wim.

    I have to install the ADK to make it work.

    so what is required from Windows 10 ADK?
     
  19. fch1993

    fch1993 MDL Senior Member

    Mar 14, 2020
    367
    267
    10
    #1319 fch1993, Mar 5, 2021
    Last edited: Mar 5, 2021
    @abbodi1406

    Bug report of W10MUI

    Can't set the default language for "Windows 10 China Government Edition"

    My step

    1.Since original image is 17763.774 I removed the CU back to 17763.1.

    2.add en-us language packs & fods with W10MUI_Mini.cmd

    Code:
    ============================================================
    Prepare work directories
    ============================================================
    
    
    ============================================================
    Detect language packs details
    ============================================================
    
    en-US: 64-bit {x64} - 17763
    
    ============================================================
    Detect install.wim details
    ============================================================
    
    Build: 17763
    Count: 1 Image(s)
    Arch : 64-bit
    
    ============================================================
    Extract language packs
    ============================================================
    
    en-US / 64-bit
    
    ============================================================
    Mount install.wim - index 1/1
    ============================================================
    
    部署映像服务和管理工具
    版本: 10.0.19041.844
    
    正在安装映像
    [==========================100.0%==========================]
    操作成功完成。
    
    ============================================================
    Add LPs to install.wim - index 1/1
    ============================================================
    
    部署映像服务和管理工具
    版本: 10.0.19041.844
    
    映像版本: 10.0.17763.1
    
    正在处理 1 (共 1) - 正在添加程序包 Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~10.0.17763.1
    [==========================100.0%==========================]
    操作成功完成。
    
    部署映像服务和管理工具
    版本: 10.0.19041.844
    
    映像版本: 10.0.17763.1
    
    正在处理 1 (共 1) - 正在添加程序包 Microsoft-Windows-LanguageFeatures-Basic-en-us-Package~31bf3856ad364e35~amd64~~10.0.17763.1
    [==========================100.0%==========================]
    操作成功完成。
    
    部署映像服务和管理工具
    版本: 10.0.19041.844
    
    映像版本: 10.0.17763.1
    
    正在处理 1 (共 4) - 正在添加程序包 Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package~31bf3856ad364e35~amd64~~10.0.17763.1
    [==========================100.0%==========================]
    正在处理 2 (共 4) - 正在添加程序包 Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package~31bf3856ad364e35~amd64~~10.0.17763.1
    [==========================100.0%==========================]
    正在处理 3 (共 4) - 正在添加程序包 Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~amd64~~10.0.17763.1
    [==========================100.0%==========================]
    正在处理 4 (共 4) - 正在添加程序包 Microsoft-Windows-LanguageFeatures-Speech-en-us-Package~31bf3856ad364e35~amd64~~10.0.17763.1
    [==========================100.0%==========================]
    操作成功完成。
    
    ============================================================
    Update language settings
    ============================================================
    
    
    ============================================================
    Unmount install.wim - index 1/1
    ============================================================
    
    部署映像服务和管理工具
    版本: 10.0.19041.844
    
    映像文件 : C:\Softwares\W10MUI\install.wim
    映像索引 : 1
    正在保存映像
    [==========================100.0%==========================]
    正在卸载映像
    [==========================100.0%==========================]
    操作成功完成。
    
    ============================================================
    Rebuild install.wim
    ============================================================
    
    部署映像服务和管理工具
    版本: 10.0.19041.844
    
    正在导出映像
    [==========================100.0%==========================]
    操作成功完成。
    
    ============================================================
    Remove temporary directories
    ============================================================
    
    
    ============================================================
    Finished
    ============================================================
    
    Press any Key to Exit.
    
    3.During setup I choose English to install.

    [​IMG]

    4.But it still uses zh-cn not en-us for the system. I have to log in to the settings and change the default language.

    [​IMG]

    5.Another test with "Windows 10 Enterprise LTSC 2019 (x64) - DVD (Chinese-Simplified)" cn_windows_10_enterprise_ltsc_2019_x64_dvd_2efc9ac2.iso

    same setting & files, Not have this problem.

    Sources:

     
  20. #1320 Deleted member 1254778, Mar 5, 2021
    Last edited by a moderator: Mar 6, 2021
    can you please remove the second download link from your post, it's homebrew :)

    thank you :)