[ARCHIVED] Windows Editions Reconstruction Project

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

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

    RobrPatty MDL Expert

    Jul 23, 2009
    1,283
    598
    60
    It isn't that hard to upload & pm link
     
  2. RobrPatty

    RobrPatty MDL Expert

    Jul 23, 2009
    1,283
    598
    60
    If it was easy I'd done it by now. Tried several times with no success
     
  3. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,437
    340
    #8163 xinso, Jun 7, 2022
    Last edited: Jun 7, 2022
    7-1. Create 20348.1 Client with UUP packages.
    7-2. Add 20348.1 language feature packs.
    7-3. Add 20348.1 FOD packs.
    7-4. Modify 20279.1 language pack.
    7-5. Install modded language pack.
    7-6. Replace C:\Windows\PolicyDefinitions with 19044 one.
    7-7. For Appx.

    [Option for LTSC or no Store]
    Add these dependencies.
    Microsoft.UI.Xaml.2.2_2.21909.17002.0_x64__8wekyb3d8bbwe
    Microsoft.UI.Xaml.2.4_2.42007.9001.0_x64__8wekyb3d8bbwe
    Microsoft.VCLibs.140.00_14.0.27810.0_x64__8wekyb3d8bbwe

    [Option for not-LTSC]
    Add Store.
     
  4. Nack11

    Nack11 MDL Member

    Oct 30, 2021
    152
    21
    10
    where i will get professional-xx-xx.esd? i can't find that package
     
  5. RobrPatty

    RobrPatty MDL Expert

    Jul 23, 2009
    1,283
    598
    60
    C:\work>rmdir /q /s logs 1>NUL 2>&1

    C:\work>mkdir logs 1>NUL 2>&1

    C:\work>mkdir mount 1>NUL 2>&1

    C:\work>mkdir temp 1>NUL 2>&1

    C:\work>dism /logpath:logs\mount.log /mount-wim /wimfile:install.wim /index:1 /mountdir:mount || exit /b 1

    Deployment Image Servicing and Management tool
    Version: 10.0.25131.1000

    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.

    C:\work>call brand.cmd || exit /b 1

    C:\work>reg load HKLM\MOUNTSOFT mount\Windows\System32\config\SOFTWARE
    The operation completed successfully.

    C:\work>reg add "HKLM\MOUNTSOFT\Microsoft\Windows NT\CurrentVersion" /v EditionSubManufacturer /t REG_SZ /d "Contoso Corporation" /f
    The operation completed successfully.

    C:\work>reg add "HKLM\MOUNTSOFT\Microsoft\Windows NT\CurrentVersion" /v EditionSubstring /t REG_SZ /d "Contoso" /f
    The operation completed successfully.

    C:\work>reg add "HKLM\MOUNTSOFT\Microsoft\Windows NT\CurrentVersion" /v EditionSubVersion /t REG_SZ /d "2004" /f
    The operation completed successfully.

    C:\work>reg unload HKLM\MOUNTSOFT
    The operation completed successfully.

    C:\work>call build.cmd || exit /b 1

    C:\work>mkdir logs 1>NUL 2>&1

    C:\work>mkdir temp 1>NUL 2>&1

    C:\work>copy /y mount\Windows\System32\OEMDefaultAssociations.xml .
    1 file(s) copied.

    C:\work>copy /y mount\Windows\System32\OEMDefaultAssociations.dll .
    1 file(s) copied.

    C:\work>dism /logpath:logs\1.log /scratchdir:"C:\work\temp" /image:mount /apply-unattend:1.xml || exit /b 1

    Deployment Image Servicing and Management tool
    Version: 10.0.25131.1000

    Image Version: 10.0.22621.1


    Error: 2

    An error occurred trying to open - C:\work\sxs\Microsoft-Windows-EnterpriseGEdition~31bf3856ad364e35~amd64~~10.0.19041.1.mum Error: 0x80070002

    The DISM log file can be found at logs\1.log

    C:\work>
     
  6. Nack11

    Nack11 MDL Member

    Oct 30, 2021
    152
    21
    10
    you should rename Microsoft-Windows-EnterpriseGEdition~31bf3856ad364e35~amd64~~10.0.19041.1 (cat and mum) into Microsoft-Windows-EnterpriseGEdition~31bf3856ad364e35~amd64~~10.0.22621.1
     
  7. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,437
    340
    #8167 xinso, Jun 7, 2022
    Last edited: Jun 7, 2022
  8. RobrPatty

    RobrPatty MDL Expert

    Jul 23, 2009
    1,283
    598
    60
    Exactly what I did when I got the error. Am I suppose to paste them into sxs folder?
     
  9. RobrPatty

    RobrPatty MDL Expert

    Jul 23, 2009
    1,283
    598
    60
    I had paste cat & mum into sxs file when got error
     
  10. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,437
    340
    #8170 xinso, Jun 7, 2022
    Last edited: Jun 7, 2022
    Q: What does Windows do when you add new language to 20348.1 Client?
    A: It installs Microsoft.LanguageExperiencePackx-XX_20348.1.1.0_neutral__8wekyb3d8bbwe.Appx.
    Code:
    C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackxx-XX_20348.1.1.0_neutral__8wekyb3d8bbwe
    
    It is good for Start menu and Settings, not for Windows features.

    If you can't modify 20279.1 Client language pack, copy language folders from 19044 Client or 20348 Server.
     
  11. RobrPatty

    RobrPatty MDL Expert

    Jul 23, 2009
    1,283
    598
    60
    Process does not recognize renamed files:

    Image Version: 10.0.22621.1


    Error: 2

    An error occurred trying to open - C:\work\sxs\Microsoft-Windows-EnterpriseGEdition~31bf3856ad364e35~amd64~~10.0.19041.1.mum Error: 0x80070002

    The DISM log file can be found at logs\1.log

    C:\work>
     
  12. RobrPatty

    RobrPatty MDL Expert

    Jul 23, 2009
    1,283
    598
    60
    This is why I asked for a pm link.
     
  13. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,437
    340
    #8173 xinso, Jun 7, 2022
    Last edited: Jun 7, 2022
    Microsoft-Windows-EnterpriseGEdition~31bf3856ad364e35~amd64~~10.0.22621.1.cat
    Microsoft-Windows-EnterpriseGEdition~31bf3856ad364e35~amd64~~10.0.22621.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.22621.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.22621.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.22621.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.22621.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.22621.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.22621.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.22621.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.22621.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.22621.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.22621.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.22621.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.22621.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.22621.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
      </package>
    </assembly>
    
    To reconstruct with 22621.1 Pro install.wim, you need:
    1. Aforementioned mum & cat
    2. Microsoft-Windows-EditionSpecific-EnterpriseG-Package
    3. Language pack
    4. 1.xml
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <servicing>
            <package action="install">
                <assemblyIdentity name="Microsoft-Windows-EnterpriseGEdition" version="10.0.22621.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" />
                <SOURCE location="Microsoft-Windows-EnterpriseGEdition~31bf3856ad364e35~amd64~~10.0.22621.1.mum" />
            </package>
            <package action="remove">
                <assemblyIdentity name="Microsoft-Windows-ProfessionalEdition" version="10.0.22621.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" />
            </package>
        </servicing>
    </unattend>
    
    PS:
    Put 1\2\4 into sxs folder. (Remember to expand Microsoft-Windows-EditionSpecific-EnterpriseG-Package)
    Code:
    echo.
    echo Mount Professional image
    dism /english /mount-wim /wimfile:install.wim /index:1 /mountdir:MOUNT
    
    echo.
    echo Convert Professional to EnterpriseG
    dism /english /image:MOUNT /apply-unattend:sxs\1.xml
    
    echo.
    echo Add en-US client language pack
    dism /english /image:MOUNT /add-package:lp
    
    Put or expand
    Microsoft-Windows-Client-Language-Pack_x64_en-us.cab
    or
    Microsoft-Windows-Client-LanguagePack-Package_en-us-amd64-en-us.esd
    into lp folder.
     
  14. RobrPatty

    RobrPatty MDL Expert

    Jul 23, 2009
    1,283
    598
    60
    Microsoft Windows [Version 10.0.25131.1000]
    (c) Microsoft Corporation. All rights reserved.

    C:\Users\Administrator>cd C:\work

    C:\work>start full_build.cmd

    C:\work>dism /english /mount-wim /wimfile:install.wim /index:1 /mountdir:MOUNT

    Deployment Image Servicing and Management tool
    Version: 10.0.25131.1000

    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.

    C:\work>dism /english /image:MOUNT /apply-unattend:sxs\1.xml

    Deployment Image Servicing and Management tool
    Version: 10.0.25131.1000

    Image Version: 10.0.22621.1


    Error: 13

    The data is invalid.

    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

    C:\work>
     
  15. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,437
    340
  16. example12345678912345678

    Dec 29, 2019
    569
    322
    30
    @xinso, @gailium119
    It looks like it's not possible to get working EnterpriseG (or EnterpriseGN) edition on any language except for en-US and zh-CN even I did the following:
    EnterpriseGN-ppdlic.xrm-ms
    Before:
    Code:
    <sl:policyStr name="Kernel-MUI-Language-Allowed" attributes="reboot-required, override-only">en-US;zh-CN</sl:policyStr>
    <sl:policyStr name="Kernel-MUI-Language-Disallowed" attributes="reboot-required, override-only">EMPTY</sl:policyStr>
    
    After 1:
    Code:
    <sl:policyStr name="Kernel-MUI-Language-Allowed" attributes="reboot-required, override-only">EMPTY</sl:policyStr>
    <sl:policyStr name="Kernel-MUI-Language-Disallowed" attributes="reboot-required, override-only">EMPTY</sl:policyStr>
    
    After 2:
    Code:
    <sl:policyStr name="Kernel-MUI-Language-Allowed" attributes="reboot-required, override-only">EMPTY</sl:policyStr>
    <sl:policyStr name="Kernel-MUI-Language-Disallowed" attributes="reboot-required, override-only">en-US;zh-CN</sl:policyStr>
    
    Both tries ended up with BSOD.
    There was nothing to edit in DefaultPpd-EnterpriseGN-ppdlic.xrm-ms
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,437
    340
    #8177 xinso, Jun 7, 2022
    Last edited: Jun 7, 2022
    It can't. Unless you can repack it, or disable SPP service before start installing.
     
  18. RobrPatty

    RobrPatty MDL Expert

    Jul 23, 2009
    1,283
    598
    60
    @xinso
    I hate to be a pain but the only issue I'm having now is the .xml file.

    C:\work>echo.


    C:\work>echo Mount Professional image
    Mount Professional image

    C:\work>dism /english /mount-wim /wimfile:install.wim /index:1 /mountdir:MOUNT

    Deployment Image Servicing and Management tool
    Version: 10.0.25131.1000

    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.

    C:\work>echo.


    C:\work>echo Convert Professional to EnterpriseG
    Convert Professional to EnterpriseG

    C:\work>dism /english /image:MOUNT /apply-unattend:sxs\1.xml

    Deployment Image Servicing and Management tool
    Version: 10.0.25131.1000

    Image Version: 10.0.22621.1


    Error: 13

    The data is invalid.

    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

    C:\work>echo.


    C:\work>echo Add en-US client language pack
    Add en-US client language pack

    C:\work>dism /english /image:MOUNT /add-package:lp

    Deployment Image Servicing and Management tool
    Version: 10.0.25131.1000

    Image Version: 10.0.22621.1

    Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~10.0.22621.1
    [==========================100.0%==========================]
    The operation completed successfully.
     
  19. example12345678912345678

    Dec 29, 2019
    569
    322
    30
    I tried to disable SPPSVC service using registry editor since I can't access services.smc. Even if I could do that, I can't disable it due to grayed out option. Also I've tried to rename filename of the sppsvc.exe file.
    But both of them are no use. Same BSOD again.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,437
    340
    1. Load Windows\System32\config\SYSTEM to HKEY_LOCAL_MACHINE\SYSTEM1
    2. Import or double-click sppsvc.reg
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SYSTEM1\ControlSet001\Services\sppsvc]
    "Start"=dword:00000004
    
    3. Unload HKEY_LOCAL_MACHINE\SYSTEM1