[ARCHIVED] Windows Editions Reconstruction Project

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

Thread Status:
Not open for further replies.
  1. RobrPatty

    RobrPatty MDL Expert

    Jul 23, 2009
    1,282
    598
    60
    Where to grab winosr25 script that makes keys in registry for hotpatching.
     
  2. liliactr

    liliactr MDL Addicted

    Sep 3, 2009
    541
    191
    30
    #17522 liliactr, Aug 11, 2024
    Last edited: Aug 11, 2024
    Discovered UserExperience-Desktop-Package is not the only reason of afterupdate reboot blackscreen.
     
  3. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    Code:
    $registryPath = "HKLM:\SYSTEM\CurrentControlSet\Control\DeviceGuard"
    $parameters = $parameters = @{
    Path = $registryPath
    Name = "EnableVirtualizationBasedSecurity"
    Value = "0x1"
    Force = $True
    PropertyType = "DWORD"
    }
    New-ItemProperty @parameters
    
    
    $registryPath = "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management"
    $parameters = $parameters = @{
    Path = $registryPath
    Name = "HotPatchTableSize"
    Value = "0x1000"
    Force = $True
    PropertyType = "DWORD"
    }
    New-ItemProperty @parameters
    
    
    $registryPath = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Update\TargetingInfo\DynamicInstalled\Hotpatch.amd64"
    $nameParameters = $parameters = @{
    Path = $registryPath
    Name = "Name"
    Value = "Hotpatch Enrollment Package"
    Force = $True
    }
    $versionParameters = $parameters = @{
    Path = $registryPath
    Name = "Version"
    Value = "10.0.26100.793"
    Force = $True
    }
    New-Item $registryPath -Force
    New-ItemProperty @nameParameters
    New-ItemProperty @versionParameters
    

    But that has nothing about Azure Stack HCI and ability to install patches without rebooting, it is patch itself.
    Which might be installed in VM on top of Azure or Azure Stack HCI.
    Here is a screen of Windows 11 IoT LTSC Evaluation 24H2 with this update installed. Hope you don't expect it to host hot-patchable VMs:
    upload_2024-8-11_15-6-51.png

    And to break the party again, let me explain, that I have installed LCU 268 in advance, rebooted, extracted KB5039329-Hotpatch-x64.cab and installed it.
    Sucessfully, but with a reboot required. So, it is NOT working as "HOT" patch either.
    Sorry.
     
  4. liliactr

    liliactr MDL Addicted

    Sep 3, 2009
    541
    191
    30
  5. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    Difficult to say, without knowing, what exactly have you done with original AzureStachHCI wim, - added packages? Or replaced edition from Turbine?

    xinso, can you provide us an idea, how to achive stable HCI with Desktop?
     
  6. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,699
    14,428
    340
  7. Skylined

    Skylined MDL Senior Member

    Nov 10, 2008
    254
    95
    10
    Add
    UserExperience-Desktop-Package 26100.1 to the 1150 mum
     
  8. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    xinso, am testing again 25398.1 client. Professional en-us
    LCUs can install fine. But Windows Features, OptionalComponents or enabling via dism don't work online:
    upload_2024-8-11_19-20-9.png
    upload_2024-8-11_19-20-37.png
    upload_2024-8-11_19-24-0.png
    You told us that en-US might work:
    How that can be solvable?
     
  9. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,863
    1,524
    60
    #17529 Ace2, Aug 11, 2024
    Last edited: Aug 11, 2024
    Code:
    edit C:\mum\Microsoft-Windows-ServerAzureStackHCICorEdition~31bf3856ad364e35~amd64~~10.0.26100.1.mum
    remove
    
        <update name="Microsoft-Win3-Feature">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Win3-Feature" version="10.0.26100.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Win3-WOW64-Feature">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Win3-WOW64-Feature" version="10.0.26100.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
    
    add
    
        <update name="Microsoft-Win4-Feature">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Win4-Feature" version="10.0.26100.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Win4-WOW64-Feature">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Win4-WOW64-Feature" version="10.0.26100.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-Server-DesktopUX-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-Server-DesktopUX-Package" version="10.0.26100.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-Server-DesktopUX-WOW64-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-Server-DesktopUX-WOW64-Package" version="10.0.26100.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-Client-Features-SharedWithServer-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-Client-Features-SharedWithServer-Package" version="10.0.26100.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-Client-Features-SharedWithServer-WOW64-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-Client-Features-SharedWithServer-WOW64-Package" version="10.0.26100.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-Desktop-Required-ClientOnly-SharedWithServer-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-Desktop-Required-ClientOnly-SharedWithServer-Package" version="10.0.26100.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-Desktop-Required-ClientOnly-SharedWithServer-WOW64-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-Desktop-Required-ClientOnly-SharedWithServer-WOW64-Package" version="10.0.26100.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
    
    *
    
    edit C:\mum\Microsoft-Windows-EditionSpecific-ServerAzureStackHCICor-Package~31bf3856ad364e35~amd64~~10.0.26100.1.mum
    add
    
        <update name="4b09b442caf9e09b264375c2a75aca38">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="UserExperience-Desktop-Package" version="10.0.26100.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>

    Code:
    edit C:\mum\Microsoft-Windows-ServerAzureStackHCICorEdition~31bf3856ad364e35~amd64~~10.0.26100.1150.mum
    remove
    
        <update name="Microsoft-Win3-Feature">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Win3-Feature" version="10.0.26100.1150" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Win3-WOW64-Feature">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Win3-WOW64-Feature" version="10.0.26100.1150" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
    
    add
    
        <update name="Microsoft-Win4-Feature">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Win4-Feature" version="10.0.26100.1150" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Win4-WOW64-Feature">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Win4-WOW64-Feature" version="10.0.26100.1150" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-Server-DesktopUX-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-Server-DesktopUX-Package" version="10.0.26100.1150" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-Server-DesktopUX-WOW64-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-Server-DesktopUX-WOW64-Package" version="10.0.26100.1150" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-Client-Features-SharedWithServer-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-Client-Features-SharedWithServer-Package" version="10.0.26100.1150" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-Client-Features-SharedWithServer-WOW64-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-Client-Features-SharedWithServer-WOW64-Package" version="10.0.26100.1150" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-Desktop-Required-ClientOnly-SharedWithServer-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-Desktop-Required-ClientOnly-SharedWithServer-Package" version="10.0.26100.1150" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
        <update name="Microsoft-Windows-Desktop-Required-ClientOnly-SharedWithServer-WOW64-Package">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="Microsoft-Windows-Desktop-Required-ClientOnly-SharedWithServer-WOW64-Package" version="10.0.26100.1150" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
    
    *
    
    edit C:\mum\Microsoft-Windows-EditionSpecific-ServerAzureStackHCICor-Package~31bf3856ad364e35~amd64~~10.0.26100.1150.mum
    add
    
        <update name="4b09b442caf9e09b264375c2a75aca38">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="UserExperience-Desktop-Package" version="10.0.26100.1150" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>

    Code:
    If UserExperience-Desktop-Package is not added to Microsoft-Windows-EditionSpecific-ServerAzureStackHCICor-Package, custom update will not take, even if update was successful.
    
        <update name="4b09b442caf9e09b264375c2a75aca38">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="UserExperience-Desktop-Package" version="10.0.26100.1150" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
     
  10. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,699
    14,428
    340
    Non-Azure is not supported online (Windows Update). i.e. You have to install whatever you need by hand.
     
  11. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    Thanks, but I didn't mean WU.
    I want to enabled a feature, which is staged inside OS.
    Regardless if internet is accessible, that works on server, but doesn't work on 25398 client.
    offline works, meaning files are already in image?
     
  12. liliactr

    liliactr MDL Addicted

    Sep 3, 2009
    541
    191
    30
    Exactly. But UserExperience-Desktop-Package does not take update because not every package get updated after service pack. This method is the right way and works. I insist it is a service issue and i will find that service i hope.
     
  13. Skylined

    Skylined MDL Senior Member

    Nov 10, 2008
    254
    95
    10
    Add it as 26100.1 not 26100.1150
     
  14. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,699
    14,428
    340
    #17534 xinso, Aug 11, 2024
    Last edited: Aug 11, 2024
    For Client, you have to do "everything" by hand, either online or offline.

    To enable a feature, if it is not existent, you have to install its package(s) before it can be enabled, isn't it?

    Anyway, Client is not supported, you have to install\uninstall\enable\disable everything by your hand.

    PS:
    Except Store. When would it be cancelled? Microsoft only knows.
     
  15. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,863
    1,524
    60
    it does when done like i have shown and with these cmds [Custom Windows11.0-KB5040435-x64.esd]
    Code:
    Dism /Image:C:\mount /Add-Package /PackagePath:C:\SSU-26100.998-x64.cab
    
    Dism /Commit-Image /MountDir:C:\mount
    
    Dism /Image:C:\mount /Add-Package /PackagePath:C:\Windows11.0-KB5040435-x64.esd
     
  16. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    Thanks, clear now
     
  17. liliactr

    liliactr MDL Addicted

    Sep 3, 2009
    541
    191
    30
    UserExperience-Desktop-Package 26100.1 to the 1150 mum
    I am try to understand what you said. I added it as 26100.1. Ace2 adds it as 26100.1150. Should be added as 26100.1 and if everything ok it should update itself to 26100.1150 automaticaly. If manually fake it and update you will be need to add manunually at every update. Its not the right way. How he did it also strange. mixed with updated and not updated packages? Used updated wim. Both ways wrong and difficult to handle.
     
  18. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,863
    1,524
    60
    #17538 Ace2, Aug 11, 2024
    Last edited: Aug 11, 2024
    ServerAzureStackHCICor 26100.1150 installed fine, No black screen, No settings flashing away, ServerAzureStackHCICor 26100.1150 is working as should, when mum are edit in the correct way, and cmd's i posted are used when updating image.

    :thumbsup:
     
  19. Skylined

    Skylined MDL Senior Member

    Nov 10, 2008
    254
    95
    10
  20. liliactr

    liliactr MDL Addicted

    Sep 3, 2009
    541
    191
    30
    Ok. I am putting the end point of azurehclcore can not be converted to gui form and capable of updateable. I will explain the reason too that i explained previously half of it.

    For to make it gui form inside of Microsoft-Windows-EditionSpecific-ServerAzureStackHCICor-Package~31bf3856ad364e35~amd64~~10.0.26100.1.mum should have to be

    Code:
        <update name="4b09b442caf9e09b264375c2a75aca38">
          <package contained="false" integrate="hidden">
            <assemblyIdentity name="UserExperience-Desktop-Package" version="10.0.26100.1" processorArchitecture="amd64" language="neutral" buildType="release" publicKeyToken="31bf3856ad364e35" />
          </package>
        </update>
    After that UserExperience-Desktop-Package will be installed inside wim. But i thought main frame/root packages like Microsoft-Windows-ServerAzureStackHCICorEdition or Microsoft-Windows-EditionSpecific-ServerAzureStackHCICor-Package not updated at service packs. I thought only child packages are updated bacause no need to update main/root packages again bacause they do not have sxs folders/files. They only says with packages groups will be installed and theese groups probably never change in operating systems life.

    But as i see here root/main packages also changes with updates. Maybe microsoft can decide to add a group of new feautres in a package group.

    If we edit and add the line inside code quote at up to inside of Microsoft-Windows-EditionSpecific-ServerAzureStackHCICor-Package~31bf3856ad364e35~amd64~~10.0.26100.1.mum at next update it will change with Microsoft-Windows-EditionPack-ServerAzureStackHCICor-Package~31bf3856ad364e35~amd64~~10.0.26100.1297.mum and also it will does not have "UserExperience-Desktop-Package" line inside of it. We will need to change the Microsoft-Windows-EditionPack-ServerAzureStackHCICor-Package~31bf3856ad364e35~amd64~~10.0.26100.1297.mum and add "UserExperience-Desktop-Package" inside of it again. Hope i could explain it clearly.

    At least between gui packages conversion can be possible or between core packages can be maybe but same packages problems possible to occour in any system.