Windows Editions Reconstruction Project

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

  1. xinso

    xinso MDL Guru

    Mar 5, 2009
    5,599
    7,822
    180
    #1921 xinso, Mar 3, 2021
    Last edited: Mar 3, 2021
    15063.0_x86_en-US_Core_converted_to_EnterpriseS
     
  2. balanadi

    balanadi MDL Member

    Apr 24, 2014
    123
    52
    10


    I was playing around with the script , and i found all the correct packages to be removed inside the servicing folder , and this is a result of an 14393.0 LTSB 2016 X86 full functional but free of Microsoft crap ...so i can use it for old laptops ..
    Code:
    Mounting install.wim
    
    Removing Adobe-Flash-For-Windows-onecoreuap-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Adobe-Flash-For-Windows-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-OneCore-AllJoyn-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-Cortana-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-Cortana-PAL-Desktop-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-OneCore-CortanaComponents-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~x86~~11.0.14393.0
    
    Removing Microsoft-OneCore-Maps-Core-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-OneCore-Maps-Full-onecoreuap-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-OneCore-Maps-Full-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-OneCore-Maps-onecoreuap-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-OneCore-Maps-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-OneCore-PointOfService-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-OneCore-SpeechComponents-avcore-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-OneCore-SpeechComponents-onecoreuap-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-OneCore-SpeechComponents-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-OneCore-Wallet-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-OneCore-WalletService-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-Printing-XPSServices-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-Xps-Foundation-Client-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-DirectPlay-OC-package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-MultiPoint-Connector-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-NFS-ClientSKU-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-OneCore-Containers-Opt-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-WinOcr-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-SimpleTCP-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-Skype-ORTC-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-Telnet-Client-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-TFTP-Client-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Xbox-GameCallableUI-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-Virtualization-RemoteFX-User-Mode-Transport-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-WindowsMediaPlayer-Troubleshooters-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-EnterpriseClientSync-Host-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-Client-EmbeddedExp-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-ParentalControls-OneCoreUapShell-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-ParentalControls-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-TroubleShooting-base-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-TroubleShooting-net-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-TroubleShooting-onecore-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-TroubleShooting-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Hyper-V-ClientEdition-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Hyper-V-Common-Drivers-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Hyper-V-Guest-Integration-Drivers-onecore-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Hyper-V-Guest-Integration-Drivers-onecoreuap-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Hyper-V-Guest-Integration-Drivers-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-RDC-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-SearchEngine-Client-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-LanguageFeatures-Speech-en-us-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Removing Windows-Defender-Client-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Current Edition : EnterpriseS
    
    Resetting base
    
    Unmounting install.wim
    
    Press any key to continue . . .
    Thanks again ... you teach me nice

    God bless you !!!
     
  3. xinso

    xinso MDL Guru

    Mar 5, 2009
    5,599
    7,822
    180
    #1923 xinso, Mar 3, 2021
    Last edited: Mar 3, 2021
    If you'd learn the relationship between Parent-package and Children-packages, it would be beautiful.

    Q: Which package to remove? Parent-package or Child-package(s) or all packages?
    A: Parent-package.

    e.g. These are packages start with Windows-Defender
    Code:
    Windows-Defender-AM-Default-Definitions-Package~31bf3856ad364e35~x86~~10.0.14393.0
    Windows-Defender-AppLayer-Group-amcore-Package~31bf3856ad364e35~x86~~10.0.14393.0
    Windows-Defender-AppLayer-Group-onecore-Package~31bf3856ad364e35~x86~~10.0.14393.0
    Windows-Defender-AppLayer-Group-Package~31bf3856ad364e35~x86~~10.0.14393.0
    Windows-Defender-Client-Package~31bf3856ad364e35~x86~~10.0.14393.0
    Windows-Defender-CloudClean-Group-Package~31bf3856ad364e35~x86~~10.0.14393.0
    Windows-Defender-Core-Group-amcore-Package~31bf3856ad364e35~x86~~10.0.14393.0
    Windows-Defender-Core-Group-onecore-Package~31bf3856ad364e35~x86~~10.0.14393.0
    Windows-Defender-Core-Group-Package~31bf3856ad364e35~x86~~10.0.14393.0
    Windows-Defender-Group-Policy-Package~31bf3856ad364e35~x86~~10.0.14393.0
    Windows-Defender-Management-Group-amcore-Package~31bf3856ad364e35~x86~~10.0.14393.0
    Windows-Defender-Management-Group-onecore-Package~31bf3856ad364e35~x86~~10.0.14393.0
    Windows-Defender-Management-Group-Package~31bf3856ad364e35~x86~~10.0.14393.0
    Windows-Defender-Management-MDM-Group-Package~31bf3856ad364e35~x86~~10.0.14393.0
    Windows-Defender-Management-Powershell-Group-Package~31bf3856ad364e35~x86~~10.0.14393.0
    Windows-Defender-Nis-Group-Package~31bf3856ad364e35~x86~~10.0.14393.0
    
    Let alone Windows-Defender-Group-Policy-Package~31bf3856ad364e35~x86~~10.0.14393.0 which is Child-package of Group Policy.

    Q: Which is the Parent-package of Windows Defender?
    A: Windows-Defender-Client-Package~31bf3856ad364e35~x86~~10.0.14393.0
    Code:
    <?xml version='1.0' encoding='utf-8' standalone='yes'?>
    <assembly xmlns="urn:schemas-microsoft-com:asm.v3" copyright="Copyright (c) Microsoft Corporation. All Rights Reserved." manifestVersion="1.0">
      <assemblyIdentity buildType="release" language="neutral" name="Windows-Defender-Client-Package" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" version="10.0.14393.0"/>
      <package identifier="Windows-Defender-Client-Package" releaseType="Feature Pack">
        <update name="Windows-Defender-Core">
          <package contained="false" integrate="hidden">
            <assemblyIdentity buildType="release" language="neutral" name="Windows-Defender-Core-Group-Package" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" version="10.0.14393.0" versionScope="nonSxS"/>
          </package>
        </update>
        <update name="Windows-Defender-CloudClean">
          <package contained="false" integrate="hidden">
            <assemblyIdentity buildType="release" language="neutral" name="Windows-Defender-CloudClean-Group-Package" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" version="10.0.14393.0" versionScope="nonSxS"/>
          </package>
        </update>
        <update name="Windows-Defender-Nis">
          <package contained="false" integrate="hidden">
            <assemblyIdentity buildType="release" language="neutral" name="Windows-Defender-Nis-Group-Package" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" version="10.0.14393.0" versionScope="nonSxS"/>
          </package>
        </update>
        <update name="Windows-Defender-AppLayer">
          <package contained="false" integrate="hidden">
            <assemblyIdentity buildType="release" language="neutral" name="Windows-Defender-AppLayer-Group-Package" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" version="10.0.14393.0" versionScope="nonSxS"/>
          </package>
        </update>
        <update name="Windows-Defender-Management">
          <package contained="false" integrate="hidden">
            <assemblyIdentity buildType="release" language="neutral" name="Windows-Defender-Management-Group-Package" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" version="10.0.14393.0" versionScope="nonSxS"/>
          </package>
        </update>
        <update name="Windows-Defender-Management-Powershell">
          <package contained="false" integrate="hidden">
            <assemblyIdentity buildType="release" language="neutral" name="Windows-Defender-Management-Powershell-Group-Package" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" version="10.0.14393.0" versionScope="nonSxS"/>
          </package>
        </update>
        <update name="Windows-Defender-Management-MDM">
          <package contained="false" integrate="hidden">
            <assemblyIdentity buildType="release" language="neutral" name="Windows-Defender-Management-MDM-Group-Package" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" version="10.0.14393.0" versionScope="nonSxS"/>
          </package>
        </update>
        <update name="Windows-Defender-Default-Definitions">
          <selectable disposition="absent">
            <detectNone default="true"/>
          </selectable>
          <package contained="false" integrate="hidden">
            <assemblyIdentity buildType="release" language="neutral" name="Windows-Defender-AM-Default-Definitions-Package" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" version="10.0.14393.0"/>
          </package>
        </update>
      </package>
    </assembly>
    
     
  4. balanadi

    balanadi MDL Member

    Apr 24, 2014
    123
    52
    10

    the best example is :

    Microsoft-OneCore-SpeechComponents-avcore-Package~31bf3856ad364e35~amd64~~10.0.14393.0
    Microsoft-OneCore-SpeechComponents-onecoreuap-Package~31bf3856ad364e35~amd64~~10.0.14393.0
    Microsoft-OneCore-SpeechComponents-Package~31bf3856ad364e35~amd64~~10.0.14393.0
    Microsoft-OneCore-SpeechComponents-WOW64-avcore-Package~31bf3856ad364e35~amd64~~10.0.14393.0
    Microsoft-OneCore-SpeechComponents-WOW64-onecoreuap-Package~31bf3856ad364e35~amd64~~10.0.14393.0
    Microsoft-OneCore-SpeechComponents-WOW64-Package~31bf3856ad364e35~amd64~~10.0.14393.0

    i need to dig inside every image and find out the packages which are related ... and to try .. and try ... until i will manage ...
    i am still looking for a way to delete alll the laguages and leave only en-us ... but so far i do it manually ...
    Thanks
     
  5. zhanglin

    zhanglin MDL Senior Member

    Jan 11, 2018
    490
    211
    10
    #1925 zhanglin, Mar 3, 2021
    Last edited: Mar 3, 2021
    if /i %%#==IoTEnterpriseS if %EditionLTSC% equ 1 if %_build% geq 18298 (set IoTEnterpriseS=1)

    I saw it at 21322.1000_amd64_zh-cn_professional_3b495347_convert, has the teacher seen this version of 18298?

    捕获.PNG

    Seen in this place, how to download?
     
  6. balanadi

    balanadi MDL Member

    Apr 24, 2014
    123
    52
    10
    Q: Which is the Parent-package?
    A: Windows-Defender-Client-Package~31bf3856ad364e35~x86~~10.0.14393.0


    so you tell me that i remove the parent package , all the related ones go away also ?


    how can i see the full packages of an image ? there is a script or something ?
     
  7. xinso

    xinso MDL Guru

    Mar 5, 2009
    5,599
    7,822
    180
    #1927 xinso, Mar 3, 2021
    Last edited: Mar 3, 2021
    It needs contributions, or donations. I had the account long long long ago, but password forgotten.
     
  8. xinso

    xinso MDL Guru

    Mar 5, 2009
    5,599
    7,822
    180
    #1928 xinso, Mar 3, 2021
    Last edited: Mar 3, 2021
    A1: Yes.
    A2:

    e.g.

    Parent-package:
    Microsoft-Windows-EnterpriseSEdition~31bf3856ad364e35~amd64~~10.0.14393.0.mum

    Child-package:
    Microsoft-Windows-Client-Optional-Features-Package~31bf3856ad364e35~amd64~~10.0.14393.0.mum

    Grand-Child-package:
    Windows-Defender-Client-Package~31bf3856ad364e35~x86~~10.0.14393.0.mum
     
  9. xinso

    xinso MDL Guru

    Mar 5, 2009
    5,599
    7,822
    180
    #1929 xinso, Mar 3, 2021
    Last edited: Mar 3, 2021
    Q: Why?

    For SAC unreleased editions, e.g. 15063.0\19041.1EnterpriseS, MSFT adds some package(s), which are already existent in other package, to its EditionSpecific package.

    EditionPack-Enterprise
    Code:
                <Resolve package="Microsoft-Windows-EditionPack-Enterprise-Package~31bf3856ad364e35~amd64~~10.0.15063.0" update="Microsoft-Windows-EnterpriseClientSync-Host-Package"/>
                <Resolve package="Microsoft-Windows-EditionPack-Enterprise-Package~31bf3856ad364e35~amd64~~10.0.15063.0" update="Microsoft-Windows-SMBDirect"/>
                <Resolve package="Microsoft-Windows-EditionPack-Enterprise-Package~31bf3856ad364e35~amd64~~10.0.15063.0" update="Microsoft-Windows-Backup-Package"/>
                <Resolve package="Microsoft-Windows-EditionPack-Enterprise-Package~31bf3856ad364e35~amd64~~10.0.15063.0" update="Microsoft-Windows-PortableWorkspaces-Creator-Package"/>
    
    EditionSpecific-EnterpriseS
    Code:
                <Resolve package="Microsoft-Windows-EditionSpecific-EnterpriseS-Package~31bf3856ad364e35~amd64~~10.0.15063.0" update="Microsoft-Windows-EnterpriseClientSync-Host-Package"/>
                <Resolve package="Microsoft-Windows-EditionSpecific-EnterpriseS-Package~31bf3856ad364e35~amd64~~10.0.15063.0" update="Microsoft-Windows-SMBDirect"/>
                <Resolve package="Microsoft-Windows-EditionSpecific-EnterpriseS-Package~31bf3856ad364e35~amd64~~10.0.15063.0" update="Microsoft-Windows-Backup-Package"/>
                <Resolve package="Microsoft-Windows-EditionSpecific-EnterpriseS-Package~31bf3856ad364e35~amd64~~10.0.15063.0" update="Microsoft-Windows-PortableWorkspaces-Creator-Package"/>
    
     
  10. zhanglin

    zhanglin MDL Senior Member

    Jan 11, 2018
    490
    211
    10
    In fact, many components are also dual or even multi-controllable. As Hyper_V says, packets are removed, but related services are still there
     
  11. xinso

    xinso MDL Guru

    Mar 5, 2009
    5,599
    7,822
    180
    #1931 xinso, Mar 3, 2021
    Last edited: Mar 3, 2021
    Some, yes. But that case is normal and different to aforementioned.
     
  12. zhanglin

    zhanglin MDL Senior Member

    Jan 11, 2018
    490
    211
    10
    Windows Defender (Uninstallable),
    What does it mean, I have tried to uninstall Windows Defender, you can install it back
     
  13. xinso

    xinso MDL Guru

    Mar 5, 2009
    5,599
    7,822
    180
    #1933 xinso, Mar 3, 2021
    Last edited: Mar 3, 2021
    There is AntiMalware, which is independent package, in old Server.

    Microsoft-Antimalware-Scan-Interface-Core-Package

    (For new Server, it may be combined in some Core package. I don't use Server. No such research.)
     
  14. zhanglin

    zhanglin MDL Senior Member

    Jan 11, 2018
    490
    211
    10
    #1934 zhanglin, Mar 3, 2021
    Last edited: Mar 3, 2021
    deleted
     

    Attached Files:

  15. zhanglin

    zhanglin MDL Senior Member

    Jan 11, 2018
    490
    211
    10
    捕获.PNG

    I tried 20298, uninstalled Microsoft-Antimalware-Scan-Interface-Core-Package, there was no problem
     
  16. xinso

    xinso MDL Guru

    Mar 5, 2009
    5,599
    7,822
    180
    #1936 xinso, Mar 3, 2021
    Last edited: Mar 3, 2021
    Good.
     
  17. xinso

    xinso MDL Guru

    Mar 5, 2009
    5,599
    7,822
    180
    #1937 xinso, Mar 3, 2021
    Last edited: Mar 3, 2021
    About source image, it'd be advised to add this package in removal list in case that the source image is of Volume channel:

    Microsoft-Windows-Security-SPP-Component-SKU-Education-GVLK-Package~31bf3856ad364e35~x86~~10.0.15063.0

    e.g. DelPack.txt
    Code:
    Microsoft-Windows-Security-SPP-Component-SKU-Education-GVLK-Package~31bf3856ad364e35~x86~~10.0.15063.0
    Microsoft-Windows-QuickAssist-Package~31bf3856ad364e35~x86~~10.0.15063.0
    Microsoft-Windows-ContactSupport-Package~31bf3856ad364e35~x86~~10.0.15063.0
    Microsoft-Windows-BuildFlighting-Package~31bf3856ad364e35~x86~~10.0.15063.0
    Microsoft-Windows-FlightSettings-Package~31bf3856ad364e35~x86~~10.0.15063.0
    Microsoft-Windows-TestRoot-and-FlightSigning-Package~31bf3856ad364e35~x86~~10.0.15063.0
    Microsoft-OneCore-AllowTelemetry-Reduced-Default-Package~31bf3856ad364e35~x86~~10.0.15063.0
    
    And add "if exist mount\Windows\servicing\Packages\%%x.mum" for the script.

    e.g. create.cmd
    Code:
    for /f %%x in ('findstr /i . files\DelPack.txt 2^>nul') do (
    if exist mount\Windows\servicing\Packages\%%x.mum (
    reg load HKLM\SOFTWARE1 mount\Windows\System32\config\SOFTWARE >nul
    reg add "HKLM\SOFTWARE1\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%%x" /v Visibility /t REG_DWORD /d 1 /f >nul
    reg delete "HKLM\SOFTWARE1\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%%x\Owners" /f >nul
    reg unload HKLM\SOFTWARE1 >nul
    echo.
    echo Removing %%x
    dism /english /quiet /scratchdir:temp /image:mount /Remove-package /Packagename:%%x
    )
    )
    
     
  18. xinso

    xinso MDL Guru

    Mar 5, 2009
    5,599
    7,822
    180
    #1938 xinso, Mar 3, 2021
    Last edited: Mar 4, 2021
    Q: How to modify string in exported registry file?

    The replace.vbs won't work.
     
  19. xinso

    xinso MDL Guru

    Mar 5, 2009
    5,599
    7,822
    180
  20. xinso

    xinso MDL Guru

    Mar 5, 2009
    5,599
    7,822
    180
    #1940 xinso, Mar 4, 2021
    Last edited: Mar 5, 2021