[ARCHIVED] Windows Editions Reconstruction Project

Discussion in 'Windows 10' started by whatever127, Jan 10, 2020.

Thread Status:
Not open for further replies.
  1. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,707
    14,434
    340
    #7441 xinso, Apr 7, 2022
    Last edited: Apr 7, 2022
    Ok.
     
  2. ylx

    ylx MDL Junior Member

    Dec 14, 2014
    74
    37
    0
    #7442 ylx, Apr 7, 2022
    Last edited: Apr 7, 2022

    No more problems, the file was broken before.
    Thanks anyway.
     
  3. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,707
    14,434
    340
    No more problems. Hey hey hey...
     
  4. ylx

    ylx MDL Junior Member

    Dec 14, 2014
    74
    37
    0
    Maybe you found my the notepad in 19041 does not work........
    I added the Notepad component.
     
  5. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,707
    14,434
    340
    #7445 xinso, Apr 8, 2022
    Last edited: Apr 8, 2022
    Notepad is one that is composed of amd64 and wow64 for both neutral and language packs.

    amd64
    Microsoft-Windows-Notepad-FoD-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    Microsoft-Windows-Notepad-FoD-Package~31bf3856ad364e35~amd64~xx-XX~10.0.19041.1
    wow64
    Microsoft-Windows-Notepad-FoD-Package~31bf3856ad364e35~wow64~~10.0.19041.1
    Microsoft-Windows-Notepad-FoD-Package~31bf3856ad364e35~wow64~xx-XX~10.0.19041.1

    (You can not judge by UUPs download folder because the wow64 are pre-installed, e.g. in Professional_en-us.esd. So, you have to check Professional_en-us.esd\3\Windows\servicing\Packages or full image.)

    dism /online /get-capabilities
    dism /image:%SystemDrive% /get-capabilities

    BEWARE:
    owouwu's script structure is good for builds from 22000.1 forward, but WORKS for 22000.1 ONLY because of FIXED build and package string.
     
  6. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    Try changing the script.
    e.g. for %%i in (%unstaged%\packages\amd64_bla-bla-ABC*.manifest) do copy %%i %install%
     
  7. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,707
    14,434
    340
    #7447 xinso, Apr 8, 2022
    Last edited: Apr 8, 2022
    Yes, I make it this way. Thanks.

    But I wish that you can help me with owouwu's reg\SYSTEM.txt for REG_MULTI_SZ conversion

    In file, it is
    hex(7):73,00,65,00,74,00,75,00,70,00,63,00,6c,00,2e,00,65,00,78,\
    00,65,00,00,00,00,00
    Code:
    [HKEY_LOCAL_MACHINE\SYSTEM1\ControlSet001\Control\Session Manager]
    "setupexecute"=hex(7):73,00,65,00,74,00,75,00,70,00,63,00,6c,00,2e,00,65,00,78,\
      00,65,00,00,00,00,00
    
    In script, it is
    setupcl.exe
    Code:
    reg add "HKLM\SYSTEM1\ControlSet001\Control\Session Manager" /v "setupexecute" /t REG_MULTI_SZ /d "setupcl.exe" /f
    
    In SYSTEM.txt, it is
    ?
    Code:
    SYSTEM
        ControlSet001
            Control
                Session Manager
                    setupexecute = REG_MULTI_SZ ?
    
    I need the answer for ?.
     
  8. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    Why does the sctipt create the registry everytime?
    There can be a universal pack of registry hives, and the script copies them instead of fresh-creating.
     
  9. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,707
    14,434
    340
    #7450 xinso, Apr 8, 2022
    Last edited: Apr 8, 2022
    I know. But it is not the solution for my question.

    I want "chicken" to make fried chicken, NOT "Kentucky fried chicken".

    It is alike ylx wants Notepad, I answer the solutuion for Notepad, NOT Wordpad.
     
  10. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,707
    14,434
    340
  11. ylx

    ylx MDL Junior Member

    Dec 14, 2014
    74
    37
    0
    I have my own extract plan.
    Yes,I use wimlib-imagex too.
    Code:
    for /f %%i in ('dir /b esd\*.esd') do (wimlib-imagex.exe apply esd\%%i 1 sxs)
    I got your answer
    Code:
    SYSTEM
        ControlSet001
            Control
                Session Manager
                   setupexecute = REG_MULTI_SZ "setupcl.exe"
    
     
  12. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,707
    14,434
    340
    #7453 xinso, Apr 8, 2022
    Last edited: Apr 8, 2022
    It works! Thank you so very much.
     
  13. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,707
    14,434
    340
  14. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,707
    14,434
    340
    #7455 xinso, Apr 10, 2022
    Last edited: Apr 10, 2022
    Q: To remove FOD, what is the the best method?
    A: dism /Remove-Capability.

    e.g. Remove Quick Assist for EnterpriseG.
    Code:
    if defined QUICKASSIST (
    echo.
    echo ------------------------------------------------------------
    echo Removing Quick Assist
    echo ------------------------------------------------------------
    dism /english /image:%WINDRIVE% /Remove-Capability /CapabilityName:App.Support.QuickAssist~~~~0.0.1.0
    )
    
    Code:
    ------------------------------------------------------------
    Removing Quick Assist
    ------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.746
    
    Image Version: 10.0.19041.1
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    
     
  15. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,707
    14,434
    340
    #7457 xinso, Apr 11, 2022
    Last edited: Apr 11, 2022
    1. Incomplete "Packages" folder content
    2. Mismatched mum & cat
    3. Incompatible ISO
     
  16. hcvn

    hcvn MDL Junior Member

    Aug 11, 2017
    57
    30
    0
  17. example12345678912345678

    Dec 29, 2019
    569
    322
    30
    #7459 example12345678912345678, Apr 11, 2022
    Last edited: Apr 11, 2022
    I don't know why, but best things I can get from SxSstageV5 are these files:
    Code:
    boot.wim - 7 MB
    install.wim - 165MB
    winre.wim - 7 MB
    I tried to replace every single zh-cn reference with my language since my image does not include zh-cn. But it's no use. And I'm already using the 4 WIM files created by previous script.
    Or do I need to include zh-cn in my image?
    @gailium119
    Also, I have an idea to download files faster.
    1. Open 0-fods_down.cmd file in notepad.
    2. Find for term -j5 and replace the number with a greater number. I don't know what is maximum value for that. I think -j99 is awesome for that. It's going to be better for smaller files, but worse for greater files at the same time.
    3. Save the file.
    4. Open 4-Installwim_down.cmd file in notepad.
    5. Find for term -j5 and replace the number with a smaller number. I think -j1 is awesome for that.
    6. Save the file.
    7. Run start.cmd in root folder.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    The script will pause if unattend fails. See the error code and the error log.