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 Addicted

    May 11, 2011
    687
    1,706
    30
    I run the tests in VirtualBox and I didn't receive any alerts of this type. There is also no need to do anything regarding the TPM.
     
  2. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    276
    298
    10
    #1642 sergey130270, Oct 13, 2024
    Last edited: Oct 13, 2024
    Update the boot.wim index2 sources folder and the installation image sources folder with Windows11.0-KB5046339-x64.cab update and everything will be fine.

    @echo off

    Pushd "%~dp0" >nul
    CD /d "%~dp0" >nul

    :: Detect [OS Architecture
    IF EXIST "%WinDir%\SysWOW64" (set "arch=x64") else (set "arch=x86")

    :: Setting environment path for the Windows setup
    Set "Mount=%~dp0Mount"
    Set "BootMount=%Mount%\Boot"
    Set "BootWim=%~dp0DVD\sources\boot.wim"
    Set "InstallMount=%Mount%\Install"
    Set "WIM=%~dp0DVD\sources\install.wim"
    Set "ImageDefaultLanguage:="

    :: Setting dependent tools environment path variables
    Set "DISM=%~dp0Bin\DISM\dism.exe"

    SET "index=2"
    ECHO.
    ECHO =====================================================================================================
    ECHO Mounting Image %index%
    ECHO =====================================================================================================
    IF Exist "%BootMount%" RD "%BootMount%"
    IF not Exist "%BootMount%" mkdir "%BootMount%"
    "%DISM%" /english /Get-WimInfo /WimFile:"%BootWim%"
    "%DISM%" /english /Mount-Wim /WimFile:"%BootWim%" /index:"%index%" /MountDir:"%BootMount%"


    ECHO.
    ECHO =====================================================================================================
    ECHO Extracting Setup Media Update to sources boot.wim
    ECHO =====================================================================================================
    Expand -R "Updates\SetupMedia\*.cab" -F:* "%BootMount%\sources" >nul
    For /d %%i in (ar-SA,bg-BG,ca-ES,cs-CZ,da-DK,de-DE,el-GR,en-GB,es-ES,es-MX,et-EE,eu-ES,fi-FI,fr-CA,fr-FR,gl-ES,he-IL,hr-HR,hu-HU,id-Id,it-IT,ja-JP,ko-KR,lt-LT,lv-LV,nb-NO,nl-NL,pl-PL,pt-BR,pt-PT,ro-RO,sk-SK,sl-SI,sr-Latn-RS,sv-SE,th-TH,tr-TR,uk-UA,vi-VN,zh-CN,zh-HK,zh-TW) do (
    If "!ImageDefaultLanguage:~1!" neq "%%i" RD /q /s "%BootMount%\sources\%%i" >nul 2>&1
    )

    :: Unmounting image
    "%DISM%" /Unmount-Wim /MountDir:"%BootMount%" /commit

    ECHO.
    ECHO ================================================================================
    ECHO Extracting Setup Media Update to [DVD] folder
    ECHO ================================================================================
    Expand -R "Updates\SetupMedia\*.cab" -F:* "DVD\sources" >nul
    For /d %%i in (ar-SA,bg-BG,ca-ES,cs-CZ,da-DK,de-DE,el-GR,en-GB,es-ES,es-MX,et-EE,eu-ES,fi-FI,fr-CA,fr-FR,gl-ES,he-IL,hr-HR,hu-HU,id-Id,it-IT,ja-JP,ko-KR,lt-LT,lv-LV,nb-NO,nl-NL,pl-PL,pt-BR,pt-PT,ro-RO,sk-SK,sl-SI,sr-Latn-RS,sv-SE,th-TH,tr-TR,uk-UA,vi-VN,zh-CN,zh-HK,zh-TW) do (
    If "!ImageDefaultLanguage:~1!" neq "%%i" rd /q /s "DVD\sources\%%i" >nul 2>&1
    )

    ECHO.
    ECHO.
    ECHO All Finished.
    ECHO.
    ECHO Press any key to end the script.
    ECHO.
    Pause >nul
    Exit
     
  3. SunLion

    SunLion MDL Addicted

    May 11, 2011
    687
    1,706
    30
    Thanks for the help sergey.

    I suggest reading this thread on the subject as well:
    https://forums.mydigitallife.net/threads/windows-11-hotfix-repository.83741/page-125#post-1856754
     
  4. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,356
    13,997
    120
    Thank you for the script, having trouble locating a download link for this update KB5046339-x64.cab?
     
  5. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    276
    298
    10
  6. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,356
    13,997
    120
  7. SunLion

    SunLion MDL Addicted

    May 11, 2011
    687
    1,706
    30
  8. sainfo

    sainfo MDL Member

    Dec 6, 2021
    169
    241
    10
    #1649 sainfo, Oct 15, 2024
    Last edited: Oct 15, 2024
    Could you write in a nutshell what the online script is for? Perhaps this is exactly what I need, but I don’t know about it yet?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,589
    1,584
    150
    It runs online, directly on a Windows install.
     
  10. SunLion

    SunLion MDL Addicted

    May 11, 2011
    687
    1,706
    30
    Good morning.

    It does the same thing as slimdown10, but without some functions that are not possible, at least for now. In other words, all the tweaks are applied.
     
  11. SunLion

    SunLion MDL Addicted

    May 11, 2011
    687
    1,706
    30
    Edited the ONLINE script for better debugging.

    It seems to be better now.

    Download, rename to CMD and replace in the package.
     

    Attached Files:

  12. sainfo

    sainfo MDL Member

    Dec 6, 2021
    169
    241
    10
    That’s how it is, and I’m scratching my head here, why, well, why. And this is how it turns out. Now everything has become clear even to me. There was a good script by Slimdown, but no, we have to spoil it too. On this occasion they say: no matter what a child enjoys, as long as it does not cry. IMHO
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,356
    13,997
    120
    Another link to this update perhaps?
     
  14. monstrocity

    monstrocity MDL Junior Member

    Jun 4, 2016
    55
    34
    0
    @Mavericks Choice Sorry, my bad. I didn't check the file. (I usually just extract the .msu in 7zip.)
     
  15. sainfo

    sainfo MDL Member

    Dec 6, 2021
    169
    241
    10
    #1659 sainfo, Oct 17, 2024
    Last edited: Oct 17, 2024
    del
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,356
    13,997
    120
    Having a path issue, here is the layout. Have the win 11 files placed in DVD folder, or does it require an iso?
    Bootwim folder .jpg