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. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,210
    4,127
    60
    =====================
    24H2_Integrator_12.6
    =====================

    - Updated to 26100.4770 version

    - Updated all.txt
    - Fixed CreateDefault script
    - The script was split into two:
    - 24H2_CreateDefault_12.6.cmd
    - 24H2_CreateSlim_12.6.cmd
    - Several modifications were made to the scripts for better functionality.
    - In the Default script, the user can choose to enable or disable some options.
    - Some apps and tools are not installed correctly during installation, so I chose to add
    WPI24H2 to the package, which contains some essential apps and tools for installation after the desktop
    opens. It's up to the user to install it or not. To do so, simply leave it as is (selected)
    or uncheck what you don't want to install. Or, close WPI and don't install anything.


    Please read the Changelog.txt and README.txt files before using the script.

    https://forums.mydigitallife.net/th...ic-legacy-windows.86552/page-120#post-1872013

    Enjoy!
     
  2. siliconbeaver

    siliconbeaver MDL Member

    Apr 29, 2022
    243
    199
    10
    My test of the last 24H2_Integrator_12.6 script, slim version, passed on VM.

    Do I have to manually add ClassicPaint_for_Win11/snipping after install? or they are available only for Default version?
    My version is slim. And I couldn’t see them after install. however, they exist in "\24H2_Integrator_12.6\OEM\$OEM$\$$\Setup\APP\"



     
  3. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,210
    4,127
    60
    They should be copied to the APP folder and installed only on non-LTSC versions, which don't have these native apps.

    They are already present on LTSC versions.
     
  4. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,210
    4,127
    60
  5. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    536
    1,173
    30
    #3305 sainfo, Jul 29, 2025
    Last edited: Jul 29, 2025
    SunLion,
    Hello, could you please tell me how to move the install.wim file from the “Temp” folder (after it has been processed by the script) back to the “DVD\sources” folder?

    The “Wim” folder is located in the main folder, and the “Data\Temp” folder is located in its (temporary folder) subfolder.
    That is:
    c:\Integrator\Wim\install.wim :sporty75: c:\Integrator\Data\Temp\ :wallhead: ??? >>> :sporty75: c:\Integrator\DVD\sources
    :worthy:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,210
    4,127
    60
    Good morning Sainfo

    You can try with the full path, using the code below as an example:

     
  7. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    536
    1,173
    30
    Got it, thanks! But that's not what I was asking about. Moving or copying a file within the same folder (24H2_GamerOS) is very easy. But I needed to copy the install.wim file from the main folder (24H2_GamerOS\Wim) to a subfolder at (24H2_GamerOS\Data\Temp), where it is processed by a script, and after processing, I needed to return the install.wim file back to the main folder at the path 24H2_GamerOS\DVD\sources. If the Created.cmd and Start.cmd files are in the same (main) folder 24H2_GamerOS, this operation is very simple. But I would like to place the Start.cmd file in the main folder - 24H2_GamerOS, and the Created.cmd file is in the subfolder - Data. I tried to perform this operation in various ways, but so far I have not been able to do it. Perhaps I should just give up on this idea and leave the Created.cmd and Start.cmd files in the same (main) folder 24H2_GamerOS. In this case, everything works fine.

    Apparently, you can't always get what you want. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,210
    4,127
    60
    I'll try to simulate this here in your script to see what happens...
     
  9. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    536
    1,173
    30
    #3309 sainfo, Jul 29, 2025
    Last edited: Jul 29, 2025
    Thank you! The idea was to remove Created.cmd to the Data folder. So that it wouldn't be an eyesore. Maybe it was my stupid idea, but I wanted to...

    Actually, after moving the Created.cmd file to the Data folder, the script works fine. The only problem is that I can't move everything I need to move from the Data folder to the DVD folder while the script is running.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,210
    4,127
    60
    I ran a quick test to create the folders and everything went well.

    I had to use the full path for this.

    See the attachment.

    If you're going to use this, I think you'll need to adjust all the paths in the script.
     

    Attached Files:

  11. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    536
    1,173
    30
    #3311 sainfo, Jul 29, 2025
    Last edited: Jul 30, 2025
    No, you're not talking about that again. Apparently the online translator distorts my thoughts so much that it's very difficult for you to understand what I needed. Okay, let's move on, forget about it, I'll figure it out myself. What you wrote down, I do like this:
    Code:
    
    echo.
    echo ============================================================
    echo === Creating Mount Folders and Temporary Folders ===
    echo === Export wim file to temporary folder ===
    echo ============================================================
    echo.
    if exist "%~dp0Mount" (rmdir /q /s "%~dp0Mount")
    if exist "%~dp0Temp" (rmdir /q /s "%~dp0Temp")
    if exist Log\*.* (del /q /s Log\*.*)
    mkdir "%~dp0Mount" >NUL 2>&1
    mkdir "%~dp0Temp" >NUL 2>&1
    copy /y "%~dp0Wim\install.wim" "%~dp0Temp"
    
    echo.
    echo ============================================================
    echo === Mount the install.wim image ===
    echo ============================================================
    echo.
    "%DISM%" /english /Mount-Wim /WimFile:"%~dp0Temp\install.wim" /index:1 /MountDir:"%~dp0Mount"
    
    
    :shake:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    536
    1,173
    30
    #3312 sainfo, Jul 30, 2025
    Last edited: Jul 31, 2025
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. DrakeBond

    DrakeBond MDL Novice

    Oct 28, 2020
    35
    48
    0
    #3313 DrakeBond, Jul 31, 2025
    Last edited: Jul 31, 2025
    Good day/night everyone.
    Add your personal tweaks in folders CMD e/or REG

    *.cmd
    *.bat
    *.reg
    Add your personal settings to the CMD folders,
    SunLion
    Add your personal tweaks here how to do it all ?
     
  14. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,210
    4,127
    60
  15. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    536
    1,173
    30
    Hmm, it would take a long time to explain in detail. To simplify, please refer to my script version 24H2_UpdateOS_v.3.0 to see how I did it, and add it to your script using the same approach. In my case, the Hide, REG, Slim, and CMD folders are added with the corresponding scripts.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. wuliyen

    wuliyen MDL Member

    Oct 6, 2009
    127
    341
    10
    #3316 wuliyen, Aug 1, 2025
    Last edited: Aug 1, 2025
    For 24H2 and later versions, Svchost.cmd will not work
    Code:
    @echo off
    chcp 65001 >nul
    for /f "tokens=4 delims= " %%i in ('systeminfo ^| find /i "Total Physical Memory"') do (set mem=%%i)
    for /f "tokens=1 delims= " %%i in ('echo.%mem%') do (set memgb=%%i)
    set /a "memkb=%memgb%*1024*1024"
    reg add "HKLM\SYSTEM\ControlSet001\Control" /v "SvcHostSplitThresholdInKB" /t REG_DWORD /d "%memkb%" /f >nul
    exit /b
    Some registry files are incorrect, such as in System.reg:

    ; Disable NVDisplay Service
    [HKEY_LOCAL_MACHINE\WIM_SYSTEM\ControlSet001\Services\NVDisplay.ContainerLocalSystem]
    "Start"=dword:00000004

    WIM_SYSTEM is a format designed for offline imports
     
  17. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    536
    1,173
    30
    Perhaps I won't argue with you. I apply all these .reg files to the connected image, and judging by the registry values in the DISM++ program, all the values of the .reg files have been applied to the image registry. In other words, this program shows that the same registry entries on 25H2 have been executed as those that were once executed on 21H2 - 23H2.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. wuliyen

    wuliyen MDL Member

    Oct 6, 2009
    127
    341
    10
    Keep Svchost.cmd or delete it, have there been any changes after installation?
    Many of your registry contents are essentially repetitive, which may be why you believe they are all valid.
     
  19. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    291
    368
    10
    #3320 sergey130270, Aug 1, 2025
    Last edited: Aug 1, 2025
    Removing Client.CoreAI - breaks the search on the taskbar, it is directly responsible for the operation of intelligent search in Windows 11
    Find the line Client.CoreAI in your script and delete it and the taskbar search will work.
    These lines are approximately like this:

    setlocal EnableDelayedExpansion

    If "%RemoveTelemetryApps%"=="1" (
    echo.
    echo.
    echo ============================================================
    echo Remove SystemApps with telemetry from InboxApplications
    echo ============================================================
    echo.
    set "AppxKey=HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications"
    for %%i in (
    Client.AIX
    Client.CBS
    Client.CoreAI
    ) do (
    for /f %%a in ('reg query "!AppxKey!" /f %%i /k ^| find /i "InboxApplications"') do (
    reg delete "%%a" /f >nul 2>&1
    if "!ERRORLEVEL!"=="0" (
    echo [OK] Removed: %%i from %%a
    ) else (
    echo [ERROR] Failed to remove: %%i from %%a
    )
    )
    )
    )
    endlocal