Windows Editions Reconstruction Project

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

  1. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,657
    13,674
    340
    #8541 xinso, Jun 22, 2022
    Last edited: Jun 22, 2022
  2. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,657
    13,674
    340
    #8542 xinso, Jun 22, 2022
    Last edited: Jun 22, 2022
    [How]
    Code:
    C:\windows\system32>dism /english /logpath:z:\1.log /image:K: /add-package:Z:\2\Windows10.0-KB5013945-x64
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.18362.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~18362.2274.1.5
    [==========================100.0%==========================]
    An error occurred - Package_for_RollupFix Error: 0x80070002
    
    Error: 2
    
    The system cannot find the file specified.
    
    The DISM log file can be found at z:\1.log
    
    [Solved]

    Microsoft-Windows-EditionPack-Cloud-Package~31bf3856ad364e35~amd64~~10.0.18362.2274.mum

    18362.1
    Code:
      <assemblyIdentity name="Microsoft-Windows-EditionPack-Cloud-Package" version="10.0.18362.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
    
    -->

    18362.2274
    Code:
      <assemblyIdentity name="Microsoft-Windows-EditionPack-Cloud-Package" version="10.0.18362.2274" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
    
    Updated, but won't get to OOBE.

    Won't get to OOBE? Sounds familiar....
    https://forums.mydigitallife.net/th...struction-project.80939/page-428#post-1741690
     
  3. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    769
    466
    30
    Normally the name of the file will be found in the log, in this case z:\1.log
    2274 doesn't have colude packages, you'll have to create them
     
  4. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    769
    466
    30
    Good news: Found ServerDatacenterAcor in 18362.1645 LCU
    And it's baseless.
     
  5. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,657
    13,674
    340
    Yes, it is the same issue. Unattend.xml can help bypass OOBE, though not solved.
     
  6. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    769
    466
    30
    It is most likely that oobe components and the apis they rerly on mismatch. Check Microsoft-windows-editionpack-cloud-package, find which of the child packages are in lcu and replace their version.
     
  7. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,657
    13,674
    340
  8. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    769
    466
    30
  9. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,657
    13,674
    340
    #8549 xinso, Jun 22, 2022
    Last edited: Jun 22, 2022
    Struggling to...

    [Outcome]
    It works for 18362.1 only.
     
  10. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,657
    13,674
    340
  11. example12345678912345678

    example12345678912345678 MDL Senior Member

    Dec 29, 2019
    498
    230
    10
    @gailium119
    Can you help me on this?
    I'm stuck here:
    Code:
    [1948] ImageUnmarshallHandle: Reconstituting wim at C:\Users\Admin\Desktop\14393\Reconstruction\install.wim.
    [1948] ImageUnmarshallHandle: Reconstituting wim at C:\Users\Admin\Desktop\14393\Reconstruction\install.wim.
    2022-06-22 19:48:42, Error                 CSI    0000000c (F) Component marked deleted and is no longer available for: [l:84 ml:140]'amd64_microsoft-windows-msac3enc_31bf3856ad364e35_10.0.14393.0_none_d253397492571c44'[gle=0x80004005]
    2022-06-22 19:48:42, Error                 CSI    0000000d (F) STATUS_NOT_SUPPORTED #494332# from CFileInstaller::DoComponentOperation(...)[gle=0xd00000bb]
    2022-06-22 19:48:42, Error                 CSI    0000000e (F) STATUS_NOT_SUPPORTED #494327# from CFileInstaller::ProcessComponentChange(...)[gle=0xd00000bb]
    2022-06-22 19:48:42, Error                 CSI    0000000f (F) STATUS_NOT_SUPPORTED #494326# from PrimitiveInstaller::CCoordinator::ProcessChange(Change 10.0.14393.193 -> 10.0.14393.0 for Microsoft-Windows-MSAC3ENC, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35})[gle=0xd00000bb]
    2022-06-22 19:48:42, Error                 CSI    00000011 (F) STATUS_NOT_SUPPORTED #467033# from CCSDirectTransaction::PerformChangeAnalysis(...)[gle=0xd00000bb]
    2022-06-22 19:48:42, Error                 CSI    00000012 (F) STATUS_NOT_SUPPORTED #467032# from CCSDirectTransaction::PrepareForCommit(...)[gle=0xd00000bb]
    2022-06-22 19:48:42, Error                 CSI    00000013 (F) STATUS_NOT_SUPPORTED #467031# from CCSDirectTransaction::ExamineTransaction(...)[gle=0xd00000bb]
    2022-06-22 19:48:42, Error                 CSI    00000014 (F) STATUS_NOT_SUPPORTED #467030# from CCSDirectTransaction_IRtlTransaction::ExamineTransaction(...)[gle=0xd00000bb]
    2022-06-22 19:48:42, Error                 CSI    00000015 (F) HRESULT_FROM_WIN32(50) #464633# from Windows::COM::CPendingTransaction::IStorePendingTransaction_Analyze(...)[gle=0x80070032]
    2022-06-22 19:48:42, Error                 CSI    00000016 (F) HRESULT_FROM_WIN32(50) #463987# from Windows::ServicingAPI::CCSITransaction::ICSITransaction2_Analyze(Flags = 0, riid = {7a8b78de-d107-46ca-812b-8e3f1c163270}, ppUnk = NULL, disp = 0)[gle=0x80070032]
    2022-06-22 19:48:42, Error                 CBS    Failed to process single phase execution. [HRESULT = 0x80070032 - ERROR_NOT_SUPPORTED]
    2022-06-22 19:48:42, Error                 CBS    Failed to perform operation.  [HRESULT = 0x80070032 - ERROR_NOT_SUPPORTED]
    2022-06-22 19:48:42, Error                 DISM   DISM Package Manager: PID=4040 TID=6840 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x80070032)
    2022-06-22 19:48:42, Error                 DISM   DISM Package Manager: PID=4040 TID=6840 Failed processing package changes - CDISMPackageManager::ProcessChanges(hr:0x80070032)
    2022-06-22 19:48:42, Error                 DISM   DISM Package Manager: PID=4040 TID=6840 Failed to process package changes in unattend file. - CPackageManagerUnattendHandler::Internal_ProcessChanges(hr:0x80070032)
    2022-06-22 19:48:42, Error                 DISM   DISM Package Manager: PID=4040 TID=6840 Failed to process package changes. - CPackageManagerUnattendHandler::Apply(hr:0x80070032)
    2022-06-22 19:48:42, Error                 DISM   DISM Package Manager: PID=4040 TID=6840 Failed to Apply the unattend. - CDISMPackageManager::Apply(hr:0x80070032)
    2022-06-22 19:48:42, Error                 DISM   DISM Unattend Manager: PID=4040 TID=6840 "Error applying unattend for provider: DISM Package Manager" - CUnattendManager::Apply(hr:0x80070032)
    2022-06-22 19:48:42, Error                 DISM   DISM Unattend Manager: PID=4040 TID=6840 onecore\base\ntsetup\opktools\dism\providers\unattendprovider\dll\unattendmanager.cpp:731 - CUnattendManager::InternalExecuteCmdLine(hr:0x80070032)
    2022-06-22 19:48:42, Error                 DISM   DISM Unattend Manager: PID=4040 TID=6840 onecore\base\ntsetup\opktools\dism\providers\unattendprovider\dll\unattendmanager.cpp:680 - CUnattendManager::ExecuteCmdLine(hr:0x80070032)
    2022-06-22 19:48:42, Error                 DISM   DISM.EXE: DISM Unattend Manager processed the command line but failed. HRESULT=80070032
    
    I want to remove unneeded MSAC3ENC package. Or simply fix this error. But no matter what entry I delete or file I add, I still get the same error.
    I'm trying to reconstruct ServerARM64 14393.0.
    I edited the manifest files aswell. But nothing is better than my previous tries.
    Also, previously I was getting the error all about branding and SPP packages. So, I had to reconstruct edition without these packages.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,657
    13,674
    340
  13. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,657
    13,674
    340
  14. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,657
    13,674
    340
    #8554 xinso, Jun 23, 2022
    Last edited: Jun 23, 2022
    Q: How to reconstruct with ValidationOS?
     
  15. Nack11

    Nack11 MDL Member

    Oct 30, 2021
    151
    21
    10
    hey, this topic is Windows reconstruction.
     
  16. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,657
    13,674
    340
    #8556 xinso, Jun 23, 2022
    Last edited: Jun 23, 2022
    Test reconstruct 18362.1 Windows 10 EnterpriseS amd64 en-US
    Code:
    
    Create 18362.1 Windows 10 Enterprise LTSC amd64 en-US
    
    Mount Professional image
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.746
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Convert Professional to EnterpriseS
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.746
    
    Image Version: 10.0.18362.1
    
    Removing package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.18362.1
    Removing package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.18362.1
    [==========================100.0%==========================]
    
    The operation completed successfully.
    
    Add en-US client language pack
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.746
    
    Image Version: 10.0.18362.1
    
    Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~10.0.18362.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Install EnterpriseS key
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.746
    
    Image Version: 10.0.18362.1
    
    Starting to install product key...
    Finished installing product key.
    
    The operation completed successfully.
    
    Current Edition : EnterpriseS (OEM)
    
    Remove Store
    
    Microsoft.BingWeather_4.25.20211.0_neutral_~_8wekyb3d8bbwe
    Microsoft.DesktopAppInstaller_2019.125.2243.0_neutral_~_8wekyb3d8bbwe
    Microsoft.GetHelp_10.1706.13331.0_neutral_~_8wekyb3d8bbwe
    Microsoft.Getstarted_7.3.20251.0_neutral_~_8wekyb3d8bbwe
    Microsoft.HEIFImageExtension_1.0.13472.0_x64__8wekyb3d8bbwe
    Microsoft.Messaging_2019.125.32.0_neutral_~_8wekyb3d8bbwe
    Microsoft.Microsoft3DViewer_5.1902.20012.0_neutral_~_8wekyb3d8bbwe
    Microsoft.MicrosoftOfficeHub_18.1901.1141.0_neutral_~_8wekyb3d8bbwe
    Microsoft.MicrosoftSolitaireCollection_4.2.11280.0_neutral_~_8wekyb3d8bbwe
    Microsoft.MicrosoftStickyNotes_3.1.53.0_neutral_~_8wekyb3d8bbwe
    Microsoft.MixedReality.Portal_2000.19010.1151.0_neutral_~_8wekyb3d8bbwe
    Microsoft.MSPaint_2019.213.1858.0_neutral_~_8wekyb3d8bbwe
    Microsoft.Office.OneNote_16001.11126.20076.0_neutral_~_8wekyb3d8bbwe
    Microsoft.OneConnect_5.1902.361.0_neutral_~_8wekyb3d8bbwe
    Microsoft.People_2019.123.2346.0_neutral_~_8wekyb3d8bbwe
    Microsoft.Print3D_3.3.311.0_neutral_~_8wekyb3d8bbwe
    Microsoft.ScreenSketch_2018.1214.231.0_neutral_~_8wekyb3d8bbwe
    Microsoft.SkypeApp_14.35.152.0_neutral_~_kzf8qxf38zg5c
    Microsoft.StorePurchaseApp_11811.1001.1813.0_neutral_~_8wekyb3d8bbwe
    Microsoft.VP9VideoExtensions_1.0.13333.0_x64__8wekyb3d8bbwe
    Microsoft.Wallet_2.4.18324.0_neutral_~_8wekyb3d8bbwe
    Microsoft.WebMediaExtensions_1.0.13321.0_neutral_~_8wekyb3d8bbwe
    Microsoft.WebpImageExtension_1.0.12821.0_x64__8wekyb3d8bbwe
    Microsoft.Windows.Photos_2019.18114.19418.0_neutral_~_8wekyb3d8bbwe
    Microsoft.WindowsAlarms_2019.105.629.0_neutral_~_8wekyb3d8bbwe
    Microsoft.WindowsCalculator_2019.105.612.0_neutral_~_8wekyb3d8bbwe
    Microsoft.WindowsCamera_2018.826.78.0_neutral_~_8wekyb3d8bbwe
    microsoft.windowscommunicationsapps_16005.11029.20108.0_neutral_~_8wekyb3d8bbwe
    Microsoft.WindowsFeedbackHub_2019.226.2324.0_neutral_~_8wekyb3d8bbwe
    Microsoft.WindowsMaps_2019.108.627.0_neutral_~_8wekyb3d8bbwe
    Microsoft.WindowsSoundRecorder_2019.105.618.0_neutral_~_8wekyb3d8bbwe
    Microsoft.WindowsStore_11811.1001.1813.0_neutral_~_8wekyb3d8bbwe
    Microsoft.Xbox.TCUI_1.23.28002.0_neutral_~_8wekyb3d8bbwe
    Microsoft.XboxApp_48.48.7001.0_neutral_~_8wekyb3d8bbwe
    Microsoft.XboxGameOverlay_1.32.17005.0_neutral_~_8wekyb3d8bbwe
    Microsoft.XboxGamingOverlay_2.26.14003.0_neutral_~_8wekyb3d8bbwe
    Microsoft.XboxIdentityProvider_12.50.6001.0_neutral_~_8wekyb3d8bbwe
    Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe
    Microsoft.YourPhone_2018.1128.231.0_neutral_~_8wekyb3d8bbwe
    Microsoft.ZuneMusic_2019.18111.17311.0_neutral_~_8wekyb3d8bbwe
    Microsoft.ZuneVideo_2019.18111.17311.0_neutral_~_8wekyb3d8bbwe
    
    Reset EnterpriseS base
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.746
    
    Image Version: 10.0.18362.1
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    Save and Unmount EnterpriseS image
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.746
    
    Image File : Z:\18362.1_Professional_to_EnterpriseS_amd64\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Optimize EnterpriseS image
    
    "install.wim" original size: 3456852 KiB
    Using LZX compression with 12 threads
    Archiving file data: 6216 MiB of 6216 MiB (100%) done
    "install.wim" optimized size: 2888484 KiB
    Space saved: 568368 KiB
    
    Setting the NAME property of image 1 to "Windows 10 Enterprise LTSC 2019".
    Setting the DESCRIPTION property of image 1 to "Windows 10 Enterprise LTSC 2019".
    Setting the FLAGS property of image 1 to "EnterpriseS".
    Setting the DISPLAYNAME property of image 1 to "Windows 10 Enterprise LTSC".
    Setting the DISPLAYDESCRIPTION property of image 1 to "Windows 10 Enterprise LTSC".
    
    18362.1 Windows 10 Enterprise LTSC amd64 en-US has been successfully created
    
    Press any key to continue . . .
    
    
     
  17. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,657
    13,674
    340
    Patiently wait for Masters' magic. Or just forget about it.
     
  18. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    769
    466
    30
    ValidationOS is not really an SKU since it doesn't have branding ID like ServerDataCenterNano
     
  19. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,657
    13,674
    340
    #8559 xinso, Jun 23, 2022
    Last edited: Jun 23, 2022
    Microsoft-Windows-WinVOSEdition~31bf3856ad364e35~amd64~~10.0.22621.1
    Microsoft-Windows-WinVOS-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~10.0.22621.1

    Could you make a boot tweak for this too?
     
  20. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    769
    466
    30
    Hard. As you see in sessions.xml, WinVOS is created in this method:
    1. Install servicingstack stuff first
    2. Install Edition and langpack
    3. Remove servicingstack stuff
    Unless I create a servicing stack package first, or you will get Advanced installer error when stagong