UpgradeMatrix.xml FiX Tool (Very Beta)

Discussion in 'Windows 11' started by Enthousiast, Aug 1, 2024.

  1. RanCorX2

    RanCorX2 MDL Expert

    Jul 19, 2009
    1,019
    563
    60
    just found my way to this thread, seems like a real handy tool. thanks op for sharing.
     
  2. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    #22 kibkalo, Sep 8, 2024
    Last edited: Sep 8, 2024
    @Enthousiast can you enlighten me, if I can use your approach for Windows Server SKUs (of course changing UpgradeMatrix)
    What am I interested in is:
    1) Upgrade ServerDatacenterCore to Server ServerDatacenter (same applies to Standard and Turbine)
    2) Upgrade ServerDatacenterCore to ServerDatacenterACorCore (next year when we have new ACor)
    3) Upgrade AzureStackHCI to ServerDatacenterCore/ServerTurbinCore

    And I am looking into UpgradeMatrix.xml on my installed ServerDatacenter 2025 and have a quesion: What is difference between
    Code:
    <TargetEdition ID="ServerDatacenterCore" processorArchitecture="amd64" version="10.0.26100.1">
    and
    Code:
    <TargetEdition ID="ServerDatacenterCor" processorArchitecture="amd64" version="10.0.26100.1">
    Both are in original XML
    Here is the list of editions, I see in Server's UpgardeMatrix.
    Code:
    ServerTurbine
    ServerTurbineCor
    ServerTurbineCore
    ServerDatacenter
    ServerDatacenterCor
    ServerDatacenterCore
    ServerStandard
    ServerStandardCor
    ServerStandardCore
    ServerDatacenterEval
    ServerDatacenterEvalCor
    ServerStandardEval
    ServerStandardEvalCor
    ServerAzureStackHCICor
    ServerAzureCor
    ServerStandardACorCore
    ServerDatacenterACorCore
     
  3. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,681
    103,573
    450
    @kibkalo server has not really my interest, but will check this as soon as i have time, trying to keep the generic upgradematrix.xml really generic:)
     
  4. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    Thanks for your efforts!
     
  5. liliactr

    liliactr MDL Addicted

    Sep 3, 2009
    553
    196
    30
    #26 liliactr, Sep 25, 2024
    Last edited: Sep 25, 2024
    We should warn users that editing EditionMatrix.xml can cause CBS store corruption and future dism operations / updates may fail. Sample dism operation DISM /Image:x:\x /Cleanup-Image /RestoreHealth. Same can also be for other files in that folder. There is hashcheck on xml files.

    Code:
    2024-09-25 13:26:10, Info                  CBS    FLOW: Entering stage: CheckCsi
    2024-09-25 13:32:49, Info                  CSI    00000009 Hashes for file member [l:17]'EditionMatrix.xml' do not match.
     Expected: {l:32 ml:33 b:a02a4096c4e30afb6035af883ac49dc136795089bafa74d93a7219994ea68ca9}.
     Actual: {l:32 b:731a0b479797b3776d7de2dd9dd8cdc0a193818211df91356373986f4b15261b}.
    2024-09-25 13:32:49, Info                  CSI    0000000a Warning: Unable to repair payload file ([l:17]'EditionMatrix.xml') for component ([l:98 ml:140]'amd64_microsoft-windows-e..verazurestackhcicor_31bf3856ad364e35_10.0.26100.1_none_c46b07d9b87ac085') from backups directory with disposition (2). A backup file may not exist or may be corrupt. Falling back to WU.
     
  6. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,681
    103,573
    450
    #27 Enthousiast, Sep 25, 2024
    Last edited: Sep 26, 2024
    (OP)
    Whatever127 actually warned about something like this years ago but i never could get some evidence.
     
  7. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    One more question, - why I can't upgrade Win7 Ultimate?
    Pro/Enterprise works fine.
     
  8. liliactr

    liliactr MDL Addicted

    Sep 3, 2009
    553
    196
    30
    Maybe a batch file can be done. First backup original xml file, change xml that can accept any upgrade options, let upgrade and change xml with original one again.
     
  9. MasihDuniaLain

    MasihDuniaLain MDL Novice

    Feb 7, 2015
    1
    0
    0
    Is it possible to upgrade from Windows 10 Enterprise 22H2 to Windows 11 IoT Enterprise LTSC while keeping all files & apps?
    Tried to use this tool to modify UpgradeMatrix.xml but keep all files & apps option still greyed out when running the setup.
     
  10. endbase

    endbase MDL Guru

    Aug 12, 2012
    4,694
    1,717
    150
    You have to edit the registry for that change Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion Edition id Enterprise to EnterpriseS and restart setup from windows
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    Yes, that definitely works.
    But what am I to do with UpgradeMatrix to make it work with Ultimate?
     
  12. liliactr

    liliactr MDL Addicted

    Sep 3, 2009
    553
    196
    30
    Try this. You should be upgrade all editions+Starter from Ultimate. Should be sp1
     

    Attached Files:

  13. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    I am trying to upgrade Windows 7 Ultimate to 26100 IoT Enterprise LTSC.
    The above file doesn't allow me to keep apps and settings.

    I have used the tool from this post. And there is a "TargetEdition" IoTEnterpriseS with SourceEdition as "*", - tool works to upgrade Pro, but doesn't with Ultimate
    As that is a test scenario only, I would like to generally understand the behavior of UpgradeMatrix.xml inside install.wim of 26100.1 - why the Ultimate edition doesn't work as "*" of SourceEdition?
    Do I need to create unique "SourceEdition" strings with "Ultimate" for each Target, I want to be able to upgrade to?
    Or I need one "TargetEdition" as "Ultimate", so "*" would include "Ultimate" for all Sources?
     
  14. liliactr

    liliactr MDL Addicted

    Sep 3, 2009
    553
    196
    30
    It was just for Windows 7 to Windows 7
     
  15. kibkalo

    kibkalo MDL Expert

    Sep 8, 2009
    1,025
    362
    60
    Sure, I understand that.
    I asked a question in "UpgradeMatrix.xml Fix Tool" cause am faced with a logical problem, which I can't understand, hope an author can.
    Why Ultimate upgrade to 26100 doesn't work under "*" for sourceedition?
    But it does work if I explicitly add
    Code:
    <SourceEdition ID="Ultimate" processorArchitecture="amd64" versionRange="win7" dataOnly="true" dataSetting="false" fullUpgrade="true" cleanInstall="true"/>
    
    <SourceEdition ID="UltimateN" processorArchitecture="amd64" versionRange="win7" dataOnly="true" dataSetting="false" fullUpgrade="false" cleanInstall="true"/>
     
  16. Ulti P. Uszer

    Ulti P. Uszer MDL Member

    Sep 18, 2019
    182
    64
    10
    @Enthousiast After making this modded ISO can you still make a Rufus installer flash drive with it ? Also, does the script work on a 3rd party AIO ISO that has many version choices in the install list?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,681
    103,573
    450
    I never use rufus for creating a bootable USB, and the amount of indexes should not matter but when the ISO is abused to much i can't stand for it to work.
     
  18. Ulti P. Uszer

    Ulti P. Uszer MDL Member

    Sep 18, 2019
    182
    64
    10
    @Enthousiast I tried this script on an 3rd party AIO ISO and it said it can keep nothing. I'm not knocking the script, but just trying to figure out what went wrong.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,681
    103,573
    450
    99.99% the "third" party iso;)

    Can you show the progress of the tool on the ISO?