Windows Editions Reconstruction Project

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

  1. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,696
    13,693
    340
    #10441 xinso, Feb 2, 2023
    Last edited: Feb 2, 2023
    Thank you.
     
  2. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,414
    1,193
    60
    Code:
    Easyway:
    
    20348.1.210507-1500.FE_RELEASE_SERVERAZURESTACKHCI_RET_X64FRE_EN-US.ISO
    Mount C:\install.wim to C:\AZURE
    
    20348.1.210507-1500.FE_RELEASE_SERVERSTANDARD_OEMRET_X64FRE_EN-US.ISO
    Mount %USERPROFILE%\Desktop\install.wim to C:\STANDARD
    
    [Use PowerRun v1.6 / Command Prompt to run these commands]
    move C:\STANDARD\Windows\servicing\Packages\*.cat    C:\STANDARD\Windows\WinSxS\
    move C:\STANDARD\Windows\servicing\Packages\*.mum    C:\STANDARD\Windows\WinSxS\
    move C:\STANDARD\Windows\WinSxS\Manifests\*.manifest C:\STANDARD\Windows\WinSxS\
    
    Dism /Image:C:\AZURE /Apply-Unattend:C:\1.xml
    
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <servicing>
            <package action="install">
                <assemblyIdentity name="Microsoft-Windows-Server-DesktopUX-Package" version="10.0.20348.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
                <source location="C:\STANDARD\Windows\WinSxS\Microsoft-Windows-Server-DesktopUX-Package~31bf3856ad364e35~amd64~~10.0.20348.1.mum" />
            </package>
            <package action="install">
                <assemblyIdentity name="Microsoft-Windows-Server-DesktopUX-WOW64-Package" version="10.0.20348.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
                <source location="C:\STANDARD\Windows\WinSxS\Microsoft-Windows-Server-DesktopUX-WOW64-Package~31bf3856ad364e35~amd64~~10.0.20348.1.mum" />
            </package>
        </servicing>
    </unattend>
    
    
    Dism /Image:C:\AZURE /Add-Package /PackagePath:C:\Microsoft-Windows-Server-LanguagePack-Package_en-us-amd64-en-us.esd
     
  3. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,696
    13,693
    340
  4. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,696
    13,693
    340
  5. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,696
    13,693
    340
  6. JLBENEDICT

    JLBENEDICT MDL Junior Member

    Dec 5, 2013
    61
    38
    0
    For :
    Dism /Image:C:\AZURE /Apply-Unattend:C:\1.xml

    Assuming the file "1.xml" is created from the xml code below that line?
     
  7. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,414
    1,193
    60
    Yes
     
  8. Kristi Bektashi

    Kristi Bektashi MDL Novice

    Mar 11, 2019
    44
    7
    0
    UUPDump should have it
     
  9. Kristi Bektashi

    Kristi Bektashi MDL Novice

    Mar 11, 2019
    44
    7
    0
    @xinso Can you re-upload 20348.1_ServerDatacenter_to_Professional_amd64_WSReset.zip? The link isn't working anymore and I haven't managed to download it since my Internet broke for a while and Google shows nothing when I try to search for the file
     
  10. Kristi Bektashi

    Kristi Bektashi MDL Novice

    Mar 11, 2019
    44
    7
    0
    Also do you happen to have el-gr langpack?
     
  11. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,696
    13,693
    340
  12. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,696
    13,693
    340
  13. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,696
    13,693
    340
  14. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,696
    13,693
    340
    #10454 xinso, Feb 3, 2023
    Last edited: Feb 3, 2023
    Reserved
     
  15. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,696
    13,693
    340
  16. Kristi Bektashi

    Kristi Bektashi MDL Novice

    Mar 11, 2019
    44
    7
    0
    Code:
    ------------------------------------------------------------
    Prepare sources
    ------------------------------------------------------------
    
    Extract Microsoft-Windows-Client-Desktop-Required-Package.ESD
    
    Creating files: 19136 of 19136 (100%) done
    Extracting file data: 2583 MiB of 2583 MiB (100%) done
    Applying metadata to files: 19136 of 19136 (100%) done
    Done extracting files.
    
    Extract Microsoft-Windows-Client-Desktop-Required-WOW64-Package.ESD
    
    Creating files: 6234 of 6234 (100%) done
    Extracting file data: 606 MiB of 606 MiB (100%) done
    Applying metadata to files: 6234 of 6234 (100%) done
    Done extracting files.
    
    Extract Microsoft-Windows-Client-Features-Package.ESD
    
    Creating files: 7641 of 7641 (100%) done
    Extracting file data: 916 MiB of 916 MiB (100%) done
    Applying metadata to files: 7641 of 7641 (100%) done
    Done extracting files.
    
    Extract Microsoft-Windows-Client-Features-WOW64-Package.ESD
    
    Creating files: 3187 of 3187 (100%) done
    Extracting file data: 273 MiB of 273 MiB (100%) done
    Applying metadata to files: 3187 of 3187 (100%) done
    Done extracting files.
    
    Extract Microsoft-Windows-EditionPack-Professional-Package.ESD
    
    Creating files: 7372 of 7372 (100%) done
    Extracting file data: 697 MiB of 697 MiB (100%) done
    Applying metadata to files: 7372 of 7372 (100%) done
    Done extracting files.
    
    Extract Microsoft-Windows-EditionPack-Professional-WOW64-Package.ESD
    
    Extracting file data: 54 MiB of 54 MiB (100%) done
    Done extracting files.
    
    Extract Microsoft-Windows-EditionSpecific-Professional-Package.ESD
    
    Extracting file data: 91 MiB of 91 MiB (100%) done
    Done extracting files.
    
    Extract Microsoft-Windows-EditionSpecific-Professional-WOW64-Package.ESD
    
    Extracting file data: 760 KiB of 760 KiB (100%) done
    Done extracting files.
    
    Extract Microsoft-Windows-Foundation-Package.ESD
    
    Extracting file data: 27 KiB of 27 KiB (100%) done
    Done extracting files.
    
    Extract Microsoft-Windows-Not-Supported-On-LTSB-Package.ESD
    
    Extracting file data: 94 KiB of 94 KiB (100%) done
    Done extracting files.
    
    Extract Microsoft-Windows-Not-Supported-On-LTSB-WOW64-Package.ESD
    
    Extracting file data: 29 MiB of 29 MiB (100%) done
    Done extracting files.
    
    Extract Microsoft-Windows-RegulatedPackages-Package.ESD
    
    Extracting file data: 145 MiB of 145 MiB (100%) done
    Done extracting files.
    
    Extract Microsoft-Windows-RegulatedPackages-WOW64-Package.ESD
    
    Extracting file data: 63 MiB of 63 MiB (100%) done
    Done extracting files.
    
    Extract Microsoft-Windows-Required-ShellExperiences-Desktop-Package.ESD
    
    Extracting file data: 36 MiB of 36 MiB (100%) done
    Done extracting files.
    
    Extract Microsoft-Windows-Required-ShellExperiences-Desktop-WOW64-Package.ESD
    
    Extracting file data: 6387 KiB of 6387 KiB (100%) done
    Done extracting files.
    
    Extract rename_script.cmd
    
    [ERROR] "E:\20348\20348.1_ServerDatacenter_to_Professional_amd64_el-GR\files\sources\rename_script.cmd": Invalid magic characters in header
    ERROR: Exiting with error code 43:
           The file did not begin with the magic characters that identify a WIM file.
    
    Extract microsoft-windows-client-languagepack-package_en-us-amd64-en-us.esd
    
    Creating files: 14372 of 14372 (100%) done
    Extracting file data: 144 MiB of 144 MiB (100%) done
    Applying metadata to files: 14372 of 14372 (100%) done
    Done extracting files.
    
    ========================================================================================================
    Reconstruct 20348.1 Windows 10 Pro amd64 en-US
    ========================================================================================================
    
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    Mount ServerDatacenter image
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    Convert ServerDatacenter to Professional
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.20348.1
    
    Removing package Microsoft-Windows-ServerDatacenterEdition~31bf3856ad364e35~amd64~~10.0.20348.1
    Removing package Microsoft-Windows-ServerDatacenterEdition~31bf3856ad364e35~amd64~~10.0.20348.1
    [==========================100.0%==========================]
    
    The operation completed successfully.
    
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    Add en-US Client language
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.20348.1
    
    Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~10.0.20348.1
    [==========================100.0%==========================]
    An error occurred - Microsoft-Windows-Client-LanguagePack-Package Error: 0x80073701
    
    Error: 14081
    
    The referenced assembly could not be found.
    
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
    
    ------------------------------------------------------------
    Add VCLibs
    ------------------------------------------------------------
    
    Microsoft.UI.Xaml.x64.2.0.appx
    Microsoft.UI.Xaml.x64.2.1.appx
    Microsoft.VCLibs.x64.14.00.Desktop.appx
    
    ------------------------------------------------------------
    Set Professional key
    ------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.20348.1
    
    Starting to install product key...
    Finished installing product key.
    
    The operation completed successfully.
    
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    Current Edition : Professional (Retail)
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    
    ------------------------------------------------------------
    Reset Professional base
    ------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.20348.1
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    Save and Unmount Professional image
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image File : E:\20348\20348.1_ServerDatacenter_to_Professional_amd64_el-GR\1.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ------------------------------------------------------------
    Set WIM information
    ------------------------------------------------------------
    
    Setting the NAME property of image 1 to "Windows 10 Professional".
    Setting the DESCRIPTION property of image 1 to "Windows 10 Professional".
    Setting the FLAGS property of image 1 to "Professional".
    Setting the DISPLAYNAME property of image 1 to "Windows 10 Pro".
    Setting the DISPLAYDESCRIPTION property of image 1 to "20348.1 Windows 10 Pro".
    
    ------------------------------------------------------------
    Export Professional image to install.wim
    ------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ------------------------------------------------------------
    Delete temporary folder
    ------------------------------------------------------------
    
    =============================================================================================
    20348.1 Windows 10 Pro amd64 en-US has been successfully reconstructed on 3/2/2023
    =============================================================================================
    
    Mission took 0:15:34.17 (934.17s total)
    
    Press any key to continue . . .
     
  17. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,696
    13,693
    340
  18. JLBENEDICT

    JLBENEDICT MDL Junior Member

    Dec 5, 2013
    61
    38
    0
    #10460 JLBENEDICT, Feb 3, 2023
    Last edited: Feb 3, 2023
    Thanks so much!

    Are these typos also:

    [Use PowerRun v1.6 / Command Prompt to run these commands]
    move C:\STANDARD\Windows\servicing\Packages\*.cat C:\STANDARD\Windows\WinSxS\
    move C:\STANDARD\Windows\servicing\Packages\*.mum C:\STANDARD\Windows\WinSxS\
    move C:\STANDARD\Windows\WinSxS\Manifests\*.manifest C:\STANDARD\Windows\WinSxS\



    Should it be moving them to "C:\Azure\Windows\WinSxS\" ??
    (or whatever mount point being used for the Azure image)


    *edit*
    Maybe i'm not cracked up for this lol :D