Slimdown10 – turn Windows 10 22H2 or LTSC 2021 into classic/legacy Windows

Discussion in 'Windows 10' started by Deleted member 190847, Feb 15, 2023.

  1. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,528
    14,535
    120
    #2061 Mavericks Choice, Jan 26, 2025
    Last edited: Jan 26, 2025
    View attachment 70614
    Tested above with:
    en-us_windows_11_business_editions_version_24h2_x64_dvd_59a1851e Works great.
    Tried it with 26100.1.240331-1435.GE_RELEASE_CLIENTPRO_OEMRET_X64FRE_EN-US Install complains of missing driver on boot? If I substitute the previous boot.wim from the bus edition it works!
    Noticed when the script terminates it renames the orig image to "ISO" without an extension?

    Miss M Dvr.jpg


    ISO.jpg
     
  2. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    321
    629
    10
    The author of the script, of course, knows better, but personally, I don’t see any deep meaning at all in the script working with the boot.wim file. If I could create something similar, I would limit the script to working only with the install.wim file. This would make the script itself simpler and more convenient. IMHO
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. SunLion

    SunLion MDL Addicted

    May 11, 2011
    952
    2,868
    30
    This error occurs with version 26100.1

    Use version 26100.1742 and everything will be fine

    Here I use:
    pt-br_windows_11_business_editions_version_24h2_x64_dvd_ecc90645.iso
    pt-br_windows_11_enterprise_ltsc_2024_x64_dvd_2bb6b75b_2.iso

    both are 26100.1742, lowered from masgrave.
     
  4. SunLion

    SunLion MDL Addicted

    May 11, 2011
    952
    2,868
    30
    I agree with you.

    Three tweaks were added to boot.wim, as suggested by sergey:
    - Add BypassTPM into Boot.wim 2
    - Create ei.cfg file configuration
    - Integrating DaRT into Boot.wim 2 (optional)

    I don't particularly like integrating DaRT into boot.wim, only into WinRE.wim.

    Anyway, I haven't had any problems with it so far.

    And the error reported by Mavericks Choice has nothing to do with editing boot.wim.

    It only occurs with the initial versions (26100.1).

    But with version 26100.1742 everything works fine, without errors.
     
  5. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,528
    14,535
    120
    It would depend on how you intend to install your OS, I prefer a minimal amount of files to produce a working desktop.
     
  6. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    321
    629
    10
    #2066 sainfo, Jan 27, 2025
    Last edited: Jan 27, 2025
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. DrakeBond

    DrakeBond MDL Novice

    Oct 28, 2020
    19
    21
    0
    #2067 DrakeBond, Jan 27, 2025
    Last edited: Jan 27, 2025
    Yes that fixed it for me.
    With version 26100.1742 everything works fine, without errors.
    You are the best. Thank you very much!
     
  8. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    321
    629
    10
    #2068 sainfo, Jan 27, 2025
    Last edited: Jan 27, 2025
    Perhaps this will be interesting to someone: for those who prefer to work with primary sources, that is, 26100.1, you can add localization files to the Integrator. In my case it is ru_RU. The UUP\Lang\ru-RU folder contains localization files (I have seven of them) and the UUP\Lang\FOD folder contains FOD files (I have eighty-three of them). As a result, we get a localized install.wim file, in this case it is ru-RU version 26100.2894.
    Code:
    
    echo.
    ECHO.
    ECHO ============================================================
    ECHO Integration of language packs and updates
    ECHO ============================================================
    "%DISM11%" /English /Image:"%~dp0mount" /Add-Package /PackagePath:"%~dp0\UUP\Lang\ru-RU"
    "%DISM11%" /English /Image:"%~dp0mount" /Add-Package /PackagePath:"%~dp0\UUP\Lang\FOD"
    
    echo.
    ECHO.
    ECHO ============================================================
    ECHO We apply all settings for the Russian language
    ECHO ============================================================
    "%DISM11%" /English /Image:"%~dp0mount" /Set-AllIntl:ru-RU
    
    echo.
    ECHO.
    ECHO ============================================================
    ECHO System interface language
    ECHO ============================================================
    "%DISM11%" /English /Image:"%~dp0mount" /Set-UILang:ru-RU
    
    echo.
    ECHO.
    ECHO ============================================================
    ECHO System locale language for non-Unicode
    ECHO ============================================================
    "%DISM11%" /English /Image:"%~dp0mount" /Set-SysLocale:ru-RU
    
    echo.
    ECHO.
    ECHO ============================================================
    ECHO Currency format, time format
    ECHO ============================================================
    "%DISM11%" /English /Image:"%~dp0mount" /Set-UserLocale:ru-RU
    
    echo.
    ECHO.
    ECHO ============================================================
    ECHO Keyboard input settings
    ECHO ============================================================
    "%DISM11%" /English /Image:"%~dp0mount" /Set-InputLocale:0419:00000419
    
    echo.
    ECHO.
    ECHO ============================================================
    ECHO Time zone
    ECHO ============================================================
    "%DISM11%" /English /Image:"%~dp0mount" /Set-TimeZone:"Russian Standard Time"
    
    echo.
    ECHO.
    ECHO ============================================================
    ECHO Installing Cumulative Update into install.wim
    ECHO ============================================================
    "%DISM11%" /English /Image:"%~dp0mount" /add-package /packagepath:"UUP\LCU"
    
    As you can see from the script, we place this code before the section - Installing Cumulative Update into install.wim
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. ashish1989

    ashish1989 MDL Addicted

    Sep 20, 2013
    516
    117
    30
    Its very strange, in Windows 10 and 11 earlier scripts, it never worked and even in Windows 10 too which I am using, the default combination keys to take the screenshot never works. Maybe after incorporating @sergey130270 integrator script the combination keys to take screenshot is working well. Sad for Windows 10..............
     
  10. fs2com

    fs2com MDL Member

    Oct 14, 2009
    146
    88
    10
    I can't say about other windows version, I only try SunLion Script with Windows 11 IOT Enterprise LTSC 24H2 and it works great so far (my main OS for 4 days now). As of now I mainly watch live tv stream, YT and gaming. Will doing other stuff on upcoming weeks.

    ps: I usually use ShareX for screenshot purposes, maybe you can try that instead.
     
  11. SunLion

    SunLion MDL Addicted

    May 11, 2011
    952
    2,868
    30
    Fixed the script once again.

    Still missing was the inclusion of the sxs folder so that NetFX3 could be enabled.

    Tested and working.

    Please do your tests...

    If anything is still missing, let me know.

    Good luck!
     

    Attached Files:

  12. SunLion

    SunLion MDL Addicted

    May 11, 2011
    952
    2,868
    30
    I'll try this with 26100.1 and test...

    Thanks for your help!
     
  13. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    321
    629
    10
    Hmm, this is really strange. I can’t say for all versions of Windows, because I don’t remember how it was on the releases of Win98 >>> Win7, but Win10 >>> Win11 I always took a screenshot of the screen using the Win+Screen keys by default.
    :g:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    321
    629
    10
    #2074 sainfo, Jan 27, 2025
    Last edited: Jan 27, 2025
    I have used this many times, the localization of the install.wim file is complete. Of course, the localization of the boot.wim file could also be added here. I just didn't need it because I'm using an already localized boot.wlm file with index 1 removed.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    321
    629
    10
    #2076 sainfo, Jan 28, 2025
    Last edited: Jan 28, 2025
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    321
    629
    10
    Thank you very much, my goal is to get an install.wim file of minimal size, but without losing the main functions of the OS.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. SunLion

    SunLion MDL Addicted

    May 11, 2011
    952
    2,868
    30
    Examining the Works.cmd script, I found two things that you could check/modify:

    1 - When you DO NOT enable NetFX3, it is not necessary to "Reapplying Package Cumulative Update..."

    2 - There are two identical codes in the script, but with different lists of apps NOT to remove:

    - line 170: "Removing Provisioned AppxPackages from Disk"

    - line 818: "Remove Provisioned AppxPackages"

    You should remove one of them and update the list of apps that you want to keep in the install.wim (not remove)

    For now, that's all I've noticed...

    I'll still do the tests...