[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
  2. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    Question to master - we know that CNGE accepts zh-cn/en-us and CCHA(CoreCountrySpecific and ProCountrySpecific) accepts zh-cn only.
    I am subscriber to my.visualstudio.com and each year I get a pack of keys for different editions.
    I prefer to use maximum of my subscription, that's why I always am interested in N versions - as I can legally activate them with my own keys.
    I would love to do same with G/GN and CCHA/CPHA with keys that are provided, if there is some trick to replace the zh-cn LP for en-us or ru-ru.
    Am not speaking about editing the policy, but more about tricking MUMs, so I install let me say RU-RU, but OS thinks that's ZH-CN.
    Have anyone done steps in this direction?
     
  3. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,672
    14,409
    340
    #6103 xinso, Dec 30, 2021
    Last edited: Dec 30, 2021
    It is controlled mainly by this Certificate: EnterpriseG-ppdlic.xrm-ms

    Two workarounds for example:
    1. the way of Unlock up to 64GB of RAM on 32-bit Windows With PAE Patch
    2. Ask Abbody if he could repack EnterpriseG-ppdlic.xrm-ms
    from zh-CN;en-US
    Code:
    <sl:policyStr attributes="reboot-required, override-only" name="Kernel-MUI-Language-Allowed">zh-CN;en-US</sl:policyStr>
    
    to EMPTY
    Code:
    <sl:policyStr attributes="reboot-required, override-only" name="Kernel-MUI-Language-Allowed">EMPTY</sl:policyStr>
    
     
  4. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
  5. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,672
    14,409
    340
    #6105 xinso, Dec 30, 2021
    Last edited: Dec 31, 2021
    You don't need to worry about him. He uses those and he is very good at it.
     
  6. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    Thanks. Would ask, - may be that works.
     
  7. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,672
    14,409
    340
    #6107 xinso, Dec 30, 2021
    Last edited: Dec 30, 2021
    Good. Looking forward to...
     
  8. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    365
    540
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    On my amd64 W11 22523 (if that plays a role) script fails at one of last steps:

    Code:
    dism /logpath:logs\appx.log /scratchdir:"D:\TEMP" /image:mount /remove-provisionedappxpackage /packagename:Microsoft.DesktopAppInstaller_2019.125.2243.0_neutral_~_8wekyb3d8bbwe   || exit /b 1
    Deployment Image Servicing and Management tool
    Version: 10.0.22523.1000
    Image Version: 10.0.19041.1
    Error: 15610
    Removal failed. Please contact your software vendor.
    The DISM log file can be found at logs\appx.log
    
    Code:
    2021-12-30 06:01:52, Info                  DISM   DISM Appx Provider: PID=26136 TID=5712 Processing 'packagename' option at index 2 - CAppxManager::ProcessCommandRemoveAllUserAppx
    2021-12-30 06:01:52, Info                  DISM   DISM Appx Provider: PID=26136 TID=5712 packagename='Microsoft.DesktopAppInstaller_2019.125.2243.0_neutral_~_8wekyb3d8bbwe' - CAppxManager::ProcessCommandRemoveAllUserAppx
    2021-12-30 06:01:53, Error                 DISM   DISM Appx Provider: PID=26136 TID=5712 Failed to uninstall becuase policy prevents the removal of this package - CAppxManager::RemoveAllUserAppx(hr:0x80073cfa)
    2021-12-30 06:01:53, Error                 DISM   DISM Appx Provider: PID=26136 TID=5712 Failed to remove package 'Microsoft.DesktopAppInstaller_2019.125.2243.0_neutral_~_8wekyb3d8bbwe' - CAppxManager::ProcessCommandRemoveAllUserAppx(hr:0x80073cfa)
    2021-12-30 06:01:53, Error                 DISM   DISM Appx Provider: PID=26136 TID=5712 Failed processing command to remove Appx package - CAppxManager::ExecuteCmdLine(hr:0x80073cfa)
    
    And my opinion - whatever happens during script execution, you can't just exit on error, it's your duty to at least unmount the WIM. You decide, committing or discarding.
     
  10. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    365
    540
    10
    The All-in-one package I posted lets you install all the codecs you want or remove what you don't want, but the user does have to read a few Read-Me's :oops:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    365
    540
    10
    #6111 spanishfly, Dec 30, 2021
    Last edited: Dec 31, 2021
    I didn't actually try to use @balanadi's build code or package, but pulled out the steps and code to incorporate into my all-in-one remix.cmd build script. I just finished testing it, and will post an update to my release page later today. Full project published here: https://forums.mydigitallife.net/th...struction-project.80939/page-305#post-1714506
    The expanded packages
    (1) Microsoft-Windows-RegulatedPackages-Package.ESD
    (2) Microsoft-Windows-RegulatedPackages-WOW64-Package.ESD
    Go into folders
    work\_Additions\Microsoft-Windows-RegulatedPackages-Package
    work\_Additions\Microsoft-Windows-RegulatedPackages-WOW64-Package

    Which gets explained in another Read_me!

    Also no DISM errors in my solution.
    In-box modern UWP apps like the desktop one you mentioned are handled differently in remix.cmd
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    Would test that. Wheere is a Read_me! The link is just for a CMD file?

    HEIC/HEIV codecs are not a part of Microsoft Media Foundation codecs - they are separate paid (not free) package.
    Have you included them?
     
  13. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,672
    14,409
    340
    #6113 xinso, Dec 30, 2021
    Last edited: Dec 30, 2021
    About Windows Media Features

    [LTSC]
    Microsoft-Windows-Common-RegulatedPackages-Package
    Microsoft-Windows-Common-RegulatedPackages-WOW64-Package

    [Not-LTSC]
    Microsoft-Windows-RegulatedPackages--Package
    Code:
    Microsoft-Windows-Common-RegulatedPackages-Package
    Microsoft-Windows-Holographic-Desktop-Merged-Package
    Multimedia-RestrictedCodecsDolby-Package
    
    Microsoft-Windows-RegulatedPackages-WOW64-Package
    Code:
    Microsoft-Windows-Common-RegulatedPackages-WOW64-Package
    Microsoft-Windows-Holographic-Desktop-Merged-WOW64-Package
    Multimedia-RestrictedCodecsDolby-WOW64-Package
    
     
  14. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    I remember, that N doesn't contain portable-devices too?

    NOT N! :)
     
  15. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,672
    14,409
    340
    #6115 xinso, Dec 30, 2021
    Last edited: Dec 30, 2021
    IMHO,
    CMGE is really good.

    LTSC is good for Long Term Servicing only. Once met with Custom Update, EVERY SKU can be LTSC.
     
  16. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,672
    14,409
    340
    #6116 xinso, Dec 30, 2021
    Last edited: Dec 31, 2021
    Fact:
    Some packages are not able to be removed which will lead to Pro based reconstruction failure.

    Q: How to conquor it?
    A: Use Core as base image.
     
  17. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    #6117 kibkalo, Dec 30, 2021
    Last edited: Dec 30, 2021
    Thanks
     
  18. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,557
    2,594
    60
    #6118 freddie-o, Dec 30, 2021
    Last edited: Jan 3, 2022

    Adding Microsoft-Windows-RegulatedPackages fixed my bluetooth problem
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,672
    14,409
    340
    #6119 xinso, Dec 30, 2021
    Last edited: Dec 31, 2021
    If you added RegulatedPackages, you may as well check LCU and install RegulatedPackages updates.
     
  20. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,557
    2,594
    60
    Integrating LCU?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...