[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
    #4001 pp03, Dec 30, 2025
    Last edited: Dec 30, 2025
    almost success with constructing 22621 from base.wim (i had "error 5 access denied" error earlier, but i dealt with it)
    Code:
    C:\22621>dism /logpath:logs\1.log /image:mount /apply-unattend:1.xml   || exit /b 1
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.5074
    
    Image Version: 10.0.22621.1
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\22621>dism /logpath:logs\2.log /image:mount /add-package /packagepath:lp   || exit /b 1
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.5074
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~pl-PL~10.0.22621.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\22621>dism /logpath:logs\4-currentedition.log /image:mount /get-currentedition   || exit /b 1
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.5074
    
    Image Version: 10.0.22621.1
    
    
    Error: 87
    
    The get-currentedition option is unknown.
    in log:
    Info CBS Failed to find a matching version for servicing stack: C:\22621\mount\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.22621.1_none_6af52cfcbb08aaa3\ [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
     
  2. xinso

    xinso MDL Guru

    Mar 5, 2009
    15,089
    15,292
    340
    Code:
    Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.22621.1_none_6af52cfcbb08aaa3
    
     
  3. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    folder exists in winsxs
     
  4. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    contents of WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.22621.1_none_6af52cfcbb08aaa3 folder same as in official 22621.1 esd
     
  5. xinso

    xinso MDL Guru

    Mar 5, 2009
    15,089
    15,292
    340
    #4007 xinso, Dec 31, 2025
    Last edited: Dec 31, 2025
    Microsoft uses it to make Windows.
     
  6. xinso

    xinso MDL Guru

    Mar 5, 2009
    15,089
    15,292
    340
  7. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
  8. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
  9. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    #4011 pp03, Dec 31, 2025
    Last edited: Dec 31, 2025
    so once again error 87 option is unknown

    clock is ticking - i would like to achieve it this year ;)
    Code:
    C:\22621>dism /logpath:logs\mount.log /mount-wim /wimfile:install.wim /index:1 /mountdir:mount   || exit /b 1
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.5074
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\22621>call build.cmd   || exit /b 1
    
    C:\22621>mkdir logs  1>NUL 2>&1
    
    C:\22621>dism /logpath:logs\1.log /image:mount /apply-unattend:1.xml   || exit /b 1
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.5074
    
    Image Version: 10.0.22621.1
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\22621>dism /logpath:logs\2.log /image:mount /add-package /packagepath:lp   || exit /b 1
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.5074
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~pl-PL~10.0.22621.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\22621>copy mount\Windows\servicing\Editions\EnterpriseEvalEdition.xml mount\Windows\EnterpriseEval.xml
            1 file(s) copied.
    
    C:\22621>dism /logpath:logs\3.log /image:mount /apply-unattend:mount\Windows\EnterpriseEval.xml   || exit /b 1
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.5074
    
    Image Version: 10.0.22621.1
    
    The operation completed successfully.
    
    C:\22621>dism /logpath:logs\4-currentedition.log /image:mount /get-currentedition   || exit /b 1
    
    Deployment Image Servicing and Management tool
    Version: 10.0.26100.5074
    
    Image Version: 10.0.22621.1
    
    
    Error: 87
    
    The get-currentedition option is unknown.
     
  10. TK50P

    TK50P MDL Member

    May 29, 2023
    191
    95
    10
    Windows 10 EnterpriseG 20H1 failed to apply LCU
    Code:
    2025-12-31 14:35:19, Error                 CSI    0000230e@2025/12/31:12:35:19.865 (F) onecore\base\wcp\sil\ntsystem.cpp(3044): Error STATUS_DELETE_PENDING originated in function Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile expression: (null)
    [gle=0x80004005]
    2025-12-31 14:35:19, Error                 CSI    0000230f (F) STATUS_DELETE_PENDING #22004387# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile(flags = (AllowSharingViolation), handle = {provider=NULL, handle=0, name= ("null")}, da = (DELETE|SYNCHRONIZE|FILE_READ_ATTRIBUTES|FILE_WRITE_ATTRIBUTES), oa = @0x22bb8a0->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[148]'\??\C:\W10UImount_8668\Windows\WinSxS\Temp\InFlight\ad4020ec517adc018a950100a020c42d\007923ec517adc01bb950100a020c42d_cbswindowsback..lpageimage.png'; a:(OBJ_CASE_INSENS[gle=0xd0000056]
    2025-12-31 14:35:19, Error                 CSI    ITIVE)}, iosb = @0x22bbaf0, as = (null), fa = (FILE_ATTRIBUTE_NORMAL), sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), cd = FILE_OPEN, co = (FILE_NON_DIRECTORY_FILE|FILE_SYNCHRONOUS_IO_NONALERT|0x00004000), eab = NULL, eal = 0, disp = Invalid)
    [gle=0xd0000056]
    2025-12-31 14:35:19, Error                 CSI    00002310 (F) STATUS_DELETE_PENDING #22004383# from Windows::Rtl::SystemImplementation::CDirectory::Internal_DeleteRecursively(...)[gle=0xd0000056]
    2025-12-31 14:35:19, Error                 CSI    00002311 (F) 800f0984 [Error,Facility=(000f),Code=2436 (0x0984)] #21933830# from Windows::COM::CComponentStore::InternalTransact(...)[gle=0x800f0984]
    2025-12-31 14:35:19, Error                 CSI    00002312 (F) 800f0984 [Error,Facility=(000f),Code=2436 (0x0984)] #21907439# from Windows::ServicingAPI::CCSITransaction::ICSITransaction2_AddFiles(Flags = 16, a = @0x1e9d5570, fn = @0x1e9d5d70, fp = @0x1e9d6570, disp = 0, op = 0)[gle=0x800f0984]
    2025-12-31 14:35:19, Info                  CBS    Failed to add to transaction package: Microsoft-Windows-Printing-PMCPPC-FoD-Package~31bf3856ad364e35~amd64~en-US~10.0.19041.1 [HRESULT = 0x800f0984 - PSFX_E_MATCHING_BINARY_MISSING]
    2025-12-31 14:35:19, Error                 CBS    Failed to stage execution package: Microsoft-Windows-Printing-PMCPPC-FoD-Package~31bf3856ad364e35~amd64~en-US~10.0.19041.1 [HRESULT = 0x800f0984 - PSFX_E_MATCHING_BINARY_MISSING]
    2025-12-31 14:35:19, Info                  CBS    CommitPackagesState: Started persisting state of packages
    2025-12-31 14:35:19, Info                  CBS    CommitPackagesState: Completed persisting state of packages
    2025-12-31 14:35:19, Info                  CSI    00002313@2025/12/31:12:35:19.960 CSI Transaction @0x70f0410 destroyed
    2025-12-31 14:35:20, Info                  CBS    Perf: Stage chain complete.
    2025-12-31 14:35:20, Info                  CBS    Failed to stage execution chain. [HRESULT = 0x800f0984 - PSFX_E_MATCHING_BINARY_MISSING]
    2025-12-31 14:35:20, Error                 CBS    Failed to process single phase execution. [HRESULT = 0x800f0984 - PSFX_E_MATCHING_BINARY_MISSING]
    
     
  11. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    #4013 pp03, Dec 31, 2025
    Last edited: Dec 31, 2025
    try to reconstruct with bedi
     
  12. xinso

    xinso MDL Guru

    Mar 5, 2009
    15,089
    15,292
    340
    Code:
    C:\windows\system32>dism /english /image:K: /get-currentedition
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22621.1
    
    Current edition is:
    
    Current Edition : EnterpriseEval
    
    The operation completed successfully.
    
    C:\windows\system32>
    
     
  13. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    how? :) i can't figure it out. searching at old thread
     
  14. xinso

    xinso MDL Guru

    Mar 5, 2009
    15,089
    15,292
    340
    #4016 xinso, Dec 31, 2025
    Last edited: Dec 31, 2025
    How can I know?

    Check:
    Microsoft-Windows-Branding-EnterpriseEval-Package~31bf3856ad364e35~amd64~~10.0.22621.1.mum

    Microsoft-Windows-Editions-EnterpriseEval-Package~31bf3856ad364e35~amd64~~10.0.22621.1.mum
    Microsoft-Windows-Editions-EnterpriseEval-Package~31bf3856ad364e35~amd64~en-US~10.0.22621.1.mum

    Microsoft-Windows-EnterpriseEval-SPP-Components-Package~31bf3856ad364e35~amd64~~10.0.22621.1.mum

    C:\Windows\servicing\Editions
    Code:
    EditionMappings.xml
    EditionMatrix.xml
    
    EnterpriseEvalEdition.xml
    
    UpgradeMatrix.xml
    WimBootConfig.ini
    
     
  15. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    found this:
    22621.1
    Servicing Stack registry entry is needed
     
  16. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    i'll check that, thank you :)
     
  17. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    all files are present
     
  18. pp03

    pp03 MDL Expert

    Apr 12, 2014
    1,482
    524
    60
    #4020 pp03, Dec 31, 2025
    Last edited: Dec 31, 2025
    you do it on 19041, i do it on 26100 - does it matter?