[GUIDE] [DISCUSSION] Windows Editions Reconstructions

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

  1. Bira

    Bira MDL Senior Member

    Oct 4, 2017
    286
    164
    10
  2. TesterMachineOS

    TesterMachineOS MDL Addicted

    Apr 20, 2021
    571
    265
    30
    @Ace2
    Sorry for the bother, how do you remove edge in an edit rebuild?

    By modifying a file in sxs or using dism?

    Thanks in advance.;)
     
  3. Bira

    Bira MDL Senior Member

    Oct 4, 2017
    286
    164
    10
    EnterpriseGN on the way rs 17763
     
  4. Bira

    Bira MDL Senior Member

    Oct 4, 2017
    286
    164
    10
    Code:
     Building  Mounting install.wim
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
     Building  Start building EnterpriseGN
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.17763.1
    
    Removing package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17763.1
    Removing package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17763.1
    [==========================100.0%==========================]
    
    The operation completed successfully.
     Integrate  Set EnterpriseGN key
      Done.
    
    ------------------------------------------------------------
    Current Edition : EnterpriseGN  (GVLK).........................
    ------------------------------------------------------------
    
     Integrate  Try applying EnterpriseGN edition unattend
      Done.
    
     Finish  Optimize and Cleanup image
      Provisioned OPTIMIZED.
      Image has CLEANUP.
    
     Finish  Resetbase EnterpriseGN image
      Image Base Reseted.
    
     Finish  Cleanup unnecessary files
      Done.
    
     Finish  Save and Unmount EnterpriseGN image
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image File : D:\EntG\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
     Finish  Set WIM information
    
    Setting the NAME property of image 1 to "EnterpriseGN".
    Setting the DESCRIPTION property of image 1 to "EnterpriseGN x64".
    Setting the FLAGS property of image 1 to "EnterpriseGN".
    Setting the DISPLAYNAME property of image 1 to "Windows 10 EnterpriseGN".
    Setting the DISPLAYDESCRIPTION property of image 1 to "Windows 10 EnterpriseGN 10.0.17763.1 x64".
    
     Finish  Optimize EnterpriseGN image
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    "install.wim" original size: 3589026 KiB
    Using LZX compression with 4 threads
    Archiving file data: 7632 MiB of 7632 MiB (100%) done
    Calculating integrity table for WIM: 3504 MiB of 3504 MiB (100%) done
    "install.wim" optimized size: 3589023 KiB
    Space saved: 2 KiB
      Done.
    
    ========================================================================================================
    o--------------------------- EnterpriseGN has been successfully constructed ----------------------------o
    ========================================================================================================
    
    Pressione qualquer tecla para continuar. . .
    The credit is his, I just improved it, in my own way, also adjusting the lines with echo. It's just my leap and vision of what we can do

    [credits]
    @Javac75
     
  5. Bira

    Bira MDL Senior Member

    Oct 4, 2017
    286
    164
    10
    tell you how many things we can do in this edition 17763 pro if we have the packages
     

    Attached Files:

  6. Bira

    Bira MDL Senior Member

    Oct 4, 2017
    286
    164
    10
    Professional for core

    Code:
     Building  Mounting install.wim
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
     Building  Start building Core
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.17763.1
    
    Removing package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17763.1
    Removing package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17763.1
    [==========================100.0%==========================]
    
    The operation completed successfully.
    
     Integrate  Set Core key
      Done.
    
    ------------------------------------------------------------
    Current Edition : Core  (GVLK).........................
    ------------------------------------------------------------
    
     Integrate  Try applying Core edition unattend
      Done.
    
     Finish  Optimize and Cleanup image
      Provisioned OPTIMIZED.
      Image has CLEANUP.
    
     Finish  Resetbase Core image
      Image Base Reseted.
    
     Finish  Cleanup unnecessary files
      Done.
    
    Pressione qualquer tecla para continuar. . .
     
  7. Bira

    Bira MDL Senior Member

    Oct 4, 2017
    286
    164
    10
    Professional for CoreN and so on, script from our friend @Javac75 and universal, just make sure you have the package, the serial ready

    Code:
     Building  Mounting install.wim
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
     Building  Start building CoreN
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.1
    
    Image Version: 10.0.17763.1
    
    Removing package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17763.1
    Removing package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17763.1
    [==========================100.0%==========================]
    
    The operation completed successfully.
    
     Integrate  Set CoreN key
      Done.
    
    ------------------------------------------------------------
    Current Edition : CoreN  (GVLK).........................
    ------------------------------------------------------------
    
     Integrate  Try applying CoreN edition unattend
      Done.
    
     Finish  Optimize and Cleanup image
      Provisioned OPTIMIZED.
      Image has CLEANUP.
    
     Finish  Resetbase CoreN image
      Image Base Reseted.
    
     Finish  Cleanup unnecessary files
      Done.
    
    Pressione qualquer tecla para continuar. . .
     
  8. Bira

    Bira MDL Senior Member

    Oct 4, 2017
    286
    164
    10
    Does anyone know how to get, for example, from the enterprise image everything we need to make an .esd package, because there will be things that aren't available in uup, so we have to make the .esd packages having the packages, and the serial, we will be happy, I don't want anyone to Give us the packages, and how to make them using the original images, please, if anyone can share their knowledge with us
     
  9. TesterMachineOS

    TesterMachineOS MDL Addicted

    Apr 20, 2021
    571
    265
    30
    You are looking to extract packages from an ISO file, right?
     
  10. Bira

    Bira MDL Senior Member

    Oct 4, 2017
    286
    164
    10
    That's right and transform it into .esd
     
  11. Bira

    Bira MDL Senior Member

    Oct 4, 2017
    286
    164
    10
    I think your EnterpriseS package from RPA can do the same with Pro
     
  12. Bira

    Bira MDL Senior Member

    Oct 4, 2017
    286
    164
    10
    look
     
  13. Bira

    Bira MDL Senior Member

    Oct 4, 2017
    286
    164
    10
    @Javac75 How do I edit this block here to enter any edit because from what I see here it will skip EnterpriseS, right? ahh and along this line here how do I put the variable %editions% to coreN? It will be a variable that the person will change at the beginning of the script, which one do you want?

    Code:
    Microsoft-Windows-EditionSpecific-CoreN-Package
    
    because when I put the variable there is an error in PS

    Code:
    :CoreN_XML
    Function DelNudes([String] $xmlFile) {
      if (test-path -path "$xmlFile") {
        $xml = [XML](Get-Content "$xmlFile")
        #$xml = New-Object xml
        #$xml.Load($xmlFile)
        $xml.assembly.package.update | Where {$_.name.contains("Not-Supported-On-LTSB")} | Foreach-Object {[void]$_.ParentNode.RemoveChild($_)}
        $xml.assembly.package.update | Where {$_.name.contains("EditionSpecific-Professional-WOW64")} | Foreach-Object {[void]$_.ParentNode.RemoveChild($_)}
        $xml.Save("$xmlFile")
        Remove-Variable -name xml
        (Get-Content "$xmlFile") | % {
          $_ -replace '"Microsoft-Windows-EditionSpecific-Professional-Package"', '"Microsoft-Windows-EditionSpecific-CoreN-Package"' `
          -replace '"Windows Professional Edition"', '"Windows CoreN Edition"' `
          -replace '"Microsoft-Windows-ProfessionalEdition"', '"Microsoft-Windows-CoreNEdition"'
        } | Set-Content "$xmlFile"
      } else { Write-Host The $xmlFile NOT FOUND..!! -f Red }
    }
    #:CoreN_XML
    ::=========================================================================
     
  14. Bira

    Bira MDL Senior Member

    Oct 4, 2017
    286
    164
    10
    Cool, I ran it here on mine and I have it for W81, just to see. I believe I've already used this program, but it will make a .cab package and that? Is there a way to not do the .cab and just leave it extracted?

    Code:
    81;    Microsoft-Windows-Editions-Professional-Package
    82;    Microsoft-Windows-Editions-ProfessionalWMC-Package
    Hmm, I modify here in the assembled place set Path_Image=%SystemRoot%, it will make me a .cab file, if it was already done in .esd it wouldn't be interesting
     
  15. Javac75

    Javac75 MDL Member

    Mar 16, 2015
    178
    207
    10
    #538 Javac75, Oct 7, 2024
    Last edited: Oct 7, 2024
    Do it according to your wishes. However, I do plan to use several variables in this function for further development.
    For CoreN, I find it easier to use ProN as the host. If not, Woww... you are already flying high beyond the limits of my vision, just take it slow and success will be yours.
    You can add new variables as needed by using commas as separators.
    Ah, you must have understood this very well. I'm sorry if I misinterpreted your wishes.
    Example,
    Code:
    :CoreN_XML
    Function DelNudes([String] $xmlFile, [String] $strAtt, [String] $editions, etc....) {
    .
    .
    .
    }
    #:CoreN_XML
    And call it with AveYo's style,
    Code:
    Set "0=%~f0"& powershell -nop -c "iex ([io.file]::ReadAllText($env:0) -split '[:]EnterpriseG_XML')[1];DelNudes '%_cad%\%_edi%.mum' 'any attribute' 'any editions'"
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. TK50P

    TK50P MDL Novice

    May 29, 2023
    49
    9
    0
    (it's just a slang) I like your constructions, especially LTSC resonstruction and Enterprise G reconstructions.
     
  17. Bira

    Bira MDL Senior Member

    Oct 4, 2017
    286
    164
    10
    #540 Bira, Oct 7, 2024
    Last edited: Oct 7, 2024