[GUIDE] [DISCUSSION] Windows Editions Reconstructions

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

  1. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    example.py

    from havesxs import generate_sxs_name

    #amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1_none_bf506ecc66a800df
    #amd64_microsoft-windows-servicingstack_31bf3856ad364e35_none_4a207b402ad93a1c
    servicingstack = {
    'name': 'Microsoft-Windows-ServicingStack',
    'culture': 'none',
    'version': '10.0.19041.1',
    'publicKeyToken': '31bf3856ad364e35',
    'processorArchitecture': 'amd64',
    'versionScope': 'nonSxS'
    }

    print(generate_sxs_name(servicingstack))
    print(generate_sxs_name(servicingstack, winners=True))
     
  2. Javac75

    Javac75 MDL Senior Member

    Mar 16, 2015
    251
    360
    10
    Run it in cmd console
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    #5263 pp03, Jun 12, 2026
    Last edited: Jun 12, 2026
    i came up with something like this

    2674a878f40f9247


    hash error when construct
     
  4. Javac75

    Javac75 MDL Senior Member

    Mar 16, 2015
    251
    360
    10
    upload_2026-6-12_17-26-12.png


    upload_2026-6-12_17-25-30.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    #5265 pp03, Jun 12, 2026
    Last edited: Jun 12, 2026
    thanks :) in dism .log i found also f675e9a913898a5a

    edit: with correct pseudokey hash error at the beginning of construction

    so versioning trick doesn't work
     
  6. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    925
    693
    30
    You need to edit the hash of patched wcp.dll in manifest as well
    sha256->base64
     
  7. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    hash of patched wcp.dll edited in amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.28000.1_none_d6d15b9f65ff658e.manifest, but still the same
     
  8. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    925
    693
    30
    You should edit the 32767 manifest
     
  9. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    925
    693
    30
    10240 legacy edge removal package
     

    Attached Files:

  10. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    #5270 pp03, Jun 12, 2026
    Last edited: Jun 12, 2026
    construction successful :) big thanks to @gailium119
     
  11. Javac75

    Javac75 MDL Senior Member

    Mar 16, 2015
    251
    360
    10
    Good news, glad to hear that.
    Too bad I don't have the proper hard&software to try it out (blank screen at first boot), and Bedi will stay in beta stage.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. xinso

    xinso MDL Guru

    Mar 5, 2009
    15,089
    15,292
    340
  13. Ace2

    Ace2 MDL Guru

    Oct 10, 2014
    2,206
    1,909
    90
    Great tool; tweaked to work perfectly with OfflineImageSigner.ps1
     
  14. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    29610.1000 enterpriseg x64 constructed by MUCS

    Code:
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.2792
    
    Image Version: 10.0.29610.1000
    
    Current edition is:
    
    Current Edition : EnterpriseG
    
    The operation completed successfully.
     
  15. liliactr

    liliactr MDL Addicted

    Sep 3, 2009
    686
    262
    30
    What you talk about give links
     
  16. Ace2

    Ace2 MDL Guru

    Oct 10, 2014
    2,206
    1,909
    90
    Criar_Arquivo_CAT.cmd Edit:
    Code:
    :ASSCAT
    "%~1" sign /v /fd sha256 /f "C:\OfflineImageSigner.cer" "%~2"
    goto :eof
    Steps:
    Code:
    0. Dism /Mount-Image /ImageFile:C:\install.wim /Index:1 /MountDir:C:\mount
    
    1. Run OfflineImageSigner.ps1
    
    2. Run Inject-CertToMountedImage.ps1
    
    3. Run Criar_Arquivo_CAT.cmd
    
    4. Add New Microsoft-Windows-EnterpriseGEdition~31bf3856ad364e35~amd64~~10.0.28000.1.cat + Microsoft-Windows-EnterpriseGEdition~31bf3856ad364e35~amd64~~10.0.28000.1.mum from Criar_Arquivo_CAT Folder to sxs Folder
    
    5. Dism /Image:C:\mount /Apply-Unattend:C:\1.xml
     

    Attached Files:

  17. Ace2

    Ace2 MDL Guru

    Oct 10, 2014
    2,206
    1,909
    90
    Results:
    Code:
    PS C:\Users\User> Dism /Image:C:\mount /Apply-Unattend:C:\1.xml
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.28000.1
    
    Removing package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.28000.1
    [==========================100.0%==========================]
    The operation completed successfully.
    PS C:\Users\User> Dism /Image:C:\mount /Apply-Unattend:C:\2.xml
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.28000.1
    
    Applying package servicing unattend
    [==========================100.0%==========================]
    The operation completed successfully.
    PS C:\Users\User> Dism /Image:C:\mount /Set-Edition:EnterpriseG
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.28000.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.
    PS C:\Users\User> Sfc /ScanNow /OffBootDir=C:\mount /OffWinDir=C:\mount\Windows
    
    Beginning system scan.  This process will take some time.
    
    
    Windows Resource Protection did not find any integrity violations.
    PS C:\Users\User> Dism /Image:C:\mount /Get-CurrentEdition
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.28000.1
    
    Current edition is:
    
    Current Edition : EnterpriseG
    
    The operation completed successfully.
    PS C:\Users\User> Dism /Image:C:\mount /Get-TargetEditions
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1150
    
    Image Version: 10.0.28000.1
    
    Editions that can be upgraded to:
    
    (The current edition cannot be upgraded to any target editions.)
    
    The operation completed successfully.
    PS C:\Users\User>
    [All Credit ]
    Bira
    Google AI
     
  18. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    works with construction too :)

    Code:
    C:\>dism /image:mount /apply-unattend:1.xml
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.2792
    
    Image Version: 10.0.28000.1
    
    Applying package servicing unattend
    [==========================100.0%==========================]
    The operation completed successfully.