[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,677
    14,414
    340
    #1081 xinso, Nov 25, 2020
    Last edited: Nov 25, 2020
    That is too complicated for the UUP script, I think. Ask the author.
     
  2. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    I am probably not asking the right question yet.
    I need editionspecific ESD files. I can create them from CABs.
    I can create CABs manually. Where to take a list of files/folders for editionspecific CAB/ESD?
     
  3. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,677
    14,414
    340
    #1083 xinso, Nov 25, 2020
    Last edited: Nov 25, 2020
    1. Copy C:\Windows\servicing\Sessions\Sessions.xml to C:\
    2. Edit C:\Sessions.xml with notepad
    3. Find whatever edition or package you need
     
  4. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    Thank you, master!
     
  5. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,677
    14,414
    340
    #1085 xinso, Nov 25, 2020
    Last edited: Nov 26, 2020
    vNext and latest LCU for 19041 has this package added for all EditionSpecific:

    Microsoft-Windows-Desktop-BCDTemplate-Client-Package~31bf3856ad364e35~amd64~~10.0.20262.1.mum
    Code:
        <update name="017db9b3d2d84badc56c70bbd5452e05">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-Desktop-BCDTemplate-Client-Package" version="10.0.20262.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
    
     
  6. zanlon

    zanlon MDL Novice

    Sep 6, 2017
    11
    8
    0
    @xinso
    I've tested 00000.0_Pro_to_EntG_amd64_US_CN.zip,
    it worked like a charm!
    except a little flaw, a process named "wsappx" will take high cpu usage.
    once the line, no 135,
    "for /f %%x in ('dir /b "%MT%\Program Files\WindowsApps\Microsoft*"') do (rmdir /q /s "%MT%\Program Files\WindowsApps\%%x" >NUL 2>&1)"
    removed from the script named Create.cmd,
    then everything is back to normal.
     
  7. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,677
    14,414
    340
    #1087 xinso, Nov 26, 2020
    Last edited: Nov 26, 2020
    It is for removing App residue.

    Try this:
    Code:
    for /f %%x in ('dir /b "%MT%\Program Files\WindowsApps\Microsoft*"') do (if exist "%MT%\Program Files\WindowsApps\%%x" rmdir /q /s "%MT%\Program Files\WindowsApps\%%x")
    
    Or just delete it. (And manually remove the residue.)

    Thanks.

    Did you mean the created EnterpriseG, or your OS while creating the image?
     
  8. zanlon

    zanlon MDL Novice

    Sep 6, 2017
    11
    8
    0
    mean the created EnterpriseG.
    this folder, %MT%\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.27323.0_x64__8wekyb3d8bbwe,
    should not be removed.
    I think it's used by native apps, probably.
     
  9. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,677
    14,414
    340
    #1089 xinso, Nov 26, 2020
    Last edited: Nov 26, 2020
    Great!

    But how about EnterpriseS??? (Same OS without Store)

    OK. I'll try EnterpriseG in EnterpriseS deployment.
     
  10. zanlon

    zanlon MDL Novice

    Sep 6, 2017
    11
    8
    0
    EnterpriseS have this problem either.
     
  11. Javac75

    Javac75 MDL Member

    Mar 16, 2015
    176
    202
    10
    Deploying will got error unfixable, couse MicrosoftWindows.Client.CBS_cw5n1h2txyewy become staged package.
    ClientCBS dependencides to Microsoft.VCLibs.140.00_14.0.27323.0_x64__8wekyb3d8bbwe.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,677
    14,414
    340
  13. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,677
    14,414
    340
    #1093 xinso, Nov 26, 2020
    Last edited: Nov 27, 2020

    Thank you so much.
    Code:
    PS C:\windows\system32> Get-AppxPackage 'MicrosoftWindows.Client.CBS'
    
    
    Name              : MicrosoftWindows.Client.CBS
    Publisher         : CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Architecture      : X64
    ResourceId        :
    Version           : 120.2212.551.0
    PackageFullName   : MicrosoftWindows.Client.CBS_120.2212.551.0_x64__cw5n1h2txyewy
    InstallLocation   : C:\Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy
    IsFramework       : False
    PackageFamilyName : MicrosoftWindows.Client.CBS_cw5n1h2txyewy
    PublisherId       : cw5n1h2txyewy
    IsResourcePackage : False
    IsBundle          : False
    IsDevelopmentMode : False
    NonRemovable      : True
    Dependencies      : {Microsoft.VCLibs.140.00_14.0.29231.0_x64__8wekyb3d8bbwe}
    IsPartiallyStaged : False
    SignatureKind     : System
    Status            : Ok
    
     
  14. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,677
    14,414
    340
  15. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,559
    2,596
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,677
    14,414
    340
  17. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,559
    2,596
    60
    :D i don't mind
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,559
    2,596
    60
    unless there's a way to fix that when I mount the wim?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,677
    14,414
    340
    #1099 xinso, Nov 27, 2020
    Last edited: Nov 27, 2020
    1. c:\windows\servicing\packages\
    Microsoft-Windows-EnterpriseSEdition~31bf3856ad364e35~amd64~~10.0.19041.1.cat
    Microsoft-Windows-EnterpriseSEdition~31bf3856ad364e35~amd64~~10.0.19041.1.mum

    2.
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Microsoft-Windows-EnterpriseSEdition~31bf3856ad364e35~amd64~~10.0.19041.1]
    "InstallClient"="Dism++ Core"
    "InstallName"="Microsoft-Windows-EnterpriseSEdition~31bf3856ad364e35~amd64~~10.0.19041.1.mum"
    "InstallLocation"="\\\\?\\Z:\\TEMP\\~Dism67050-2388\\"
    "CurrentState"=dword:00000060
    "SelfUpdate"=dword:00000000
    "Visibility"=dword:00000001
    "InstallTimeHigh"=dword:01d6c26a
    "InstallTimeLow"=dword:2b60a7b1
    "InstallUser"="S-1-5-21-952416458-1931887619-1401255554-1001"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Microsoft-Windows-EnterpriseSEdition~31bf3856ad364e35~amd64~~10.0.19041.1\Owners]
    "Microsoft-Windows-EnterpriseSEdition~31bf3856ad364e35~amd64~~10.0.19041.1"=dword:00040040
    
    PS.
    ReDo is a must for every LCU update.
     
  20. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,559
    2,596
    60


    This worked thanks :)

    Code:
    Microsoft Windows [Version 10.0.19042.662]
    (c) 2020 Microsoft Corporation. All rights reserved.
    
    C:\Users\Administrator>dism /online /get-currentedition
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.572
    
    Image Version: 10.0.19042.662
    
    Current edition is:
    
    Current Edition : EnterpriseS
    
    The operation completed successfully.
    
    C:\Users\Administrator>
    
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...