[GUIDE] [DISCUSSION] Windows Editions Reconstructions

Discussion in 'Windows 10' started by TesterMachineOS, Sep 3, 2024.

  1. winosr25

    winosr25 MDL Senior Member

    May 14, 2024
    442
    547
    10
    winpe 29531.1000 neutral

    Code:
    @echo off
    pushd "%~dp0"
    
    md 666
    set MT=666
    md tmp
    set au=tmp
    
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    
    echo.
    echo ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    echo Mount image
    echo ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    echo.
    dism /english /mount-wim /wimfile:29531.1000.wim /index:1 /mountdir:%MT%
    
    echo.
    echo ============================================================
    echo Clean Microsoft-Windows-WinPE-SKU-Foundation-Package
    echo ============================================================
    echo.
    copy /y Microsoft-Windows-WinPE-SKU-Foundation-Package~31bf3856ad364e35~amd64~~10.0.29531.1000.mum %MT%\Windows\servicing\Packages\Microsoft-Windows-WinPE-SKU-Foundation-Package~31bf3856ad364e35~amd64~~10.0.29531.1000.mum
    copy /y Microsoft-Windows-WinPE-SKU-Foundation-WOW64-Package~31bf3856ad364e35~amd64~~10.0.29531.1000.mum %MT%\Windows\servicing\Packages\Microsoft-Windows-WinPE-SKU-Foundation-WOW64-Package~31bf3856ad364e35~amd64~~10.0.29531.1000.mum
    
    echo remove Microsoft-Windows-WinPE-SKU-Foundation-WOW64-merged-Package
    Dism /quiet /image:%MT% /Disable-Feature:"acdbb8663ec6c1d48884a57fda94e97b" /PackageName:Microsoft-Windows-WinPE-SKU-Foundation-WOW64-Package~31bf3856ad364e35~amd64~~10.0.29531.1000
    echo remove Microsoft-Windows-WinPE-SKU-Foundation-merged-Package
    Dism /quiet /image:%MT% /Disable-Feature:"70444d8467c7178178807b8831c3a55f" /PackageName:Microsoft-Windows-WinPE-SKU-Foundation-Package~31bf3856ad364e35~amd64~~10.0.29531.1000
    
    
    Reg load HKLM\SOFTHIVE %MT%\Windows\System32\config\SOFTWARE
    reg import azure\winre1.reg
    Reg unload HKLM\SOFTHIVE
    
    Reg load HKLM\SYSHIVE %MT%\Windows\System32\config\SYSTEM
    reg import azure\winre2.reg
    Reg unload HKLM\SYSHIVE
    
    Reg load HKLM\COMPONHIVE %MT%\Windows\System32\config\COMPONENTS
    reg import azure\winre3.reg
    Reg unload HKLM\COMPONHIVE
    
    echo.
    echo ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    echo convert all edition
    echo ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    echo.
    dism /english /image:%MT% /apply-unattend:sxs\00s.xml
    dism /english /apply-image /imagefile:"wcd.esd" /Index:1 /applydir:%MT%
    dism /english /image:%MT% /apply-unattend:sxs\0lp.xml
    dism /english /image:%MT% /Set-SKUIntlDefaults:fr-fr
    dism /english /image:%MT% /apply-unattend:sxs\0fod.xml
     
  2. winosr25

    winosr25 MDL Senior Member

    May 14, 2024
    442
    547
    10
    replace fr-fr with your language en-us or pl-pl
    0fod.xml (fr-fr)
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <servicing>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-MSPaint-FoD-Package" version="10.0.29531.1000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" />
    <source location="Microsoft-Windows-MSPaint-FoD-Package~31bf3856ad364e35~amd64~~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-MSPaint-FoD-Package" version="10.0.29531.1000" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" />
    <source location="Microsoft-Windows-MSPaint-FoD-Package~31bf3856ad364e35~wow64~~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-MSPaint-FoD-Package" version="10.0.29531.1000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="fr-fr" />
    <source location="Microsoft-Windows-MSPaint-FoD-Package~31bf3856ad364e35~amd64~fr-fr~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-MSPaint-FoD-Package" version="10.0.29531.1000" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="fr-fr" />
    <source location="Microsoft-Windows-MSPaint-FoD-Package~31bf3856ad364e35~wow64~fr-fr~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-Notepad-FoD-Package" version="10.0.29531.1000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" />
    <source location="Microsoft-Windows-Notepad-FoD-Package~31bf3856ad364e35~amd64~~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-Notepad-FoD-Package" version="10.0.29531.1000" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" />
    <source location="Microsoft-Windows-Notepad-FoD-Package~31bf3856ad364e35~wow64~~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-Notepad-FoD-Package" version="10.0.29531.1000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="fr-fr" />
    <source location="Microsoft-Windows-Notepad-FoD-Package~31bf3856ad364e35~amd64~fr-fr~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-Notepad-FoD-Package" version="10.0.29531.1000" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="fr-fr" />
    <source location="Microsoft-Windows-Notepad-FoD-Package~31bf3856ad364e35~wow64~fr-fr~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-SnippingTool-FoD-Package" version="10.0.29531.1000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" />
    <source location="Microsoft-Windows-SnippingTool-FoD-Package~31bf3856ad364e35~amd64~~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-SnippingTool-FoD-Package" version="10.0.29531.1000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="fr-fr" />
    <source location="Microsoft-Windows-SnippingTool-FoD-Package~31bf3856ad364e35~amd64~fr-fr~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-PowerShell-ISE-FOD-Package" version="10.0.29531.1000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" />
    <source location="Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~amd64~~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-PowerShell-ISE-FOD-Package" version="10.0.29531.1000" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" />
    <source location="Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~wow64~~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-PowerShell-ISE-FOD-Package" version="10.0.29531.1000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="fr-fr" />
    <source location="Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~amd64~fr-fr~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-PowerShell-ISE-FOD-Package" version="10.0.29531.1000" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="fr-fr" />
    <source location="Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~wow64~fr-fr~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-VBSCRIPT-FoD-Package" version="10.0.29531.1000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" />
    <source location="Microsoft-Windows-VBSCRIPT-FoD-Package~31bf3856ad364e35~amd64~~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-VBSCRIPT-FoD-Package" version="10.0.29531.1000" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" />
    <source location="Microsoft-Windows-VBSCRIPT-FoD-Package~31bf3856ad364e35~wow64~~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-VBSCRIPT-FoD-Package" version="10.0.29531.1000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="fr-fr" />
    <source location="Microsoft-Windows-VBSCRIPT-FoD-Package~31bf3856ad364e35~amd64~fr-fr~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-VBSCRIPT-FoD-Package" version="10.0.29531.1000" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="fr-fr" />
    <source location="Microsoft-Windows-VBSCRIPT-FoD-Package~31bf3856ad364e35~wow64~fr-fr~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-win32calc-Package" version="10.0.29531.1000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" />
    <source location="Microsoft-Windows-win32calc-Package~31bf3856ad364e35~amd64~~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-win32calc-wow64-Package" version="10.0.29531.1000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" />
    <source location="Microsoft-Windows-win32calc-wow64-Package~31bf3856ad364e35~amd64~~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-win32calc-Package" version="10.0.29531.1000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="fr-fr" />
    <source location="Microsoft-Windows-win32calc-Package~31bf3856ad364e35~amd64~fr-fr~10.0.29531.1000.mum" />
    </package>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-win32calc-wow64-Package" version="10.0.29531.1000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="fr-fr" />
    <source location="Microsoft-Windows-win32calc-wow64-Package~31bf3856ad364e35~amd64~fr-fr~10.0.29531.1000.mum" />
    </package>
    </servicing>
    </unattend>
     
  3. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    #4583 pp03, Feb 25, 2026
    Last edited: Feb 25, 2026
    reserved
     
  4. liliactr

    liliactr MDL Addicted

    Sep 3, 2009
    686
    262
    30
  5. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    #4585 pp03, Feb 25, 2026
    Last edited: Feb 25, 2026
    please explain:

    you mount 29531 and then in 00s.xml you remove 28000 and install 29531? shouldn't 28000 be mounted?
     
  6. winosr25

    winosr25 MDL Senior Member

    May 14, 2024
    442
    547
    10
  7. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
  8. xinso

    xinso MDL Guru

    Mar 5, 2009
    15,089
    15,292
    340
    #4588 xinso, Feb 25, 2026
    Last edited: Mar 27, 2026
    [28000.1764 Windows 11 Enterprise multi-session (RETAIL with Edge with Store in Official style) amd64 zh-TW]
    Code:
    ------------------------------------------------------------
    Set ServerRdsh Key
    ------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.28000.1
    
    Image Version: 10.0.28000.1764
    
    Starting to install product key...
    Finished installing product key.
    
    The operation completed successfully.
    
    ============================================================
    Current Edition : ServerRdsh (RETAIL)
    ============================================================
    
     
  9. winosr25

    winosr25 MDL Senior Member

    May 14, 2024
    442
    547
    10
    The tutorial requires 12GB of SXS source code (26100.32230), and combined with 29531.1000, this brings the total to over 20GB. I can share the codes; you'll need to create the SXS source code yourself (currently 26100.1742 is working, 26100.32230 or 29531.1000 are in progress).
    progress Microsoft-OneCore-Win3-Core-BurnDow 26100.1
     
  10. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    space is no problem :)
     
  11. winosr25

    winosr25 MDL Senior Member

    May 14, 2024
    442
    547
    10
  12. winosr25

    winosr25 MDL Senior Member

    May 14, 2024
    442
    547
    10
    etc

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <servicing>
    <package action="install">
    <assemblyIdentity name="Microsoft-Windows-ServerStandardEdition" version="10.0.29531.1000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" />
    <source location="Microsoft-Windows-ServerStandardEdition~31bf3856ad364e35~amd64~~10.0.29531.1000.mum" />
    </package>
    <package action="remove">
    <assemblyIdentity name="Microsoft-Windows-WinPE-Package" version="10.0.29531.1000" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
    </package>
    </servicing>
    </unattend>
     
  13. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    right :)
     
  14. xinso

    xinso MDL Guru

    Mar 5, 2009
    15,089
    15,292
    340
  15. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    when upgrading to 22000.3260 serverrdsh from 19045.6456 on sl7 intel there is 0xC1900101-0x20017/30017 error
     
  16. xinso

    xinso MDL Guru

    Mar 5, 2009
    15,089
    15,292
    340
    #4597 xinso, Feb 26, 2026
    Last edited: Feb 26, 2026
    19045.6456 (2026-02-10)
    --->
    22000.3260 (2024-10-08)

    Drivers compatible?
     
  17. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    i'll try 19045.5011 (2024-10-08 also)
     
  18. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    #4599 pp03, Feb 26, 2026
    Last edited: Feb 27, 2026
    little progress thanks to @xinso advice - upgrade from 19045.5011 serverrdsh to 22000.3260 successful on sl7 intel (without drivers, without internet) - no stuck at windows logo :)

    stuck at windows logo only when restart after hyper enabled


    edit: in 19045.6456 i had hyperv enabled
     
  19. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    #4600 pp03, Feb 26, 2026
    Last edited: Feb 26, 2026
    in event viewer as for failure when try to enable hyperv on 22000.3260 sl7 intel:

    Initiating changes to turn on update Microsoft-Hyper-V-All of package Microsoft-Hyper-V-ClientEdition. Client id: Windows Optional Component Manager.
    Initiating changes to turn on update Microsoft-Hyper-V-Management-PowerShell of package Microsoft-Hyper-V-ClientEdition. Client id: Windows Optional Component Manager.
    Initiating changes to turn on update Microsoft-Hyper-V-Hypervisor of package Microsoft-Hyper-V-ClientEdition. Client id: Windows Optional Component Manager.
    Initiating changes to turn on update Microsoft-Hyper-V-Services of package Microsoft-Hyper-V-ClientEdition. Client id: Windows Optional Component Manager.
    Initiating changes to turn on update Microsoft-Hyper-V-Management-Clients of package Microsoft-Hyper-V-ClientEdition. Client id: Windows Optional Component Manager.
    A reboot is necessary before the selectable update Microsoft-Hyper-V-All of package Microsoft-Hyper-V-ClientEdition can be turned on.
    A reboot is necessary before the selectable update Microsoft-Hyper-V-Management-PowerShell of package Microsoft-Hyper-V-ClientEdition can be turned on.
    A reboot is necessary before the selectable update Microsoft-Hyper-V-Hypervisor of package Microsoft-Hyper-V-ClientEdition can be turned on.
    A reboot is necessary before the selectable update Microsoft-Hyper-V-Services of package Microsoft-Hyper-V-ClientEdition can be turned on.
    A reboot is necessary before the selectable update Microsoft-Hyper-V-Management-Clients of package Microsoft-Hyper-V-ClientEdition can be turned on.
    Update Microsoft-Hyper-V-All of package Microsoft-Hyper-V-ClientEdition failed to be turned on. Status: 0x800f0923.
    Update Microsoft-Hyper-V-Management-PowerShell of package Microsoft-Hyper-V-ClientEdition failed to be turned on. Status: 0x800f0923.
    Update Microsoft-Hyper-V-Hypervisor of package Microsoft-Hyper-V-ClientEdition failed to be turned on. Status: 0x800f0923.
    Update Microsoft-Hyper-V-Services of package Microsoft-Hyper-V-ClientEdition failed to be turned on. Status: 0x800f0923.
    Update Microsoft-Hyper-V-Management-Clients of package Microsoft-Hyper-V-ClientEdition failed to be turned on. Status: 0x800f0923.


    edit:
    microsoft-hyper-v-all
    microsoft-hyper-v-management-powershell (optional)
    microsoft-hyper-v-services
    microsoft-hyper-v-management-clients

    4 above work

    installation of microsoft-hyper-v-hypervisor is successful (restart not required), but it doesn't work and after restart stuck at windows logo (virtual machine won't start without working microsoft-hyper-v-hypervisor)


    0x800f0923 could be related to 0x800f0922 (system reserved partition too small)?