[ARCHIVED] Windows Editions Reconstruction Project

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

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

    xinso MDL Guru

    Mar 5, 2009
    13,695
    14,422
    340
    #8421 xinso, Jun 17, 2022
    Last edited: Jun 18, 2022
  2. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,695
    14,422
    340
    #8422 xinso, Jun 17, 2022
    Last edited: Jun 17, 2022
    How about 17134.2208, possible?
     
  3. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    There is no Essential structure in sessions.xml,so how can you possibly get it?
     
  4. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,695
    14,422
    340
    #8424 xinso, Jun 17, 2022
    Last edited: Jun 17, 2022
    Maybe.
     
  5. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,695
    14,422
    340
    #8425 xinso, Jun 17, 2022
    Last edited: Jun 18, 2022
    Yes.
     
  6. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,695
    14,422
    340
  7. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,695
    14,422
    340
  8. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,695
    14,422
    340
  9. zhanglin

    zhanglin MDL Expert

    Jan 11, 2018
    1,014
    552
    60
    How to modify, can you give a hint?
     
  10. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,695
    14,422
    340
    #8430 xinso, Jun 18, 2022
    Last edited: Jun 18, 2022
    14393.0 is compatible with 15063.0 as I said and elaborated now and then in past years. i.e. Exactly the same way as how you make 15063.0.
     
  11. zhanglin

    zhanglin MDL Expert

    Jan 11, 2018
    1,014
    552
    60
    14393.0\16299\ 17134 Starter networking can be activated automatically, but 15063.0 Starter, I can't do it.
     
  12. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,695
    14,422
    340
    #8432 xinso, Jun 18, 2022
    Last edited: Jun 18, 2022
    Search my previous posts if there is any about it. I don't post twice any more.
     
  13. zhanglin

    zhanglin MDL Expert

    Jan 11, 2018
    1,014
    552
    60
    15063.0 Starter
    15063.PNG
     
  14. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,695
    14,422
    340
  15. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,695
    14,422
    340
    #8435 xinso, Jun 19, 2022
    Last edited: Jun 19, 2022
    What are you going to do today?

    Well, I am going to compare, 16299 and 17134.
     
  16. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    #8436 gailium119, Jun 19, 2022
    Last edited: Jun 19, 2022
    Tested 18362.2274 Unstaged Creation
    upload_2022-6-19_9-5-51.png
    upload_2022-6-19_9-5-39.png
     
  17. example12345678912345678

    Dec 29, 2019
    569
    320
    30
    I don't understand why I'm getting errors either way. I think it makes nonsense:
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <servicing>
            <package action="remove">
                <assemblyIdentity name="Microsoft-Windows-ProfessionalEdition" version="10.0.15063.0" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" />
            </package>
        </servicing>
    </unattend>
    
    Results in the following error:
    Code:
    [11096] ImageUnmarshallHandle: Reconstituting wim at C:\Users\Admin\Desktop\15063\install.wim.
    [11096] ImageUnmarshallHandle: Reconstituting wim at C:\Users\Admin\Desktop\15063\install.wim.
    2022-06-19 07:04:03, Error                 CBS    Failed to process single phase execution. [HRESULT = 0x800f0905 - CBS_E_NO_ACTIVE_EDITION]
    2022-06-19 07:04:03, Error                 CBS    Failed to perform operation.  [HRESULT = 0x800f0905 - CBS_E_NO_ACTIVE_EDITION]
    2022-06-19 07:04:03, Error                 DISM   DISM Package Manager: PID=8112 TID=1132 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f0905)
    2022-06-19 07:04:03, Error                 DISM   DISM Package Manager: PID=8112 TID=1132 Failed processing package changes - CDISMPackageManager::ProcessChanges(hr:0x800f0905)
    2022-06-19 07:04:03, Error                 DISM   DISM Package Manager: PID=8112 TID=1132 Failed to process package changes in unattend file. - CPackageManagerUnattendHandler::Internal_ProcessChanges(hr:0x800f0905)
    2022-06-19 07:04:03, Error                 DISM   DISM Package Manager: PID=8112 TID=1132 Failed to process package changes. - CPackageManagerUnattendHandler::Apply(hr:0x800f0905)
    2022-06-19 07:04:03, Error                 DISM   DISM Package Manager: PID=8112 TID=1132 Failed to Apply the unattend. - CDISMPackageManager::Apply(hr:0x800f0905)
    2022-06-19 07:04:03, Error                 DISM   DISM Unattend Manager: PID=8112 TID=1132 "Error applying unattend for provider: DISM Package Manager" - CUnattendManager::Apply(hr:0x800f0905)
    2022-06-19 07:04:03, Error                 DISM   DISM Unattend Manager: PID=8112 TID=1132 onecore\base\ntsetup\opktools\dism\providers\unattendprovider\dll\unattendmanager.cpp:731 - CUnattendManager::InternalExecuteCmdLine(hr:0x800f0905)
    2022-06-19 07:04:03, Error                 DISM   DISM Unattend Manager: PID=8112 TID=1132 onecore\base\ntsetup\opktools\dism\providers\unattendprovider\dll\unattendmanager.cpp:680 - CUnattendManager::ExecuteCmdLine(hr:0x800f0905)
    2022-06-19 07:04:03, Error                 DISM   DISM.EXE: DISM Unattend Manager processed the command line but failed. HRESULT=800F0905
    
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <servicing>
            <package action="remove">
                <assemblyIdentity name="Microsoft-Windows-ProfessionalEdition" version="10.0.15063.0" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" />
            </package>
            <package action="install">
                <assemblyIdentity name="Microsoft-Windows-EnterpriseNEvalEdition" version="10.0.15063.0" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" />
            </package>
        </servicing>
    </unattend>
    
    Results in the following error:
    Code:
    [11272] ImageUnmarshallHandle: Reconstituting wim at C:\Users\Admin\Desktop\15063\install.wim.
    [11272] ImageUnmarshallHandle: Reconstituting wim at C:\Users\Admin\Desktop\15063\install.wim.
    2022-06-19 07:03:37, Error                 CBS    Failed to process single phase execution. [HRESULT = 0x800f0904 - CBS_E_MORE_THAN_ONE_ACTIVE_EDITION]
    2022-06-19 07:03:37, Error                 CBS    Failed to perform operation.  [HRESULT = 0x800f0904 - CBS_E_MORE_THAN_ONE_ACTIVE_EDITION]
    2022-06-19 07:03:37, Error                 DISM   DISM Package Manager: PID=13004 TID=6004 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f0904)
    2022-06-19 07:03:37, Error                 DISM   DISM Package Manager: PID=13004 TID=6004 This image already has a Windows edition installed. There cannot be more than one installed Windows edition in an image. - GetCbsErrorMsg
    2022-06-19 07:03:37, Error                 DISM   DISM Package Manager: PID=13004 TID=6004 Failed processing package changes - CDISMPackageManager::ProcessChanges(hr:0x800f0904)
    2022-06-19 07:03:37, Error                 DISM   DISM Package Manager: PID=13004 TID=6004 This image already has a Windows edition installed. There cannot be more than one installed Windows edition in an image. - GetCbsErrorMsg
    2022-06-19 07:03:37, Error                 DISM   DISM Package Manager: PID=13004 TID=6004 Failed to process package changes in unattend file. - CPackageManagerUnattendHandler::Internal_ProcessChanges(hr:0x800f0904)
    2022-06-19 07:03:37, Error                 DISM   DISM Package Manager: PID=13004 TID=6004 Failed to process package changes. - CPackageManagerUnattendHandler::Apply(hr:0x800f0904)
    2022-06-19 07:03:37, Error                 DISM   DISM Package Manager: PID=13004 TID=6004 Failed to Apply the unattend. - CDISMPackageManager::Apply(hr:0x800f0904)
    2022-06-19 07:03:37, Error                 DISM   DISM Unattend Manager: PID=13004 TID=6004 "Error applying unattend for provider: DISM Package Manager" - CUnattendManager::Apply(hr:0x800f0904)
    2022-06-19 07:03:37, Error                 DISM   DISM Unattend Manager: PID=13004 TID=6004 onecore\base\ntsetup\opktools\dism\providers\unattendprovider\dll\unattendmanager.cpp:731 - CUnattendManager::InternalExecuteCmdLine(hr:0x800f0904)
    2022-06-19 07:03:37, Error                 DISM   DISM Unattend Manager: PID=13004 TID=6004 onecore\base\ntsetup\opktools\dism\providers\unattendprovider\dll\unattendmanager.cpp:680 - CUnattendManager::ExecuteCmdLine(hr:0x800f0904)
    
    @xinso
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,695
    14,422
    340
    #8438 xinso, Jun 19, 2022
    Last edited: Jun 19, 2022
    1. What's the default active edition is the image?
    2. To remove the default edition, you have to do in the xml

    option 1:
    1.xml
    install targetedition
    remove sourceedition
    remove upgradeedition

    option2:
    1.xml
    stage sourceedition
    add targetedition
    2.xml
    stage targetedition
    remoce sourceedition
    remove upgradeedition1
    remove upgradeedition2
    etc.

    If to remove upgrade edition, e.g. Education, you can remove directly because it is not active.

    [Remembe]
    In an image, no matter how many editions, only one active edition is allowed.

    (15063 is old, each edition is standalone, unlike latest Parent and Virtual. You need to know how many upgrade editions are in the image.)
     
  19. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,695
    14,422
    340
  20. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,695
    14,422
    340
    #8440 xinso, Jun 19, 2022
    Last edited: Jun 19, 2022
    Compare Features of 17134.1 Core and Starter

    [Same]
    Code:
    Microsoft-Windows-DirectPlay-OC-package~31bf3856ad364e35~amd64~~10.0.17134.1
    DirectPlay
    
    Microsoft-Windows-EnterpriseClientSync-Host-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    WorkFolders-Client
    
    Microsoft-Windows-HyperV-OptionalFeature-HypervisorPlatform-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    HypervisorPlatform
    
    Microsoft-Windows-Identity-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    Windows-Identity-Foundation
    
    Microsoft-Windows-IIS-WebServer-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    IIS-WebServerRole
    IIS-WebServer
    IIS-CommonHttpFeatures
    IIS-HttpErrors
    IIS-HttpRedirect
    IIS-ApplicationDevelopment
    IIS-NetFxExtensibility
    IIS-NetFxExtensibility45
    IIS-HealthAndDiagnostics
    IIS-HttpLogging
    IIS-LoggingLibraries
    IIS-RequestMonitor
    IIS-HttpTracing
    IIS-Security
    IIS-URLAuthorization
    IIS-RequestFiltering
    IIS-IPSecurity
    IIS-Performance
    IIS-HttpCompressionDynamic
    IIS-WebServerManagementTools
    IIS-ManagementScriptingTools
    IIS-IIS6ManagementCompatibility
    IIS-Metabase
    WAS-WindowsActivationService
    WAS-ProcessModel
    WAS-NetFxEnvironment
    WAS-ConfigurationAPI
    IIS-HostableWebCore
    
    Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~11.0.17134.1
    Internet-Explorer-Optional-amd64
    
    Microsoft-Windows-Legacy-Components-OC-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    LegacyComponents
    
    Microsoft-Windows-Lxss-Optional-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    Microsoft-Windows-Subsystem-Linux
    
    Microsoft-Windows-MediaPlayback-OC-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    MediaPlayback
    
    Microsoft-Windows-MediaPlayer-Payload-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    WindowsMediaPlayer
    
    MSMQ-Container
    MSMQ-Server
    MSMQ-Triggers
    MSMQ-Multicast
    MSMQ-DCOMProxy
    
    Microsoft-Windows-NetFx3-OC-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    NetFx3
    
    Microsoft-Windows-NetFx3-WCF-OC-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    WCF-HTTP-Activation
    WCF-NonHTTP-Activation
    
    Microsoft-Windows-NetFx4-US-OC-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    NetFx4-AdvSrvs
    NetFx4Extended-ASPNET45
    
    Microsoft-Windows-NetFx4-WCF-US-OC-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    WCF-Services45
    WCF-HTTP-Activation45
    WCF-TCP-Activation45
    WCF-Pipe-Activation45
    WCF-MSMQ-Activation45
    WCF-TCP-PortSharing45
    
    Microsoft-Windows-PowerShell-V2-Client-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    MicrosoftWindowsPowerShellV2Root
    MicrosoftWindowsPowerShellV2
    
    FaxServicesClientPackage
    
    Microsoft-Windows-Printing-PrintToPDFServices-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    Printing-PrintToPDFServices-Features
    
    Microsoft-Windows-Printing-XPSServices-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    Printing-XPSServices-Features
    
    Microsoft-Windows-ProjFS-OptionalFeature-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    Client-ProjFS
    
    Microsoft-Windows-RasRip-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    RasRip
    
    Microsoft-Windows-RDC-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    MSRDC-Infrastructure
    
    Microsoft-Windows-SearchEngine-Client-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    SearchEngine-Client-Package
    
    Microsoft-Windows-SimpleTCP-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    SimpleTCP
    
    Microsoft-Windows-SMB1-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    SMB1Protocol
    SMB1Protocol-Client
    SMB1Protocol-Server
    
    Microsoft-Windows-SNMP-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    SNMP
    
    Microsoft-Windows-Telnet-Client-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    TelnetClient
    
    Microsoft-Windows-TFTP-Client-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    TFTP
    
    Microsoft-Windows-WMI-SNMP-Provider-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    WMISnmpProvider
    
    Windows-Defender-Client-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    Windows-Defender-Default-Definitions
    
    [Core]
    Code:
    Microsoft-Windows-IIS-WebServer-AddOn-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    IIS-StaticContent
    IIS-DefaultDocument
    IIS-DirectoryBrowsing
    IIS-WebDAV
    IIS-WebSockets
    IIS-ApplicationInit
    IIS-ASPNET
    IIS-ASPNET45
    IIS-ASP
    IIS-CGI
    IIS-ISAPIExtensions
    IIS-ISAPIFilter
    IIS-ServerSideIncludes
    IIS-CustomLogging
    IIS-BasicAuthentication
    IIS-HttpCompressionStatic
    IIS-ManagementConsole
    IIS-ManagementService
    IIS-WMICompatibility
    IIS-LegacyScripts
    IIS-LegacySnapIn
    IIS-FTPServer
    IIS-FTPSvc
    IIS-FTPExtensibility
    
    Microsoft-Windows-SMB1Deprecation-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    SMB1Protocol-Deprecation
    
    Microsoft-Windows-WinOcr-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    TIFFIFilter
    
    Microsoft-Windows-MSMQ-Client-Home-Premium-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    MSMQ-Container
    MSMQ-Server
    MSMQ-Triggers
    MSMQ-Multicast
    MSMQ-DCOMProxy
    MSMQ-HTTP
    
    Microsoft-Windows-Printing-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    Printing-Foundation-Features
    Printing-Foundation-InternetPrinting-Client
    Printing-Foundation-LPDPrintService
    Printing-Foundation-LPRPortMonitor
    
    [Starter]
    Code:
    Microsoft-Windows-MSMQ-Client-Home-Basic-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    MSMQ-Container
    MSMQ-Server
    MSMQ-Triggers
    MSMQ-Multicast
    MSMQ-DCOMProxy
    
    Microsoft-Windows-Printing-Foundation-Starter-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    Printing-Foundation-Starter-Features
    
    So, to reconstruct Starter in Core structure,

    Step 3-1. remove 5 packages from Core mum:
    a. Microsoft-Windows-IIS-WebServer-AddOn-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    b. Microsoft-Windows-SMB1Deprecation-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    c. Microsoft-Windows-WinOcr-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    d. Microsoft-Windows-MSMQ-Client-Home-Premium-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    e. Microsoft-Windows-Printing-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17134.1

    Step 3-2.
    a. rename Microsoft-Windows-EditionSpecific-Core-Package as Microsoft-Windows-EditionSpecific-Starter-Package.
    b. replace with these Starter packages:
    Code:
    Microsoft-Windows-Branding-Starter-Package
    Microsoft-Windows-Editions-Starter-Package
    Microsoft-Windows-Help-ClientUA-Starter-Package
    Microsoft-Windows-IE-Troubleshooters-Package
    Microsoft-Windows-MSMQ-Client-Home-Basic-Package
    Microsoft-Windows-Printing-Foundation-Starter-Package
    Microsoft-Windows-Security-SPP-Component-SKU-Starter-Package
    Microsoft-Windows-Starter-Features-Package
    Networking-MPSSVC-Rules-StarterEdition-Package
    Server-Help-Package.ClientStarter