[GUIDE] [DISCUSSION] Windows Editions Reconstructions

Discussion in 'Windows 10' started by TesterMachineOS, Sep 3, 2024.

  1. Low Level Perform

    Low Level Perform MDL Junior Member

    Jul 21, 2024
    72
    66
    0
    I just did everything as instructed and made sure nothing was overlooked.
    And your script worked, so anyone who tries to do what I did will definitely succeed.:rolleyes:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Javac75

    Javac75 MDL Member

    Mar 16, 2015
    222
    297
    10
    #1402 Javac75, Jan 23, 2025
    Last edited: Jan 23, 2025
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Javac75

    Javac75 MDL Member

    Mar 16, 2015
    222
    297
    10
    I'm not looking for a baseline, but am gathering traces to determine what to do next.
    But indeed the last trace is in version .1128. Must extract and save the good ones to later use to cover the weaknesses of the next version.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,819
    14,522
    340
    #1405 xinso, Jan 23, 2025
    Last edited: Jan 24, 2025
    Q: How to efficiently install FoDs on ARM64?

    Some all-in-one; some seperated.

    When all-in-one, easy. Just install arm64.
    When seperated, if install by same folder, it will install arm64.x86 ahead of arm64 = FAILED.

    So?
     
  5. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,819
    14,522
    340
    #1406 xinso, Jan 24, 2025
    Last edited: Jan 24, 2025
    [26100.2894 Windows 11 IoT Enterprise LTSC (OEM_NONSLP with Edge without Store) arm64 zh-TW]
    Code:
    WIM XML Information:
    ---------------------------
    <WIM>
      <TOTALBYTES>4419345904</TOTALBYTES>
      <IMAGE INDEX="1">
        <DIRCOUNT>34721</DIRCOUNT>
        <FILECOUNT>105263</FILECOUNT>
        <TOTALBYTES>19334418052</TOTALBYTES>
        <HARDLINKBYTES>9266566476</HARDLINKBYTES>
        <CREATIONTIME>
          <HIGHPART>0x01DB6E5E</HIGHPART>
          <LOWPART>0x84C485FD</LOWPART>
        </CREATIONTIME>
        <LASTMODIFICATIONTIME>
          <HIGHPART>0x01DB6E63</HIGHPART>
          <LOWPART>0x0A53C16D</LOWPART>
        </LASTMODIFICATIONTIME>
        <WIMBOOT>0</WIMBOOT>
        <WINDOWS>
          <ARCH>12</ARCH>
          <PRODUCTNAME>Microsoft® Windows® Operating System</PRODUCTNAME>
          <EDITIONID>IoTEnterpriseS</EDITIONID>
          <INSTALLATIONTYPE>Client</INSTALLATIONTYPE>
          <SERVICINGDATA>
            <IMAGESTATE>IMAGE_STATE_GENERALIZE_RESEAL_TO_OOBE</IMAGESTATE>
            <GDRDUREVISION>0</GDRDUREVISION>
            <PKEYCONFIGVERSION>10.0.26100.2894;2016-01-01T00:00:00Z</PKEYCONFIGVERSION>
          </SERVICINGDATA>
          <PRODUCTTYPE>WinNT</PRODUCTTYPE>
          <PRODUCTSUITE>Terminal Server</PRODUCTSUITE>
          <LANGUAGES>
            <LANGUAGE>zh-TW</LANGUAGE>
            <FALLBACK LANGUAGE="zh-TW">en-US</FALLBACK>
            <DEFAULT>zh-TW</DEFAULT>
          </LANGUAGES>
          <VERSION>
            <MAJOR>10</MAJOR>
            <MINOR>0</MINOR>
            <BUILD>26100</BUILD>
            <SPBUILD>2894</SPBUILD>
            <SPLEVEL>0</SPLEVEL>
            <BRANCH>ge_release</BRANCH>
          </VERSION>
          <SYSTEMROOT>WINDOWS</SYSTEMROOT>
        </WINDOWS>
        <NAME>Windows 11 IoT Enterprise LTSC 2024 (OEM_NONSLP with Edge without Store)</NAME>
        <DESCRIPTION>Windows 11 IoT Enterprise LTSC 2024 (OEM_NONSLP with Edge without Store)</DESCRIPTION>
        <FLAGS>IoTEnterpriseS</FLAGS>
        <DISPLAYNAME>Windows 11 IoT Enterprise LTSC (OEM_NONSLP with Edge without Store)</DISPLAYNAME>
        <DISPLAYDESCRIPTION>26100.2894 Windows 11 IoT Enterprise LTSC (OEM_NONSLP with Edge without Store)</DISPLAYDESCRIPTION>
      </IMAGE>
    </WIM>
    
     
  6. Javac75

    Javac75 MDL Member

    Mar 16, 2015
    222
    297
    10
    xinso, Is there any tools that can expand these files?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Javac75

    Javac75 MDL Member

    Mar 16, 2015
    222
    297
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. gearman

    gearman MDL Novice

    Sep 12, 2009
    47
    18
    0
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Javac75

    Javac75 MDL Member

    Mar 16, 2015
    222
    297
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Low Level Perform

    Low Level Perform MDL Junior Member

    Jul 21, 2024
    72
    66
    0
    What about MUIRCT? is this tool Stone Age? :confused:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Javac75

    Javac75 MDL Member

    Mar 16, 2015
    222
    297
    10
    These files are in msdelta compression format. We need msdelta expand.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,819
    14,522
    340
    Did you mean reverting "f" to "full"? If yes, two ways:
    1. Ask iamaHUN the way to revert the package.
    2. Add CU and extract the package.
     
  13. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,819
    14,522
    340
  14. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,819
    14,522
    340
    #1416 xinso, Jan 24, 2025
    Last edited: Jan 25, 2025
    Q: How to extract 26100 ARM64 SSU and CU?

    Is there psfextractor.exe for ARM64?

    Q: If none, where is its temporary folders?
    A: In target image's \Windows\Temp,
    metadata\Windows11.0-KB5043080-arm64 (mum\cat and manifest = Windows11.0-KB5043080-arm64.wim)
    +
    Package_for_RollupFix~~arm64~~26100.1742.1.10 (Folders = Windows11.0-KB5043080-arm64.psf)
    =
    Windows11.0-KB5043080-arm64.esd

    PS:
    They will be deleted when update finished. So? Pause it while it is updating (the second phase\line).
    Code:
    C:\WINDOWS\system32>dism /english /logpath:z:\1.log /image:K: /add-package:z:\Windows11.0-KB5050009-arm64-2894.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.26100.1742
    
    Processing 1 of 1 - Expand
    [==========================100.0%==========================]
    [=====                      10.0%                          ]
    
    
    Q: What's the command line(s)? Where's the log?

    [26100.2894 Windows 11 IoT Enterprise Subscription LTSC (OEM_DM with Edge without Store) arm64 sr-LATN-RS]
    Code:
    WIM XML Information:
    ---------------------------
    <WIM>
      <TOTALBYTES>4685324669</TOTALBYTES>
      <IMAGE INDEX="1">
        <DIRCOUNT>25538</DIRCOUNT>
        <FILECOUNT>105848</FILECOUNT>
        <TOTALBYTES>19964812109</TOTALBYTES>
        <HARDLINKBYTES>9016204289</HARDLINKBYTES>
        <CREATIONTIME>
          <HIGHPART>0x01DB6F09</HIGHPART>
          <LOWPART>0xD31B151C</LOWPART>
        </CREATIONTIME>
        <LASTMODIFICATIONTIME>
          <HIGHPART>0x01DB6F09</HIGHPART>
          <LOWPART>0xEE83C33F</LOWPART>
        </LASTMODIFICATIONTIME>
        <WIMBOOT>0</WIMBOOT>
        <WINDOWS>
          <ARCH>12</ARCH>
          <PRODUCTNAME>Microsoft® Windows® Operating System</PRODUCTNAME>
          <EDITIONID>IoTEnterpriseSK</EDITIONID>
          <INSTALLATIONTYPE>Client</INSTALLATIONTYPE>
          <SERVICINGDATA>
            <IMAGESTATE>IMAGE_STATE_GENERALIZE_RESEAL_TO_OOBE</IMAGESTATE>
            <GDRDUREVISION>0</GDRDUREVISION>
            <PKEYCONFIGVERSION>10.0.26100.2894;2016-01-01T00:00:00Z</PKEYCONFIGVERSION>
          </SERVICINGDATA>
          <PRODUCTTYPE>WinNT</PRODUCTTYPE>
          <PRODUCTSUITE>Terminal Server</PRODUCTSUITE>
          <LANGUAGES>
            <LANGUAGE>sr-Latn-RS</LANGUAGE>
            <FALLBACK LANGUAGE="sr-Latn-RS">en-US</FALLBACK>
            <DEFAULT>sr-Latn-RS</DEFAULT>
          </LANGUAGES>
          <VERSION>
            <MAJOR>10</MAJOR>
            <MINOR>0</MINOR>
            <BUILD>26100</BUILD>
            <SPBUILD>2894</SPBUILD>
            <SPLEVEL>0</SPLEVEL>
            <BRANCH>ge_release</BRANCH>
          </VERSION>
          <SYSTEMROOT>WINDOWS</SYSTEMROOT>
        </WINDOWS>
        <NAME>Windows 11 IoT Enterprise Subscription LTSC 2024 (OEM_DM with Edge without Store)</NAME>
        <DESCRIPTION>Windows 11 IoT Enterprise Subscription LTSC 2024 (OEM_DM with Edge without Store)</DESCRIPTION>
        <FLAGS>IoTEnterpriseSK</FLAGS>
        <DISPLAYNAME>Windows 11 IoT Enterprise Subscription LTSC (OEM_DM with Edge without Store)</DISPLAYNAME>
        <DISPLAYDESCRIPTION>26100.2894 Windows 11 IoT Enterprise Subscription LTSC (OEM_DM with Edge without Store)</DISPLAYDESCRIPTION>
      </IMAGE>
    </WIM>
    
     
  15. TesterMachineOS

    TesterMachineOS MDL Addicted

    Apr 20, 2021
    620
    353
    30
    @Javac75
    Code:
    @echo off
    pushd "%~dp0"
    sxsexp\sxsexp64.exe EnterpriseS-Manifests EnterpriseS-SxSExp
    pause
    In this case you just need to expand from one directory to another.
     
  16. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,900
    1,579
    60
    Can you post a working example using one of these files
    Code:
    autopilotdiag.dll.mui
    bcdboot.exe.mui
    mofcomp.exe.mui
    mofd.dll.mui
    ncprov.dll.mui
    tpmcoreprovisioning.dll.mui
    winmgmtr.dll.mui
    winspool.drv.mui
    wmiapres.dll.mui
    wmiapsrv.exe.mui
    wmiutils.dll.mui
    
    or a .mum file or a .manifest file please

    Thanks in advance.
     
  17. TesterMachineOS

    TesterMachineOS MDL Addicted

    Apr 20, 2021
    620
    353
    30
    #1419 TesterMachineOS, Jan 25, 2025
    Last edited: Jan 25, 2025
    (OP)
    I have tested this a long time ago. In the 22000.1 EnterpriseS build, it uses PureSxS + SXEXP

    If you try to do it in a directory that does not have a .manifest, the application will flag an error..

    Now, if you try it with a folder with several .mum, .manifest, .cat files, it will only expand and copy the .manifest files, but it will not copy .mum files. It may copy folders, but they will be empty..

    The ideal is to copy all the .manifest files, place them in a folder, and create another folder for the output of the already expanded .manifest files.

    An example is the following:

    Here you are trying to expand sxs files, the folder has .mum, cat and manifest files.

    there are only 6 .manifest files

    Code:
    SXSEXP v1.4.2 from Jun 30 2024, (c) 2016 - 2024 hfiref0x
    Expand compressed files from WinSxS folder (DCD01, DCN01, DCM01, DCS01 formats).
    
    SXSEXP: Loaded MsDelta.dll
    C:\Windows\SYSTEM32\msdelta.dll
    Processing target path: SXS_Original
    
    SXS_Original\amd64_microsoft-onecore-i..ns-wow64-deployment_31bf3856ad364e35_10.0.22621.1_none_969ed9e5e1f929db.manifest => SXS_Expand\amd64_microsoft-onecore-i..ns-wow64-deployment_31bf3856ad364e35_10.0.22621.1_none_969ed9e5e1f929db.manifest
    File size               137 bytes
    
    DCM_HEADER found, querying delta information
    
    DELTA_HEADER_INFO
    
     FileTypeSet            0x0000000000000001      DELTA_FILE_TYPE_RAW
     FileType               0x0000000000000001      DELTA_FILE_TYPE_RAW
     Flags                  0x0000000000020000      DELTA_FLAG_IGNORE_FILE_SIZE_LIMIT
     TargetSize             0x0000000000000353
     TargetFileTime         0xD5D71680:019DB1DE     20:00:01, 31 Dec 1969
     TargetHashAlgId        0x00000000
     TargetHash->HashSize   0x00000000
    
    Operation Successful
    
    SXS_Original\amd64_microsoft-windows-m..nt-wow64-deployment_31bf3856ad364e35_10.0.22621.1_none_4ab0b2ea0200b09a.manifest => SXS_Expand\amd64_microsoft-windows-m..nt-wow64-deployment_31bf3856ad364e35_10.0.22621.1_none_4ab0b2ea0200b09a.manifest
    File size               135 bytes
    
    DCM_HEADER found, querying delta information
    
    DELTA_HEADER_INFO
    
     FileTypeSet            0x0000000000000001      DELTA_FILE_TYPE_RAW
     FileType               0x0000000000000001      DELTA_FILE_TYPE_RAW
     Flags                  0x0000000000020000      DELTA_FLAG_IGNORE_FILE_SIZE_LIMIT
     TargetSize             0x0000000000000377
     TargetFileTime         0xD5D71680:019DB1DE     20:00:01, 31 Dec 1969
     TargetHashAlgId        0x00000000
     TargetHash->HashSize   0x00000000
    
    Operation Successful
    
    SXS_Original\amd64_microsoft-windows-w..lc-wow64-deployment_31bf3856ad364e35_10.0.22621.1_none_7aaa19c09a589ebd.manifest => SXS_Expand\amd64_microsoft-windows-w..lc-wow64-deployment_31bf3856ad364e35_10.0.22621.1_none_7aaa19c09a589ebd.manifest
    File size               115 bytes
    
    DCM_HEADER found, querying delta information
    
    DELTA_HEADER_INFO
    
     FileTypeSet            0x0000000000000001      DELTA_FILE_TYPE_RAW
     FileType               0x0000000000000001      DELTA_FILE_TYPE_RAW
     Flags                  0x0000000000020000      DELTA_FLAG_IGNORE_FILE_SIZE_LIMIT
     TargetSize             0x0000000000000343
     TargetFileTime         0xD5D71680:019DB1DE     20:00:01, 31 Dec 1969
     TargetHashAlgId        0x00000000
     TargetHash->HashSize   0x00000000
    
    Operation Successful
    
    SXS_Original\Microsoft-Onecore-Identity-TenantRestrictions-WOW64-Package~31bf3856ad364e35~amd64~~10.0.22621.1.cat => SXS_Expand\Microsoft-Onecore-Identity-TenantRestrictions-WOW64-Package~31bf3856ad364e35~amd64~~10.0.22621.1.cat
    File size               10835 bytes
    File format is unknown, skipping
    
    SXS_Original\Microsoft-Onecore-Identity-TenantRestrictions-WOW64-Package~31bf3856ad364e35~amd64~~10.0.22621.1.mum => SXS_Expand\Microsoft-Onecore-Identity-TenantRestrictions-WOW64-Package~31bf3856ad364e35~amd64~~10.0.22621.1.mum
    File size               905 bytes
    File format is unknown, skipping
    
    SXS_Original\Microsoft-Windows-EditionSpecific-EnterpriseS-WOW64-Package~31bf3856ad364e35~amd64~~10.0.22621.1.cat => SXS_Expand\Microsoft-Windows-EditionSpecific-EnterpriseS-WOW64-Package~31bf3856ad364e35~amd64~~10.0.22621.1.cat
    File size               9982 bytes
    File format is unknown, skipping
    
    SXS_Original\Microsoft-Windows-EditionSpecific-EnterpriseS-WOW64-Package~31bf3856ad364e35~amd64~~10.0.22621.1.mum => SXS_Expand\Microsoft-Windows-EditionSpecific-EnterpriseS-WOW64-Package~31bf3856ad364e35~amd64~~10.0.22621.1.mum
    File size               1916 bytes
    File format is unknown, skipping
    
    SXS_Original\Microsoft-Windows-EditionSpecific-EnterpriseS-WOW64-removable-Package~31bf3856ad364e35~amd64~~10.0.22621.1.cat => SXS_Expand\Microsoft-Windows-EditionSpecific-EnterpriseS-WOW64-removable-Package~31bf3856ad364e35~amd64~~10.0.22621.1.cat
    File size               10013 bytes
    File format is unknown, skipping
    
    SXS_Original\Microsoft-Windows-EditionSpecific-EnterpriseS-WOW64-removable-Package~31bf3856ad364e35~amd64~~10.0.22621.1.mum => SXS_Expand\Microsoft-Windows-EditionSpecific-EnterpriseS-WOW64-removable-Package~31bf3856ad364e35~amd64~~10.0.22621.1.mum
    File size               1358 bytes
    File format is unknown, skipping
    
    SXS_Original\Microsoft-Windows-Management-SecureAssessment-WOW64-Package~31bf3856ad364e35~amd64~~10.0.22621.1.cat => SXS_Expand\Microsoft-Windows-Management-SecureAssessment-WOW64-Package~31bf3856ad364e35~amd64~~10.0.22621.1.cat
    File size               10907 bytes
    File format is unknown, skipping
    
    SXS_Original\Microsoft-Windows-Management-SecureAssessment-WOW64-Package~31bf3856ad364e35~amd64~~10.0.22621.1.mum => SXS_Expand\Microsoft-Windows-Management-SecureAssessment-WOW64-Package~31bf3856ad364e35~amd64~~10.0.22621.1.mum
    File size               905 bytes
    File format is unknown, skipping
    
    SXS_Original\Microsoft-Windows-win32calc-WOW64-Package~31bf3856ad364e35~amd64~~10.0.22621.1.cat => SXS_Expand\Microsoft-Windows-win32calc-WOW64-Package~31bf3856ad364e35~amd64~~10.0.22621.1.cat
    File size               10770 bytes
    File format is unknown, skipping
    
    SXS_Original\Microsoft-Windows-win32calc-WOW64-Package~31bf3856ad364e35~amd64~~10.0.22621.1.mum => SXS_Expand\Microsoft-Windows-win32calc-WOW64-Package~31bf3856ad364e35~amd64~~10.0.22621.1.mum
    File size               851 bytes
    File format is unknown, skipping
    
    SXS_Original\wow64_microsoft-windows-m..ent-platforminterop_31bf3856ad364e35_10.0.22621.1_none_888d31293176e6f6\Windows.Internal.Management.SecureAssessment.dll => SXS_Expand\wow64_microsoft-windows-m..ent-platforminterop_31bf3856ad364e35_10.0.22621.1_none_888d31293176e6f6\Windows.Internal.Management.SecureAssessment.dll
    File size               113664 bytes
    File format is unknown, skipping
    
    SXS_Original\wow64_microsoft-windows-m..ent-platforminterop_31bf3856ad364e35_10.0.22621.1_none_888d31293176e6f6.manifest => SXS_Expand\wow64_microsoft-windows-m..ent-platforminterop_31bf3856ad364e35_10.0.22621.1_none_888d31293176e6f6.manifest
    File size               774 bytes
    
    DCM_HEADER found, querying delta information
    
    DELTA_HEADER_INFO
    
     FileTypeSet            0x0000000000000001      DELTA_FILE_TYPE_RAW
     FileType               0x0000000000000001      DELTA_FILE_TYPE_RAW
     Flags                  0x0000000000020000      DELTA_FLAG_IGNORE_FILE_SIZE_LIMIT
     TargetSize             0x0000000000001AEA
     TargetFileTime         0xD5D71680:019DB1DE     20:00:01, 31 Dec 1969
     TargetHashAlgId        0x00000000
     TargetHash->HashSize   0x00000000
    
    Operation Successful
    
    SXS_Original\wow64_microsoft-windows-win32calc_31bf3856ad364e35_10.0.22621.1_none_b59995383fd556a8\win32calc.exe => SXS_Expand\wow64_microsoft-windows-win32calc_31bf3856ad364e35_10.0.22621.1_none_b59995383fd556a8\win32calc.exe
    File size               589824 bytes
    File format is unknown, skipping
    
    SXS_Original\wow64_microsoft-windows-win32calc_31bf3856ad364e35_10.0.22621.1_none_b59995383fd556a8.manifest => SXS_Expand\wow64_microsoft-windows-win32calc_31bf3856ad364e35_10.0.22621.1_none_b59995383fd556a8.manifest
    File size               1109 bytes
    
    DCM_HEADER found, querying delta information
    
    DELTA_HEADER_INFO
    
     FileTypeSet            0x0000000000000001      DELTA_FILE_TYPE_RAW
     FileType               0x0000000000000001      DELTA_FILE_TYPE_RAW
     Flags                  0x0000000000020000      DELTA_FLAG_IGNORE_FILE_SIZE_LIMIT
     TargetSize             0x0000000000001A8C
     TargetFileTime         0xD5D71680:019DB1DE     20:00:01, 31 Dec 1969
     TargetHashAlgId        0x00000000
     TargetHash->HashSize   0x00000000
    
    Operation Successful
    
    SXS_Original\wow64_tenantrestrictions-plugin_31bf3856ad364e35_10.0.22621.1_none_d1fdf5878c7b7306\TenantRestrictionsPlugin.dll => SXS_Expand\wow64_tenantrestrictions-plugin_31bf3856ad364e35_10.0.22621.1_none_d1fdf5878c7b7306\TenantRestrictionsPlugin.dll
    File size               85352 bytes
    File format is unknown, skipping
    
    SXS_Original\wow64_tenantrestrictions-plugin_31bf3856ad364e35_10.0.22621.1_none_d1fdf5878c7b7306.manifest => SXS_Expand\wow64_tenantrestrictions-plugin_31bf3856ad364e35_10.0.22621.1_none_d1fdf5878c7b7306.manifest
    File size               375 bytes
    
    DCM_HEADER found, querying delta information
    
    DELTA_HEADER_INFO
    
     FileTypeSet            0x0000000000000001      DELTA_FILE_TYPE_RAW
     FileType               0x0000000000000001      DELTA_FILE_TYPE_RAW
     Flags                  0x0000000000020000      DELTA_FLAG_IGNORE_FILE_SIZE_LIMIT
     TargetSize             0x0000000000000A12
     TargetFileTime         0xD5D71680:019DB1DE     20:00:01, 31 Dec 1969
     TargetHashAlgId        0x00000000
     TargetHash->HashSize   0x00000000
    
    Operation Successful
    Enter to exit . . .
    which is why here in the code you only see 6 times that it expands the manifest files.

    Recommendation -> just put .manifest files in a folder and SxSExp will not fail and will do its job without problems.
     
  18. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,900
    1,579
    60
    I don't understand this part.