[ARCHIVED] Windows Editions Reconstruction Project

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

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

    SunLion MDL Addicted

    May 11, 2011
    687
    1,709
    30
    Hi @xinso

    Please can you show how to list all capabilities from offline image?
     
  2. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,163
    5,978
    150
    i like to save things for some cases,
    hope it help ...
    Code:
    DISM /Online /Get-Capabilities
    DISM /Online /Get-CapabilityInfo /CapabilityName:Language.Basic~~~en-US~0.0.1.0
    Dism /Online /Remove-Capability /CapabilityName:Language.Basic~~~en-US~0.0.1.0
    
    DISM /Image:"MOUNT_FOLDER" /Get-Capabilities
    DISM /Image:"MOUNT_FOLDER" /Get-CapabilityInfo /CapabilityName:Language.Basic~~~en-US~0.0.1.0
    Dism /Image:"MOUNT_FOLDER" /Remove-Capability /CapabilityName:Language.Basic~~~en-US~0.0.1.0
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. SunLion

    SunLion MDL Addicted

    May 11, 2011
    687
    1,709
    30
    OK
    Thank you for your help.

    So the command "DISM /Image:"MOUNT_FOLDER" /Get-Capabilities" will list all the capabilities of the image?
     
  4. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,163
    5,978
    150
    I'm sure about 99%, it will work
    I think i have the equivalent PowerShell command if you need too
    i write it down, in very nice document, to save me from reading over & over
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,163
    5,978
    150
    the Equ. PowerShell commands Are:
    Code:
    Get-WindowsCapability
    Add-WindowsCapability
    Remove-WindowsCapability
    
    From MS help

    upload_2023-3-12_19-31-21.png

    upload_2023-3-12_19-31-30.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. SunLion

    SunLion MDL Addicted

    May 11, 2011
    687
    1,709
    30
    @Dark Dinosaur

    Thank you very much for your help. I just tested it and it works great!!
    Saved my day!

    I'm also making a roundup of important scripts and putting them in an easily accessible place, like you.

    Hugs
     
  7. tapangbedaru

    tapangbedaru MDL Junior Member

    Mar 6, 2022
    72
    33
    0
    Mr. @xinso, you mentioned many times about PSFex17, is it a tool?
    maybe like Mr. @abbodi1406's PSFX Repack or a term that I just don't understand? Please explain.
     
  8. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,438
    340
  9. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,438
    340
    #10789 xinso, Mar 13, 2023
    Last edited: Mar 13, 2023
    Test manual Construction of 23403.1001 Windows 11 Enterprise arm64 en-US (with Wincore image 471 MB)
    Code:
    
    C:\windows\system32>dism /english /logpath:z:\1.log /image:K: /apply-unattend:Z:\WinSxS\1.xml
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.23403.1001
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\windows\system32>dism /English /image:K: /add-package:Z:\2
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.23403.1001
    
    Processing 1 of 6 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~arm64~en-US~10.0.23403.1001
    [==========================100.0%==========================]
    Processing 2 of 6 - Adding package Microsoft-Windows-LanguageFeatures-Basic-en-us-Package~31bf3856ad364e35~arm64~~10.0.23403.1001
    [==========================100.0%==========================]
    Processing 3 of 6 - Adding package Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package~31bf3856ad364e35~arm64~~10.0.23403.1001
    [==========================100.0%==========================]
    Processing 4 of 6 - Adding package Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~arm64~~10.0.23403.1001
    [==========================100.0%==========================]
    Processing 5 of 6 - Adding package Microsoft-Windows-LanguageFeatures-Speech-en-us-Package~31bf3856ad364e35~arm64~~10.0.23403.1001
    [==========================100.0%==========================]
    Processing 6 of 6 - Adding package Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package~31bf3856ad364e35~arm64~~10.0.23403.1001
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\windows\system32>dism /english /image:K: /set-skuintldefaults:en-us
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.23403.1001
    
    
    Set SKU default settings for: en-us
    The operation completed successfully.
    
    C:\windows\system32>dism /English /image:K: /get-currentedition
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.23403.1001
    
    Current edition is:
    
    Current Edition : Enterprise
    
    The operation completed successfully.
    
    C:\windows\system32>
    
    
     
  10. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,438
    340
    #10790 xinso, Mar 13, 2023
    Last edited: Mar 13, 2023
    Q: You said that 23403.1001 is based on 22623.XXXX. Why 22621.1 and 23403.1001 Wincore sizes are different?
    A:
    I made 22621.1 firstly when I did not get the hang of it. So it's not as clean as 23403.1001.
    And, even though they are in same structure, it's impossible to be exactly same size, because 23403.1001 is 22623.XXXX.

    22621.1
    22622.X (by SV2Moment1 Enablement)
    22623.X (by SV2Moment2 Enablement)
    --->
    22624.X (by SV2Moment3 Enablement)
    &
    23403.1001 (embedded with SV2Moment2 package)

    Alike
    19041.1
    19042.X
    19043.X
    --->
    19044.X (by 21H2 Enablement)
    &
    19100.1001 (embedded with 20H2 package)
     
  11. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,438
    340
    #10791 xinso, Mar 13, 2023
    Last edited: Mar 13, 2023
    Reconstruction, very convenient. But not flexible.
    Construction, very flexible. But not easy to make arm64 base image.

    Wrecore and Wincore, working alternatives.
    But, if Unstage has issues, Wrecore has the same issues.

    Unstage, about 15 MB. (DOS)
    Wrecore, about 60 MB. (Windows)
    Wincore, about 450 MB. (Windows)

    Script? Same size:
    Less base; More source. Slower. More possibility of Customization.
    More base; Less source. Faster. Less possibility of Customization.

    Anyway, Unstage is the best: From 0 to 1.
     
  12. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,438
    340
    #10792 xinso, Mar 13, 2023
    Last edited: Mar 13, 2023
    Q: When Unstage has problem, Wrecore, can construct without errors, but is having the same problem. Why?

    22621.1 & 23403.1001 so far. NTUser registry cannot close. Not only once, but for all NTUser realated instances.
     
  13. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,438
    340
    #10793 xinso, Mar 13, 2023
    Last edited: Mar 14, 2023
    Test manual Construction of 22621.1 Windows 11 Enterprise amd64 en-US (with Winvos image 71 MB)
    Code:
    
    C:\windows\system32>dism /english /logpath:z:\1.log /image:K: /apply-unattend:Z:\WinSxS\1.xml
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22621.1
    
    [==========================100.0%==========================]
    
    Error: 14099
    
    An advanced installer failed during setup or servicing.
    
    The DISM log file can be found at z:\1.log
    
    C:\windows\system32>
    
    
     
  14. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,438
    340
    #10794 xinso, Mar 14, 2023
    Last edited: Mar 14, 2023
    Test manual Reconstruction of 22621.1 Windows 11 Enterprise amd64 en-US (with WinVOS-Install image 180 MB)
    Code:
    
    C:\windows\system32>dism /english /logpath:z:\1.log /image:K: /apply-unattend:Z:\WinSxS\1.xml
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22621.1
    
    Removing package Microsoft-Windows-WinVOSEdition~31bf3856ad364e35~amd64~~10.0.22621.1
    Removing package Microsoft-Windows-WinVOSEdition~31bf3856ad364e35~amd64~~10.0.22621.1
    [==========================100.0%==========================]
    
    
    Error: 14099
    
    An advanced installer failed during setup or servicing.
    
    The DISM log file can be found at z:\1.log
    
    C:\windows\system32>
    
     
  15. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,438
    340
    #10795 xinso, Mar 14, 2023
    Last edited: Mar 14, 2023
    Test manual Reconstruction of 22621.1 Windows 11 Enterprise amd64 en-US (with WinVOS-Boot image 180 MB)
    Code:
    
    C:\windows\system32>dism /english /logpath:z:\1.log /image:K: /apply-unattend:Z:\WinSxS\1.xml
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22621.1
    
    Removing package Microsoft-Windows-WinVOSEdition~31bf3856ad364e35~amd64~~10.0.22621.1
    Removing package Microsoft-Windows-WinVOSEdition~31bf3856ad364e35~amd64~~10.0.22621.1
    [==========================100.0%==========================]
    
    
    Error: 14099
    
    An advanced installer failed during setup or servicing.
    
    The DISM log file can be found at z:\1.log
    
    C:\windows\system32>
    
    
    If such an issue is not solved, the outcome will be:
    Code:
    
    C:\windows\system32>dism /english /logpath:z:\1.log /image:K: /apply-unattend:Z:\WinSxS\3.xml
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22621.1
    
    [==========================100.0%==========================]
    
    Error: 0x800f0830
    
    The specified image is no longer serviceable and may be corrupted.
    Discard the modified image and start again.
    
    The DISM log file can be found at z:\1.log
    
    C:\windows\system32>
    
    
     
  16. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,438
    340
    #10796 xinso, Mar 14, 2023
    Last edited: Mar 14, 2023
    Test manual Construction of 22624.1391 Windows 11 Enterprise amd64 en-US (with Unstage image 11 MB)
    Code:
    
    C:\windows\system32>dism /english /logpath:z:\1.log /image:K: /apply-unattend:Z:\WinSxS\1.xml
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22621.1
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\windows\system32>dism /English /image:K: /add-package:Z:\2
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 6 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~10.0.22621.1
    [==========================100.0%==========================]
    Processing 2 of 6 - Adding package Microsoft-Windows-LanguageFeatures-Basic-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    [==========================100.0%==========================]
    Processing 3 of 6 - Adding package Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    [==========================100.0%==========================]
    Processing 4 of 6 - Adding package Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    [==========================100.0%==========================]
    Processing 5 of 6 - Adding package Microsoft-Windows-LanguageFeatures-Speech-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    [==========================100.0%==========================]
    Processing 6 of 6 - Adding package Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\windows\system32>dism /english /image:K: /set-skuintldefaults:en-us
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22621.1
    
    
    Set SKU default settings for: en-us
    The operation completed successfully.
    
    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 : Enterprise
    
    The operation completed successfully.
    
    C:\windows\system32>dism /English /image:K: /add-package:Z:\3
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22621.1
    
    Processing 1 of 5 - Adding package Package_for_ServicingStack_1344~31bf3856ad364e35~amd64~~22621.1344.1.2
    [==========================100.0%==========================]
    Processing 2 of 5 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9139.2
    [==========================100.0%==========================]
    Processing 3 of 5 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~22621.1391.1.1
    [==========================100.0%==========================]
    Processing 4 of 5 - Adding package Package_for_KB5023527~31bf3856ad364e35~amd64~~22621.1340.1.0
    [==========================100.0%==========================]
    Processing 5 of 5 - Adding package Package_for_KB5023595~31bf3856ad364e35~amd64~~22621.1390.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\windows\system32>dism /English /image:K: /get-currentedition
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22624.1391
    
    Current edition is:
    
    Current Edition : Enterprise
    
    The operation completed successfully.
    
    C:\windows\system32>
    
    
     
  17. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,438
    340
    #10797 xinso, Mar 14, 2023
    Last edited: Mar 14, 2023
    [About amd64 Unstage base image of 22621.1 and 23403.1001]

    22621.1: If all 22621.1 components, Access is denied.
    23403.1001: If all 23403.1001 components, Access is denied.
    --->
    22621.1 needs 23403.1000 CbsProvider, OSProvider, and Servicing Stack.
    23403.1000 needs 22621.1 CbsProvider, OSProvider, and Servicing Stack.


    PS:
    The platform is 19044 amd64.
     
  18. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,438
    340
  19. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,438
    340
    #10799 xinso, Mar 14, 2023
    Last edited: Mar 14, 2023
    Q: What are installed when you run wsreset -i on constructed 23403.1001 barebone system?
    A:
    Code:
    Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe
    Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x86__8wekyb3d8bbwe
    Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe
    Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x86__8wekyb3d8bbwe
    
    Microsoft.StorePurchaseApp_12301.1401.7.0_neutral_split.scale-100_8wekyb3d8bbwe
    Microsoft.StorePurchaseApp_12301.1401.7.0_neutral_~_8wekyb3d8bbwe
    Microsoft.StorePurchaseApp_12301.1401.7.0_x64__8wekyb3d8bbwe
    
    Microsoft.UI.Xaml.2.7_7.2208.15002.0_x64__8wekyb3d8bbwe
    Microsoft.UI.Xaml.2.7_7.2208.15002.0_x86__8wekyb3d8bbwe
    
    Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe
    Microsoft.VCLibs.140.00_14.0.30704.0_x86__8wekyb3d8bbwe
    
    Microsoft.WindowsStore_22301.1401.6.0_neutral_~_8wekyb3d8bbwe
    Microsoft.WindowsStore_22301.1401.6.0_x64__8wekyb3d8bbwe
    
     
  20. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,714
    14,438
    340
    #10800 xinso, Mar 14, 2023
    Last edited: Mar 14, 2023
    Test manual Construction of 25314.1000 Enterprise arm64 en-US (with Unstage image 23 MB)
    Code:
    
    C:\windows\system32>dism /english /logpath:z:\1.log /image:K: /apply-unattend:Z:\WinSxS\1.xml
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.25314.1000
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\windows\system32>dism /English /image:K: /add-package:Z:\2
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.25314.1000
    
    Processing 1 of 6 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~arm64~en-US~10.0.25314.1000
    [==========================100.0%==========================]
    Processing 2 of 6 - Adding package Microsoft-Windows-LanguageFeatures-Basic-en-us-Package~31bf3856ad364e35~arm64~~10.0.25314.1000
    [==========================100.0%==========================]
    Processing 3 of 6 - Adding package Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package~31bf3856ad364e35~arm64~~10.0.25314.1000
    [==========================100.0%==========================]
    Processing 4 of 6 - Adding package Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~arm64~~10.0.25314.1000
    [==========================100.0%==========================]
    Processing 5 of 6 - Adding package Microsoft-Windows-LanguageFeatures-Speech-en-us-Package~31bf3856ad364e35~arm64~~10.0.25314.1000
    [==========================100.0%==========================]
    Processing 6 of 6 - Adding package Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package~31bf3856ad364e35~arm64~~10.0.25314.1000
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\windows\system32>dism /english /image:K: /set-skuintldefaults:en-us
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.25314.1000
    
    
    Set SKU default settings for: en-us
    The operation completed successfully.
    
    C:\windows\system32>dism /English /image:K: /get-currentedition
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.25314.1000
    
    Current edition is:
    
    Current Edition : Enterprise
    
    The operation completed successfully.
    
    C:\windows\system32>
    
    

    [Credits]
    gailium119 Generalization tweak
    zhanglin Construction tweak