[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,699
    14,428
    340
    #7341 xinso, Apr 1, 2022
    Last edited: Apr 1, 2022
    1. Credits go to Abbody and all contributors.

    So, it's created by Abbody.
     
  2. dorfd1

    dorfd1 MDL Senior Member

    Sep 10, 2015
    276
    98
    10
    Thanks for script

    i was able to modify it so i get IoT Enterprise LTSC 2021

    where did u find 19045 22H2?

    I saw that in script
     
  3. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    So how can I contact him?
     
  4. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,699
    14,428
    340
  5. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    upload_2022-4-2_12-36-56.png
    Figured it out myself. The cats can be created by makecat.exe and can be testsigned.
     
  6. zhanglin

    zhanglin MDL Expert

    Jan 11, 2018
    1,014
    552
    60
  7. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,699
    14,428
    340
    #7347 xinso, Apr 2, 2022
    Last edited: Apr 2, 2022
    Go ask the right expert there.

    Here is one example I use for making Unstaged wim:
    Code:
    dir /b %MT%\Packages\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_%LVER%_none_*.manifest >%LIST%
    powershell -Command "(gc %LIST%) -replace '.manifest', '' | sc %LIST%"
    for /f %%x in ('findstr /i . %LIST%') do (
    if not exist %MT%\Windows\WinSxS\%%x md %MT%\Windows\WinSxS\%%x
    copy /Y %MT%\Packages\%%x\amd64_installed %MT%\Windows\servicing\Version\%LVER%
    copy /Y %MT%\Packages\%%x\WcmTypes.xsd %MT%\Windows\System32\SMI\Schema
    copy /Y %MT%\Packages\%%x\wdscore.dll %MT%\Windows\System32
    xcopy /cherkyq %MT%\Packages\%%x %MT%\Windows\WinSxS\%%x
    )
    
     
  8. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,699
    14,428
    340
    #7348 xinso, Apr 2, 2022
    Last edited: Apr 2, 2022
    Improvement based on #7362.

    [Before]
    Code:
    echo.
    dir /b %MT%\Packages\amd64_microsoft-windows-packagemanager_31bf3856ad364e35_%LVER%_none_*.manifest >temp.txt
    powershell -Command "(gc temp.txt) -replace '.manifest', '' | sc temp.txt"
    for /f %%x in ('findstr /i . temp.txt') do (
    copy /Y %MT%\Packages\%%x\SSShim.dll %MT%\Windows\System32
    )
    
    dir /b %MT%\Packages\amd64_microsoft-windows-d..-winproviders-image_31bf3856ad364e35_%LVER%_none_*.manifest >temp.txt
    powershell -Command "(gc temp.txt) -replace '.manifest', '' | sc temp.txt"
    for /f %%x in ('findstr /i . temp.txt') do (
    xcopy /cherkyq %MT%\Packages\%%x %MT%\Windows\System32\Dism
    )
    
    dir /b %MT%\Packages\amd64_microsoft-windows-d..-winproviders-local_31bf3856ad364e35_%LVER%_none_*.manifest >temp.txt
    powershell -Command "(gc temp.txt) -replace '.manifest', '' | sc temp.txt"
    for /f %%x in ('findstr /i . temp.txt') do (
    xcopy /cherkyq %MT%\Packages\%%x %MT%\Windows\System32\Dism
    )
    
    dir /b %MT%\Packages\amd64_microsoft-windows-d..ing-management-core_31bf3856ad364e35_%LVER%_none_*.manifest >temp.txt
    powershell -Command "(gc temp.txt) -replace '.manifest', '' | sc temp.txt"
    for /f %%x in ('findstr /i . temp.txt') do (
    xcopy /cherkyq %MT%\Packages\%%x %MT%\Windows\System32\Dism
    )
    
    dir /b %MT%\Packages\amd64_microsoft-windows-d..ing-management-host_31bf3856ad364e35_%LVER%_none_*.manifest >temp.txt
    powershell -Command "(gc temp.txt) -replace '.manifest', '' | sc temp.txt"
    for /f %%x in ('findstr /i . temp.txt') do (
    xcopy /cherkyq %MT%\Packages\%%x %MT%\Windows\System32\Dism
    )
    
    dir /b %MT%\Packages\amd64_microsoft-windows-servicingcommon_31bf3856ad364e35_%LVER%_none_*.manifest >temp.txt
    powershell -Command "(gc temp.txt) -replace '.manifest', '' | sc temp.txt"
    for /f %%x in ('findstr /i . temp.txt') do (
    xcopy /cherkyq %MT%\Packages\%%x %MT%\Windows\System32\Dism
    )
    
    dir /b %MT%\Packages\amd64_microsoft-windows-c..namespace-downlevel_31bf3856ad364e35_%LVER%_none_*.manifest >temp.txt
    powershell -Command "(gc temp.txt) -replace '.manifest', '' | sc temp.txt"
    for /f %%x in ('findstr /i . temp.txt') do (
    xcopy /cherkyq %MT%\Packages\%%x %MT%\Windows\System32\downlevel
    )
    
    dir /b %MT%\Packages\amd64_microsoft-windows-m..namespace-downlevel_31bf3856ad364e35_%LVER%_none_*.manifest >temp.txt
    powershell -Command "(gc temp.txt) -replace '.manifest', '' | sc temp.txt"
    for /f %%x in ('findstr /i . temp.txt') do (
    xcopy /cherkyq %MT%\Packages\%%x %MT%\Windows\System32\downlevel
    )
    
    dir /b %MT%\Packages\amd64_microsoft-windows-m..namespace-downlevel_31bf3856ad364e35_%LVER%_none_*.manifest >temp.txt
    powershell -Command "(gc temp.txt) -replace '.manifest', '' | sc temp.txt"
    for /f %%x in ('findstr /i . temp.txt') do (
    xcopy /cherkyq %MT%\Packages\%%x %MT%\Windows\System32\downlevel
    )
    
    dir /b %MT%\Packages\amd64_microsoft-windows-m..namespace-downlevel_31bf3856ad364e35_%LVER%_none_*.manifest >temp.txt
    powershell -Command "(gc temp.txt) -replace '.manifest', '' | sc temp.txt"
    for /f %%x in ('findstr /i . temp.txt') do (
    xcopy /cherkyq %MT%\Packages\%%x %MT%\Windows\System32\downlevel
    )
    
    dir /b %MT%\Packages\amd64_microsoft-windows-o..namespace-downlevel_31bf3856ad364e35_%LVER%_none_*.manifest >temp.txt
    powershell -Command "(gc temp.txt) -replace '.manifest', '' | sc temp.txt"
    for /f %%x in ('findstr /i . temp.txt') do (
    xcopy /cherkyq %MT%\Packages\%%x %MT%\Windows\System32\downlevel
    )
    
    [After]
    Code:
    echo.
    for /f %%x in ('dir /b %MT%\Packages\amd64_microsoft-windows-packagemanager_31bf3856ad364e35_%LVER%_none_* ^| findstr /i /v ".manifest"') do (copy /y %MT%\Packages\%%x\SSShim.dll %MT%\Windows\System32)
    for /f %%x in ('dir /b %MT%\Packages\amd64_microsoft-windows-d..-winproviders-image_31bf3856ad364e35_%LVER%_none_* ^| findstr /i /v ".manifest"') do (xcopy /S /E /I /H /R /Y /J %MT%\Packages\%%x %MT%\Windows\System32\Dism)
    for /f %%x in ('dir /b %MT%\Packages\amd64_microsoft-windows-d..-winproviders-local_31bf3856ad364e35_%LVER%_none_* ^| findstr /i /v ".manifest"') do (xcopy /S /E /I /H /R /Y /J %MT%\Packages\%%x %MT%\Windows\System32\Dism)
    for /f %%x in ('dir /b %MT%\Packages\amd64_microsoft-windows-d..ing-management-core_31bf3856ad364e35_%LVER%_none_* ^| findstr /i /v ".manifest"') do (xcopy /S /E /I /H /R /Y /J %MT%\Packages\%%x %MT%\Windows\System32\Dism)
    for /f %%x in ('dir /b %MT%\Packages\amd64_microsoft-windows-d..ing-management-host_31bf3856ad364e35_%LVER%_none_* ^| findstr /i /v ".manifest"') do (xcopy /S /E /I /H /R /Y /J %MT%\Packages\%%x %MT%\Windows\System32\Dism)
    for /f %%x in ('dir /b %MT%\Packages\amd64_microsoft-windows-servicingcommon_31bf3856ad364e35_%LVER%_none_* ^| findstr /i /v ".manifest"') do (xcopy /S /E /I /H /R /Y /J %MT%\Packages\%%x %MT%\Windows\System32\Dism)
    for /f %%x in ('dir /b %MT%\Packages\amd64_microsoft-windows-c..namespace-downlevel_31bf3856ad364e35_%LVER%_none_* ^| findstr /i /v ".manifest"') do (xcopy /S /E /I /H /R /Y /J %MT%\Packages\%%x %MT%\Windows\System32\downlevel)
    for /f %%x in ('dir /b %MT%\Packages\amd64_microsoft-windows-m..namespace-downlevel_31bf3856ad364e35_%LVER%_none_* ^| findstr /i /v ".manifest"') do (xcopy /S /E /I /H /R /Y /J %MT%\Packages\%%x %MT%\Windows\System32\downlevel)
    for /f %%x in ('dir /b %MT%\Packages\amd64_microsoft-windows-m..namespace-downlevel_31bf3856ad364e35_%LVER%_none_* ^| findstr /i /v ".manifest"') do (xcopy /S /E /I /H /R /Y /J %MT%\Packages\%%x %MT%\Windows\System32\downlevel)
    for /f %%x in ('dir /b %MT%\Packages\amd64_microsoft-windows-m..namespace-downlevel_31bf3856ad364e35_%LVER%_none_* ^| findstr /i /v ".manifest"') do (xcopy /S /E /I /H /R /Y /J %MT%\Packages\%%x %MT%\Windows\System32\downlevel)
    for /f %%x in ('dir /b %MT%\Packages\amd64_microsoft-windows-o..namespace-downlevel_31bf3856ad364e35_%LVER%_none_* ^| findstr /i /v ".manifest"') do (xcopy /S /E /I /H /R /Y /J %MT%\Packages\%%x %MT%\Windows\System32\downlevel)
    
     
  9. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    @xinso Question: Is it allowed to share home-made editionspecific packages on MDL?
     
  10. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,699
    14,428
    340
    #7350 xinso, Apr 2, 2022
    Last edited: Apr 2, 2022
    Homebrew image in any format, not allowed.

    Modded files? Everywhere. So...

    Can you change CMGE from "en-US;zh-CN" to "EMPTY"? (So no need to switch it to other edition for 38 languages.)

    in this file
    Code:
    EnterpriseG-ppdlic.xrm-ms
    
     
  11. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
  12. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    Modded cat AND MANIFEST files.
     
  13. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,699
    14,428
    340
    #7354 xinso, Apr 2, 2022
    Last edited: Apr 2, 2022
    Creating 22000.1 Unstaged install.wim amd64
    Code:
    ==========================================================================
    Creating 22000.1 Unstaged install.wim amd64
    ==========================================================================
    
    ------------------------------------------------------------
    Preparing sources
    ------------------------------------------------------------
    
    mum\.\CloudEdition.cat
    mum\.\CloudEdition.mum
    mum\.\CloudEditionN.cat
    mum\.\CloudEditionN.mum
    mum\.\Core.cat
    mum\.\Core.mum
    mum\.\CoreCountrySpecific.cat
    mum\.\CoreCountrySpecific.mum
    mum\.\CoreN.cat
    mum\.\CoreN.mum
    mum\.\CoreSingleLanguage.cat
    mum\.\CoreSingleLanguage.mum
    mum\.\Education.cat
    mum\.\Education.mum
    mum\.\EducationN.cat
    mum\.\EducationN.mum
    mum\.\Enterprise.cat
    mum\.\Enterprise.mum
    mum\.\EnterpriseG.cat
    mum\.\EnterpriseG.mum
    mum\.\EnterpriseGN.cat
    mum\.\EnterpriseGN.mum
    mum\.\EnterpriseN.cat
    mum\.\EnterpriseN.mum
    mum\.\EnterpriseS.cat
    mum\.\EnterpriseS.mum
    mum\.\EnterpriseSN.cat
    mum\.\EnterpriseSN.mum
    mum\.\IoTEnterprise.cat
    mum\.\IoTEnterprise.mum
    mum\.\IoTEnterpriseS.cat
    mum\.\IoTEnterpriseS.mum
    mum\.\PPIPro.cat
    mum\.\PPIPro.mum
    mum\.\Professional.cat
    mum\.\Professional.mum
    mum\.\ProfessionalCountrySpecific.cat
    mum\.\ProfessionalCountrySpecific.mum
    mum\.\ProfessionalEducation.cat
    mum\.\ProfessionalEducation.mum
    mum\.\ProfessionalEducationN.cat
    mum\.\ProfessionalEducationN.mum
    mum\.\ProfessionalN.cat
    mum\.\ProfessionalN.mum
    mum\.\ProfessionalSingleLanguage.cat
    mum\.\ProfessionalSingleLanguage.mum
    mum\.\ProfessionalWorkstation.cat
    mum\.\ProfessionalWorkstation.mum
    mum\.\ProfessionalWorkstationN.cat
    mum\.\ProfessionalWorkstationN.mum
    mum\.\ServerRdsh.cat
    mum\.\ServerRdsh.mum
    複製了        52 個檔案。
    
    .
    .
    .
    
    ------------------------------------------------------------
    Capturing image
    ------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.746
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ------------------------------------------------------------
    Exporting image
    ------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.746
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ==========================================================================
    22000.1 Unstaged install.wim amd64 has been successfully created.
    ==========================================================================
    
    Mission took 0:4:4.94 (244.94s total)
    
    請按任意鍵繼續 . . .
    
     
  14. Nack11

    Nack11 MDL Member

    Oct 30, 2021
    152
    21
    10
    .cat files are Microsoft catalog files
     
  15. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    You can create cat files by makecat.exe and sign them by signtool.exe
    BUT they won't be working unless you import the certificate.
     
  16. Nack11

    Nack11 MDL Member

    Oct 30, 2021
    152
    21
    10
    but what is certificate is installed in *.cat file made by microsoft
     
  17. Nack11

    Nack11 MDL Member

    Oct 30, 2021
    152
    21
    10
    and what certificate needs to import?
     
  18. dorfd1

    dorfd1 MDL Senior Member

    Sep 10, 2015
    276
    98
    10
    I had to install the enablement package to get it to 21h2 then rest u[ the updates installed.

    I chose to keep the store. I was able to digitally activate it
     
  19. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,699
    14,428
    340
    Good. The 19044 LTSC starts from 19044.1149 forward. So it's normal to install 21H2 Enablement in advance.