[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,709
    14,435
    340
    #7161 xinso, Mar 23, 2022
    Last edited: Mar 23, 2022
    After repeated looking at your scripts, it is more testing than helping users.
     
  2. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    This script is far from complete.
     
  3. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,709
    14,435
    340
    #7163 xinso, Mar 23, 2022
    Last edited: Mar 23, 2022
    It works. Still needs polishing.

    You forgot to install key.

    Without installing key, all Parent and Virtual editions will be installed with same default key of the Parent edition.

    e.g. Core SKU
    Core, Parent
    CoreSingleLanguage, Virtual

    Without installing key, two editions will be installed with Core's default key.

    Pro SKU has more Virtual editions.
    If no key, every edition will be installed with Pro's default key "Enterprise".
     
  4. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    I used dism /image:mount /set-edition.
     
  5. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,709
    14,435
    340
    Good. But why the Professiona Edition is installed as "Enterprise"?
    Code:
    [install]
    Edition=Professional
    Lang=xx-XX
    Timezone="Xxxxxx Standard Time"
    
     
  6. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    Did it? What does Dism /image /get-currentedition show
     
  7. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,709
    14,435
    340
    #7167 xinso, Mar 23, 2022
    Last edited: Mar 23, 2022
    You did not check when it was completely installed? Enterprise.
     
  8. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    And, dism++ says it's professional
    I can read the default keys from product.ini, right?
     
  9. Applegame12345

    Applegame12345 MDL Member

    Mar 13, 2016
    167
    149
    10
    Enterprise is a virtual edition on top of Professional. Registry values are not correct.
     
  10. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,709
    14,435
    340
    #7170 xinso, Mar 23, 2022
    Last edited: Mar 23, 2022
    Thanks. I was telling him about his script which does not specify key.
     
  11. Applegame12345

    Applegame12345 MDL Member

    Mar 13, 2016
    167
    149
    10
    Enterprise is essentially Professional with a different key. The main "core" editions of client Windows that still exist are Core and Professional (well, technically PPIPro, EnterpriseS and EnterpriseG are still separate editions as well (not virtual)). Every other edition is virtual (ProfessionalWorkstation, Education, ServerRdsh, etc.)
     
  12. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,709
    14,435
    340
    Thanks.
     
  13. example12345678912345678

    Dec 29, 2019
    569
    322
    30
    When I add the file, then I get this error instead:
    Code:
    Deployment Image Servicing and Management tool
    Version: 10.0.17763.1697
    
    Image Version: 10.0.22000.1
    
    
    Error: 0x80004003
    
    DISM failed. No operation was performed.
    For more information, review the log file.
    
    The DISM log file can be found at logs\unattend.log
    Press any key to continue . . .
    I think it should be a problem with wincore.wim file. Because boot.wim, install.wim and winre.wim files are copied from this file.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    Works fine with my 22468.1000. Maybe you deleted wincore.wim?
     
  15. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    Native image problem:core/corecountryspecific, same.
    professional, all languages, same.
    ppipro:Different
    coren, professionaln, different.
    Solution: Extract from every *_en-us.esd
    More problem: System.Core.ni.dll, mscorelib.ni.dll are missing
    Solution: extract from *_netfx4_*_ni_dll in winsxs.
     
  16. AveYo

    AveYo MDL Expert

    Feb 10, 2009
    1,836
    5,730
    60
    I had to consider CompositionEditionID even in my s**tty auto.cmd for upgrades (MediaCreationTool.bat).
    It's such an oversight for the kind of script you're developing - listen to the experts and implement it ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    How about this: search for Microsoft-Windows-EditionSpecific-xxxxxx-Package.esd.
    The bundle of editions are all in it
     
  18. zhanglin

    zhanglin MDL Expert

    Jan 11, 2018
    1,014
    552
    60
  19. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,709
    14,435
    340
    #7179 xinso, Mar 24, 2022
    Last edited: Mar 24, 2022
    You got stuck with so many errors, all for the script is not perfect. Ask gailium119 to redo a working one for you.
     
  20. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30