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

    wuliyen MDL Member

    Oct 6, 2009
    120
    307
    10
    The new system is interwoven with various packages, and tweak.exe cannot handle it well, so it is not recommended.

    The effect of tweak.exe processing is very limited.

    You can compare the actual situation of the files before and after processing.
     
  2. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    488
    1,051
    10
    Hmm, good advice to look at the result before and after processing, so what will do the job well then?
    :thinking:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. wuliyen

    wuliyen MDL Member

    Oct 6, 2009
    120
    307
    10
    Release the image file to a folder, for example, 1, use tweak.exe operation, then release it to folder 2, and compare the file differences.

    Comparatively usable:
    WinMerge
    Beyond Compare
     
  4. wuliyen

    wuliyen MDL Member

    Oct 6, 2009
    120
    307
    10
    Simplifying the WINSXS folder results in the inability to update.
     
  5. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    488
    1,051
    10
    Hmm, well, I wrote about this above: https://forums.mydigitallife.net/threads/slimdown10-–-turn-windows-10-22h2-or-ltsc-2021-into-classic-legacy-windows.86552/page-144#post-1880351
    Everything is very simple: unzip this archive into the folder with the SunLion tool, also place the install.wim file from Winows 11 Enterprise LTSC 26100.1742 into this folder, then process the resulting file in the NTLite program with the script from SunLion - Presets_NTLite and at the output you will get the desired install.wim file for assembling Winows 11 IoT Enterprise LTSC with the updates that you apply in the SunLion tool.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    488
    1,051
    10
    #2887 sainfo, May 29, 2025
    Last edited: May 29, 2025
    This is not at all necessary, it depends on what to delete in this pack and, most importantly, how to delete it. By the way, I do not forcibly delete anything in my script in the WINSXS pack. Only by standard means:
    Code:
    ECHO.
    ECHO ====================================
    ECHO Resetting WinSxS of install.wim
    ECHO ====================================
    "%DISM11%" /English /Image:"%~dp0mount" /Cleanup-Image /StartComponentCleanup
    "%DISM11%" /English /Image:"%~dp0mount" /Cleanup-Image /StartComponentCleanup /ResetBase
    
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. rayman95

    rayman95 MDL Member

    Oct 3, 2018
    170
    115
    10
    is there a way to run this tweaks to a custom made 11 iso??
    I just use dism and winscript to remove most M$ apps and backup iso with dism++
    but the tool is from 2023, no more updates??
     
  8. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    488
    1,051
    10
    #2889 sainfo, May 30, 2025
    Last edited: May 30, 2025
    Food for thought (as an example): it is possible to remove applications using PowerShell.

    Code:
    Get-AppxPackage *3dbuilder* | Remove-AppxPackage # Uninstall 3dbuilder
    Get-AppxPackage *windowsalarms* | Remove-AppxPackage # Remove the alarm clock application.
    Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage # Uninstall People, Mail, and Calendar
    Get-AppxPackage *officehub* | Remove-AppxPackage # Remove Office Hub
    Get-AppxPackage *skypeapp* | Remove-AppxPackage # Remove Tiled Skype.
    Get-AppxPackage *getstarted* | Remove-AppxPackage # Remove Get Started
    Get-AppxPackage *zunemusic* | Remove-AppxPackage #Removing Tiled Music Player
    Get-AppxPackage *windowsmaps* | Remove-AppxPackage # Remove Maps
    Get-AppxPackage *bingfinance* | Remove-AppxPackage # Remove-AppxPackage
    Get-AppxPackage *zunevideo* | Remove-AppxPackage #Remove Tiled Video Player
    Get-AppxPackage *bingnews* | Remove-AppxPackage # Remove-AppxPackage
    Get-AppxPackage *onenote* | Remove-AppxPackage # Remove One Note
    Get-AppxPackage *windowsphone* | Remove-AppxPackage # Remove-AppxPackage # Remove Phone Communications
    Get-AppxPackage *photos* | Remove-AppxPackage #Delete Photos
    Get-AppxPackage *bingsports* | Remove-AppxPackage # Remove Sports
    Get-AppxPackage *soundrecorder* | Remove-AppxPackage # Remove-AppxPackage # Remove Sound Recorder
    Get-AppxPackage *bingweather* | Remove-AppxPackage #Remove Weather
    Get-AppxPackage Microsoft.MSPaint | Remove-AppxPackage # Remove Paint 3D (while regular Paint remains)
    Get-AppxPackage -allusers *messaging* | Remove-AppxPackage # Remove Windows Messenger
    
    
    Or via tweak.exe, whichever you prefer (as an example):
    Code:
    "%~dp0Tools\tweak.exe" /o /l
    "%~dp0Tools\tweak.exe" /o /c Microsoft-Windows-Cortana /r
    "%~dp0Tools\tweak.exe" /h /o /l
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-Xbox" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-OneCore-Gaming" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-OneCore-Indexer" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-Windows-Backup" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-Windows-Printing-XPSServices" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-Windows-Xps" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-Windows-TextPrediction" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-Windows-3DAudio" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-Windows-Media-Streaming" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-Windows-MiracastView" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-Windows-Printing-PrintToPDFServices" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-Windows-OneDrive" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-Windows-OfflineFiles" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-Windows-SnippingTool" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-Windows-Common-Modem" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-OneCore-CortanaComponents" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-Windows-Search2" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-Windows-SearchEngine" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-Windows-ContentDeliveryManager" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Windows-Defender" /r
    "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c "Microsoft-Huper-V" /r
    
    

    p.s. Personally, I'm waiting for a normal and well balanced updated Clear_Insider from SunLion. Because other colleagues prefer to keep silent about their talents.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    488
    1,051
    10
    #2890 sainfo, May 31, 2025
    Last edited: May 31, 2025
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. siliconbeaver

    siliconbeaver MDL Member

    Apr 29, 2022
    222
    150
    10
    my last test is 24H2 Pro version. I still have its DVD folder (and other folders, full folders under 24H2_Integrator).

    Is there a simple way I can change it to Home version? or I have to re-run the 24H2_Integrator procedure again (to select Home)?

    Thanks,
     
  11. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    488
    1,051
    10
    Hello, changing the edition from PRO to Home is unlikely to work. I don't have PRO, so I can't check it. But here are the instructions, give it a try. Maybe it will work for you...
    Code:
    Changing the Windows image release using DISM
    
    1. Open the command prompt as an administrator.
    
    Run DISM with the Get-ImageInfo parameter to obtain the name or index number for the image you want to change.
       
        Dism /Get-ImageInfo /ImageFile:D:\PRO\Sources\install.wim
    
    2. Mount the Windows image.
    
        dism /Mount-Wim /WimFile:D:\PRO\Sources\install.wim /index:1 /MountDir:D:\Mount
    
    3. Enter the following command to find the Windows edition that your image is currently configured for.
    
    Dism /Image:D:\Mount /Get-CurrentEdition
    
    4. Use the DISM Get-TargetEditions parameter to find the Windows editions that the image can be changed to.
    
    Dism /Image:D:\Mount /Get-TargetEditions
    
    5. Enter the following command, specifying the edition ID, to change the Windows image to a higher edition.
    
        Dism /Image:D:\Mount /Set-Edition:IoTEnterpriseS    ProfessionalWorkstation
    
    6. Check the image for errors
    
    Dism /Image:D:\Mount /Cleanup-Image /RestoreHealth
    
    7. Enter the following command to find the Windows edition that your image is currently configured for.
    
        Dism /Image:D:\Mount /Get-CurrentEdition
    
    8. Unmount the image, committing the changes.
    
    Dism /Unmount-Image /MountDir:D:\Mount /Commit
    
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. siliconbeaver

    siliconbeaver MDL Member

    Apr 29, 2022
    222
    150
    10
    HaHa,

    Then I will re-run to generate Home. Thanks,
     
  13. rayman95

    rayman95 MDL Member

    Oct 3, 2018
    170
    115
    10
    #2895 rayman95, May 31, 2025
    Last edited: May 31, 2025
    I ve tried to run the script with an iso created with Ms creation tool, but got error, saying it's not an original iso.. which version should I DL french iso??
     
  14. otvertka

    otvertka MDL Novice

    Aug 13, 2009
    29
    44
    0
    Not with the iso file, try putting the install.wim file in the folder.
     
  15. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    488
    1,051
    10
    Who is this written for? - Readme is a must read!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    488
    1,051
    10
    #2899 sainfo, May 31, 2025
    Last edited: May 31, 2025
    In essence, those drivers that you do not need for work are removed. Actually, the script was provided as an example. So that users could see the principle of processing the install.wim image that I provided. If you have ideas on what needs to be removed from the script or what can be added to the script - offer your options.

    p.s. I repeat that I am interested in processing only the install.wim file and only the Slim variant and nothing else. Therefore, there is nothing "extra" in the script, that is why the script is composed in such a way.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. otvertka

    otvertka MDL Novice

    Aug 13, 2009
    29
    44
    0
    #2900 otvertka, May 31, 2025
    Last edited: May 31, 2025
    what do you think about removing defender, webview2 (legacy) and smart screen? wouldn't it be beneficial for iso size?

    Very interesting sainfo, the install.wim file I obtained with your codes was 3.91 gb, I removed defender and webview with NTLITE and the size was 3.91 gb again