[ARCHIVED] Windows Editions Reconstruction Project

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

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

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    Thanks.
    I have copied all info for sure.
    To make it clear, in my case 25398.1 Client works perfectly, but after updates WinX doesn't work
    Have the Microsoft-Windows-EnterpriseS-SPP-Components-Package~31bf3856ad364e35~amd64~~10.0.25398.709.mum as you recommended.

    When try to install it, DISM can't find files at amd64_microsoft-windows-s..-enterprise-license_31bf3856ad364e35_10.0.25398.709_none_9a9a65508d3a39ee
    Should I take the files from 26100 EnterpriseS-license 26100.1 (if I do reconstruction to LTSC?)
     
  2. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,698
    14,426
    340
    #15782 xinso, May 4, 2024
    Last edited: May 4, 2024
    Reserved
     
  3. RobrPatty

    RobrPatty MDL Expert

    Jul 23, 2009
    1,281
    593
    60
    How can I get my hands on "Microsoft-Client-License-Platform-Device-Licensing-Service-Package?"
     
  4. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,861
    1,521
    60
    SxSv1
     
  5. keqing

    keqing MDL Novice

    Feb 2, 2021
    28
    14
    0
    Thank you, xinso. I tried to perform the reconstruction operation using only 1. XML, but an error occurred. The error prompt is "This image already has a Windows edition installed. There cannot be more than one installed Windows edition in an image."How to solve this problem?
    Some error logs:
    Code:
    2024-05-05 09:22:01, Info                  CBS    More than one active editions will be installed on system [HRESULT = 0x800f0904 - CBS_E_MORE_THAN_ONE_ACTIVE_EDITION]
    2024-05-05 09:22:01, Info                  CBS    Failed to validate edition consistency [HRESULT = 0x800f0904 - CBS_E_MORE_THAN_ONE_ACTIVE_EDITION]
    2024-05-05 09:22:01, Info                  CBS    Failed to validate the plan. [HRESULT = 0x800f0904 - CBS_E_MORE_THAN_ONE_ACTIVE_EDITION]
    2024-05-05 09:22:01, Info                  CBS    Failed to plan execution. [HRESULT = 0x800f0904 - CBS_E_MORE_THAN_ONE_ACTIVE_EDITION]
    2024-05-05 09:22:01, Info                  CSI    00000008 Perf: LRU Cache Clear @0x1acc239c920
    2024-05-05 09:22:01, Error                 CBS    Failed to process single phase execution. [HRESULT = 0x800f0904 - CBS_E_MORE_THAN_ONE_ACTIVE_EDITION]
    2024-05-05 09:22:01, Info                  CBS    WER: Failure is not worth reporting [HRESULT = 0x800f0904 - CBS_E_MORE_THAN_ONE_ACTIVE_EDITION]
    2024-05-05 09:22:01, Info                  CBS    FinalCommitPackagesState: Started persisting state of packages
    2024-05-05 09:22:01, Info                  CBS    Continuing without transaction support.
    2024-05-05 09:22:01, Info                  CBS    Reporting package change for package: Microsoft-Windows-EnterpriseGEdition~31bf3856ad364e35~amd64~~10.0.26100.1, current: Absent, pending: Default, start: Absent, applicable: Installed, target: Installed, limit: Installed, status: 0x0, failure source: CBS Other, reboot required: False, client id: DISM Package Manager Provider, initiated offline: True, execution sequence: 15, first merged sequence: 15, reboot reason: REBOOT_NOT_REQUIRED, RM App session: 0, RM App name: N/A, FileName in use: N/A, release type: Product, OC operation: False, download source: 0, download time (secs): 0, download status: 0x0 (S_OK), Download Size: 0 Used lower priority: False Priority changes: 1
    2024-05-05 09:22:01, Info                  CBS    Reporting package change completion for package: Microsoft-Windows-EnterpriseGEdition~31bf3856ad364e35~amd64~~10.0.26100.1, current: Absent, original: Absent, target: Installed, status: 0x800f0904, failure source: CBS Other, failure details: "(null)", client id: DISM Package Manager Provider, initiated offline: True, execution sequence: 15, first merged sequence: 15, pending decision: InteractiveInstallFailed, primitive execution context: Interactive
    2024-05-05 09:22:01, Info                  CBS    Plan time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
    2024-05-05 09:22:01, Info                  CBS    Resolve time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
    2024-05-05 09:22:01, Info                  CBS    Stage time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
    2024-05-05 09:22:01, Info                  CBS    Execute time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
    2024-05-05 09:22:01, Info                  CBS    FinalCommitPackagesState: Completed persisting state of packages
    2024-05-05 09:22:01, Info                  DISM   DISM Package Manager: PID=3508 TID=940  Error in operation: (null) (CBS HRESULT=0x800f0904) - CCbsConUIHandler::Error
    2024-05-05 09:22:01, Info                  CBS    Exec: Current execution did not succeed but is not a valid auto repair scenario, skip auto repair.
    2024-05-05 09:22:01, Info                  CBS    Exec: Processing complete.  Session: 3508_12310859, Package: Microsoft-Windows-EnterpriseGEdition~31bf3856ad364e35~amd64~~10.0.26100.1, Identifier: Windows EnterpriseG Edition [HRESULT = 0x800f0904 - CBS_E_MORE_THAN_ONE_ACTIVE_EDITION]
    2024-05-05 09:22:01, Error                 CBS    Failed to perform operation.  [HRESULT = 0x800f0904 - CBS_E_MORE_THAN_ONE_ACTIVE_EDITION]
    2024-05-05 09:22:01, Error                 DISM   DISM Package Manager: PID=3508 TID=940 This image already has a Windows edition installed. There cannot be more than one installed Windows edition in an image. - GetCbsErrorMsg
    2024-05-05 09:22:01, Error                 DISM   DISM Package Manager: PID=3508 TID=940 Failed processing package changes with session options - CDISMPackageManager::Internal_ProcessChangesWithOptions(hr:0x800f0904)
    2024-05-05 09:22:01, Error                 DISM   DISM Package Manager: PID=3508 TID=940 Failed to process package changes in unattend file. - CPackageManagerUnattendHandler::Internal_ProcessChanges(hr:0x800f0904)
    2024-05-05 09:22:01, Error                 DISM   DISM Package Manager: PID=3508 TID=940 Failed to process all changes. - CPackageManagerUnattendHandler::Apply(hr:0x800f0904)
    2024-05-05 09:22:01, Error                 DISM   DISM Package Manager: PID=3508 TID=940 Failed to Apply the unattend. - CDISMPackageManager::Apply(hr:0x800f0904)
    2024-05-05 09:22:01, Error                 DISM   DISM Unattend Manager: PID=3508 TID=940 "Error applying unattend for provider: DISM Package Manager" - CUnattendManager::Apply(hr:0x800f0904)
    2024-05-05 09:22:01, Error                 DISM   DISM Unattend Manager: PID=3508 TID=940 onecore\base\ntsetup\opktools\dism\providers\unattendprovider\dll\unattendmanager.cpp:722 - CUnattendManager::InternalExecuteCmdLine(hr:0x800f0904)
    2024-05-05 09:22:01, Error                 DISM   DISM Unattend Manager: PID=3508 TID=940 onecore\base\ntsetup\opktools\dism\providers\unattendprovider\dll\unattendmanager.cpp:673 - CUnattendManager::ExecuteCmdLine(hr:0x800f0904)
     
  6. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,861
    1,521
    60
    #15786 Ace2, May 5, 2024
    Last edited: May 5, 2024
    TRY: use 1.xml then 2.xml
    Code:
    1.xml
    
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <servicing>
            <package action="stage">
                <assemblyIdentity name="Microsoft-Windows-EnterpriseGEdition" version="10.0.26100.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" />
                <source location="Microsoft-Windows-EnterpriseGEdition~31bf3856ad364e35~amd64~~10.0.26100.1.mum" />
            </package>
        </servicing>
    </unattend>
    
    2.xml
    
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <servicing>
            <package action="stage">
                <assemblyIdentity name="Microsoft-Windows-ProfessionalEdition" version="10.0.26100.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" />
            </package>
            <package action="install">
                <assemblyIdentity name="Microsoft-Windows-EnterpriseGEdition" version="10.0.26100.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" />
            </package>
            <package action="remove">
                <assemblyIdentity name="Microsoft-Windows-ProfessionalEdition" version="10.0.26100.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" />
            </package>
        </servicing>
    </unattend>
    Where is the location of Microsoft-Windows-EnterpriseGEdition~31bf3856ad364e35~amd64~~10.0.26100.1.mum ?
     
  7. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,698
    14,426
    340
  8. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,698
    14,426
    340
    #15790 xinso, May 5, 2024
    Last edited: May 5, 2024
    Thank you. Yes, I'd also checked Server counterpart, same build. Clear now.
     
  9. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,698
    14,426
    340
  10. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,698
    14,426
    340
    #15792 xinso, May 5, 2024
    Last edited: May 5, 2024
    To fetch source install.wim, no need to re-download all. Just

    Step 1. delete
    a. ServerDatacenterCore_xx-xx.esd
    b. Microsoft-Windows-LanguageFeatures*.cab.
    c. Microsoft-Windows-Server-LanguagePack-Package-amd64-xx-xx.esd.

    Step 2. change target language in uup_download_windows.cmd. e.g. pack=xx-xx.
     
  11. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,861
    1,521
    60
  12. adric

    adric MDL Expert

    Jul 30, 2009
    1,385
    1,498
    60
    Installed 25398.1 Reconstructed ioT Enterprise LTSC which applied ok, but I see some issues with it on first look.
    I was under the impression later IoT Enterprise versions could be activated with KMS_VL_ALL, but on this install it doesn't
    activate and is still in notification mode after trying Activate command.

    The other thing I noticed is that Windows Defender displays in German. Everything is in English except keyboard.
    I'd like to solve these problems before looking further. Thanks for any tips...
     
  13. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,861
    1,521
    60
    Code:
    Download:
    github.com/massgravel/Microsoft-Activation-Scripts/archive/refs/heads/master.zip
    
    Run:
    MAS_AIO-CRC32_E6A92062.cmd\[6] Troubleshoot
    
    Check all language packs that are installed, remove and replace the ones which are not your language.
    
    Dism /Online /Get-Packages
     
  14. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,343
    1,047
    90
    why not just remove the lang pack and install another one

    u recreating the os from zero unstaged each time :X
     
  15. adric

    adric MDL Expert

    Jul 30, 2009
    1,385
    1,498
    60
    #15798 adric, May 5, 2024
    Last edited: May 5, 2024
    All language components listed in packages are en-US. I took a look at Time & Language > Language & Region > Preferred Languages and interestingly, 2 Languages were listed there with German on top. I assume this is because I use a German Keyboard for input.

    Anyway, reversing the order with English on top makes Defender display in English. Note: All MS store apps will appear in the 1st supported language in this list.

    I still don't know why 25398.1 is not activating
    Maybe someone can make some sense from the attached Activate_Debug.log
    Code:
    ************************************************************
    ***                   Windows Status                     ***
    ************************************************************
    
    Name: Windows(R), IoTEnterpriseS edition
    Description: Windows(R) Operating System, OEM_COA_NSLP channel
    Partial Product Key: YY74H
    License Status: Notification
    Notification Reason: 0xC004F034.
    
    
    Windows(R), IoTEnterpriseS edition:
        Windows is in Notification mode
    
    ____________________________________________________________
    
    Press any key to exit.
    
     

    Attached Files:

  16. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,861
    1,521
    60
    #15799 Ace2, May 5, 2024
    Last edited: May 5, 2024
    Look's like you have used a faulty ltsc package, i had this with one of the packs i downloaded from this thread, i could not activate no matter what i did, swapping out pkeyconfig & skus folders for untouched ones didn't help either, it was that bad slmgr -ipk could not install any key i tried.
     
  17. adric

    adric MDL Expert

    Jul 30, 2009
    1,385
    1,498
    60
    what's the sha1 hash for 25398.1_ServerDatacenterCor_to_Client_amd64.7z that you used?
    The one I have is 862447dbf101d6bb4d40beec3f812ff4f6d2230c