Windows Editions Reconstruction Project

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

  1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,411
    15,487
    210
    Coz it creates almost an identical build like LTSC 2019 for 2021 without Edge legacy, Edge Chromium and no pre-integrated CU.

    Just removing the Apps will make it more perfect for people who likes to use a base image without updates.

    Can be used for ToolkitHelper to support removing components for W10 LTSC 2021 with or without updates.
     
  2. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,682
    13,687
    340
    #5542 xinso, Nov 20, 2021
    Last edited: Nov 20, 2021
    Modeed from 22000.1 Pro's Microsoft-Windows-ProfessionalEdition.cat and mum.

    the Microsoft-Windows-EnterpriseGEdition~31bf3856ad364e35~amd64~~10.0.22000.1.mum
    Code:
    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <assembly xmlns="urn:schemas-microsoft-com:asm.v3" manifestVersion="1.0" copyright="Copyright (c) Microsoft Corporation. All Rights Reserved.">
      <assemblyIdentity name="Microsoft-Windows-EnterpriseGEdition" version="10.0.22000.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
      <package identifier="Windows EnterpriseG Edition" releaseType="Product">
        <update name="Microsoft-Windows-Foundation-Package">
          <package contained="false" integrate="visible">
            <assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="10.0.22000.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-EditionSpecific-EnterpriseG-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-EditionSpecific-EnterpriseG-Package" version="10.0.22000.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-Client-Desktop-Required-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-Client-Desktop-Required-Package" version="10.0.22000.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-Client-Desktop-Required-WOW64-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-Client-Desktop-Required-WOW64-Package" version="10.0.22000.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-Client-Features-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-Client-Features-Package" version="10.0.22000.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-Client-Features-WOW64-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-Client-Features-WOW64-Package" version="10.0.22000.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-EditionPack-Professional-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-EditionPack-Professional-Package" version="10.0.22000.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-EditionPack-Professional-WOW64-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-EditionPack-Professional-WOW64-Package" version="10.0.22000.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-RegulatedPackages-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-RegulatedPackages-Package" version="10.0.22000.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-RegulatedPackages-WOW64-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-RegulatedPackages-WOW64-Package" version="10.0.22000.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-Required-ShellExperiences-Desktop-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-Required-ShellExperiences-Desktop-Package" version="10.0.22000.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-Required-ShellExperiences-Desktop-WOW64-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-Required-ShellExperiences-Desktop-WOW64-Package" version="10.0.22000.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
      </package>
    </assembly>
    
     
  3. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,411
    1,191
    60
    I will build image with EnterpriseS_x64_19041.1_en-US.7z, than i will use SxSv1 & install_wim_tweak to compare with real images.;)
     
  4. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    769
    466
    30
    How can I get install_wim_tweak?
     
  5. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    769
    466
    30
    Why do I get an error when using dism /image:mount /get-currentedition
     
  6. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,682
    13,687
    340
    1. download Windows 10 build 19041.1 EnterpriseG
    https://forums.mydigitallife.net/threads/windows-editions-reconstruction-project.80939/#post-1570332
    2. Replace 19041.1 with 22000.1
    3. Extract contents of 22000.1 Microsoft-Windows-EditionSpecific-EnterpriseG-Package_0ce59cb8.ESD into sxs
    4. Follow the OP owner's instruction

    For further information, please search help from the Mansters. I am not available anymore.
     
  7. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    769
    466
    30
  8. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,682
    13,687
    340
    #5549 xinso, Nov 20, 2021
    Last edited: Nov 20, 2021
    Good. Don't touch OEMDefaultAssociations. Once LCU has its update, update will probably fail.

    i.e. Remove

    copy /y mount\Windows\System32\OEMDefaultAssociations.xml .
    copy /y mount\Windows\System32\OEMDefaultAssociations.dll .
    and
    copy /y OEMDefaultAssociations.xml mount\Windows\System32
    copy /y OEMDefaultAssociations.dll mount\Windows\System32
    in build.cmd
     
  9. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,411
    1,191
    60
    Code:
    Microsoft Windows [Version 10.0.19041.1]
    (c) 2019 Microsoft Corporation. All rights reserved.
    
    C:\Windows\system32>cd C:\work
    
    C:\work>dism /mount-wim /wimfile:install.wim /mountdir:mount /index:1
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\work>dism /image:mount /set-edition:Professional /Channel=Volume
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Starting to update components...
    Starting to install product key...
    Finished installing product key.
    
    Adding package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.19041.1
    Removing package Microsoft-Windows-CoreEdition~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    
    Finished updating components.
    
    Starting to apply edition-specific settings...
    Finished applying edition-specific settings.
    
    The operation completed successfully.
    
    C:\work>dism /image:mount /apply-unattend:1.xml
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Removing package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.19041.1
    Removing package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    
    The operation completed successfully.
    
    C:\work>dism /image:mount /add-package /packagepath:Microsoft-Windows-Client-LanguagePack-Package_en-us~31bf3856ad364e35~amd64~en-us~.ESD
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\work>dism /image:mount /add-package /packagepath:Package_for_RollupFix-Package-amd64-19041.21.1.1.cab
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.21.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\work>dism /image:mount /apply-unattend:2.xml
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Removing package Microsoft-Windows-EnterpriseSEdition~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\work>dism /image:mount /apply-unattend:3.xml
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Removing package Microsoft-Windows-EnterpriseSEdition~31bf3856ad364e35~amd64~~10.0.19041.21
    Removing package Microsoft-Windows-EnterpriseSEdition~31bf3856ad364e35~amd64~~10.0.19041.21
    [==========================100.0%==========================]
    
    The operation completed successfully.
    
    C:\work>dism /image:mount /remove-package /packagename:Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.21.1.1
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Removing package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.21.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\work>del mount\windows\*.xml
    
    C:\work>dism /image:mount /set-edition:EnterpriseS /Channel=Volume
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Starting to update components...
    Starting to install product key...
    Finished installing product key.
    
    Starting to apply edition-specific settings...
    Finished applying edition-specific settings.
    
    The operation completed successfully.
    
    C:\work>dism /image:mount /get-currentedition
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Current edition is:
    
    Current Edition : EnterpriseS
    
    The operation completed successfully.

    Code:
    C:\work>Powershell -Command "Get-AppXProvisionedPackage -Path mount | Remove-AppxProvisionedPackage -Path mount"
    
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
    
    Path          : mount
    Online        : False
    RestartNeeded : False
     
  10. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,682
    13,687
    340
    #5552 xinso, Nov 20, 2021
    Last edited: Nov 20, 2021
    [Reminder]
    New Update Technology from 18362.1 forward, together with PSFX update. Dual-Tamper-Protection.
     
  11. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,411
    1,191
    60
    Added Windows-Defender-AM-Default-Definitions-Package to Fake EnterpriseS_10.0.19041.1

    Code:
    Microsoft Windows [Version 10.0.19041.1]
    (c) 2019 Microsoft Corporation. All rights reserved.
    
    C:\Windows\system32>dism /image:C:\work\mount /add-package /packagepath:C:\10.0.19041.1\Windows-Defender-AM-Default-Definitions-Package-amd64-10.0.19041.1.cab
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Windows-Defender-AM-Default-Definitions-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Windows\system32>dism /image:C:\work\mount /add-package /packagepath:C:\10.0.19041.1\en-US\Windows-Defender-AM-Default-Definitions-Package-amd64-10.0.19041.1-en-US.cab
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Windows-Defender-AM-Default-Definitions-Package~31bf3856ad364e35~amd64~en-US~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Windows\system32>
     
  12. JeepWillys58

    JeepWillys58 MDL Addicted

    Nov 6, 2010
    581
    365
    30
    .
    Hi dear friend First off, sorry to ask, but when you say that, are you talking to edit all files and replace 19041.1 with 22000.1 within all files of enterpriseg_19041_x64.7z?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,682
    13,687
    340
    #5555 xinso, Nov 20, 2021
    Last edited: Nov 20, 2021
    All 19041.1 string in the script. Because 22000.1 is in the same structure as 19041.1.

    And extract all files in 22000.1 Microsoft-Windows-EditionSpecific-EnterpriseG-Package_0ce59cb8.ESD into sxs folder.

    Prepare other files. e.g. install.wim and language pack.

    if other language, modify language="en-US" in 3.xml, and save.

    Run full_build.cmd to start.
     
  14. JeepWillys58

    JeepWillys58 MDL Addicted

    Nov 6, 2010
    581
    365
    30
    Sorry again, but it's the same for IoTEnterpriseS and EnterpriseS too?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,682
    13,687
    340
    I did not understand.

    19044 and 22000? Yes, compatible. But 22000 has something new.
     
  16. JeepWillys58

    JeepWillys58 MDL Addicted

    Nov 6, 2010
    581
    365
    30
    Sorry, to re-create or reconstruction of 22000 IoTEnterpriseS and EnterpriseS...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,682
    13,687
    340
    It is not appropriate, because it needs custom update.
     
  18. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,682
    13,687
    340
    #5560 xinso, Nov 20, 2021
    Last edited: Nov 20, 2021