[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,711
    14,436
    340
    When Dism++ is installing LCU, it is rundll32.exe running ---> Success

    When Dism.exe is installing LCU, it is Dism.exe running ---> Failure
     
  2. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,923
    150
    Speaking about 10240, I haven't yet a solution but i spotted something easy to overlook.

    When the LCU fails to install, it's said that no changes were made to the image.

    That's a lie!!!, the image is corrupt.

    After you get the 1st error you can't do anything else, not even a (not needed) resetbase.

    In short, after you get the first error, even if you do the right thing (say install an older CU) you keep getting an error.


    In short, each test requires that you unmount discarding the changes, and remount, or any further attempt, no matter if right or wrong, will be hopeless.
     
  3. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,436
    340
    #9443 xinso, Sep 17, 2022
    Last edited: Sep 17, 2022
    Yes. You are right. Unrecoverable damaged.
     
  4. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,436
    340
    #9444 xinso, Sep 17, 2022
    Last edited: Sep 17, 2022
    Dism++ shows "\??\C:\Windows\WinSxS ---> Succeeded
    Dism.exe shows "\??\X:\Windows\WinSxS ---> Failed
     
  5. zhanglin

    zhanglin MDL Expert

    Jan 11, 2018
    1,014
    552
    60
    Your method is right, successfully changed the cumulative update to targetState="Staged", thank you.

    Code:
    <?xml version='1.0' encoding='utf-8'?>
    <Session version="8.0" id="372_48204984" client="DISM Package Manager Provider" options="0" currentPhase="1" lastSuccessfulState="Complete" pendingFollower="false" retry="false" operationCovered="33793" correlationVector="l7pa96BsI0+F3CRR.1" Queued="2022/09/17/22:44:48" Started="2022/09/17/22:44:48" Complete="2022/09/17/22:47:24" status="0x0">
        <Tasks>
            <Phase seq="1">
                <package id="Microsoft-Windows-CoreEdition~31bf3856ad364e35~amd64~~10.0.22621.1" name="Windows Core Edition" targetState="Installed" options="4"/>
                <package id="Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.22621.521" name="Windows Professional Edition" targetState="Staged" options="4"/>
            </Phase>
        </Tasks>
     
  6. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,436
    340
    #9446 xinso, Sep 17, 2022
    Last edited: Sep 17, 2022
    Target OS image: 10240.16384
    Code:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]
    "SystemRoot"="C:\\Windows"
    "PathName"="C:\\Windows"
    
    Running OS image: 19041.1
    Code:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]
    "SystemRoot"="X:\\Windows"
    "PathName"="X:\\Windows"
    
    So,
    Dism++ uses 10240.16384 C:\Windows\WinSxS ---> Success
    Dism.exe uses 19041.1 X:\Windows\WinSxS ---> Failure
    ?

    Or,
    the script should be run under 10240 environment
    ?

    No. Dism++ author only knows. Let it go!
     
  7. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,923
    150
    For the record, I'm trying an install of 10240 regressed to .16384 with an in place "upgrade", and WU offers the latest SSU from May 2022, and the CU KB4505051 from May 2019.

    Clearly MS doesn't use Dism++ :D
     
  8. gailium119

    gailium119 MDL Addicted

    Oct 12, 2021
    790
    510
    30
    So you can use rundll32 in script and make it automatic?
     
  9. hahaha funny :D
     
  10. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,436
    340
    Only if you can provide me with a feasible solution.
     
  11. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,436
    340
  12. zwl29107

    zwl29107 MDL Addicted

    Jul 10, 2022
    601
    700
    30
    Use the dism in 10240 ADK?
     
  13. zwl29107

    zwl29107 MDL Addicted

    Jul 10, 2022
    601
    700
    30
  14. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,436
    340
    No, I had tried. It is the same as from 10240 image.
     
  15. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,436
    340
    #9455 xinso, Sep 18, 2022
    Last edited: Sep 18, 2022
    Yes, I dit it too. (But the registry in 10240.16384 image was changed to X:.)

    Dism.exe failed, no mater C: or X:. But Dism++ can make it. Amazing.
     
  16. zwl29107

    zwl29107 MDL Addicted

    Jul 10, 2022
    601
    700
    30
    #9456 zwl29107, Sep 18, 2022
    Last edited: Sep 18, 2022
    Even though the registry has changed to C:, it still looks for X:.
    X:\ Is not a real drive letter, so it is easy to have problems. I often encounter the problem that files cannot be found under X:\Windows\WinSxS\Catalogs , but after solving the problem, I find that they are not associated with X:\.
     
  17. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,436
    340
    #9457 xinso, Sep 18, 2022
    Last edited: Sep 18, 2022
    Would Dism++ author share the solution?
     
  18. zwl29107

    zwl29107 MDL Addicted

    Jul 10, 2022
    601
    700
    30
    I will try to install the package containing ssshim.dll separately, which is more helpful for troubleshooting.
     
  19. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,436
    340
    Thank you so much for participating in such an issue trouble-shooting.
     
  20. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,711
    14,436
    340
    #9460 xinso, Sep 18, 2022
    Last edited: Sep 18, 2022
    Q: xinso, why did you say only Dism++ can integrate LCU to 10240.16384?
    A: It's because only Dism++ can integrate then.