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,155
    3,930
    60
    I initially decided not to remove these apps, as removing them was causing some conflict with Windows Installer.

    I'll test the online removal after Windows is installed.

    We'll see how it works.

    Cheers
     
  2. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,155
    3,930
    60
    I can't say for sure that this was the only cause of the Windows Installer issue.

    But integrating DirectX through the script and not removing the three problematic apps allowed Windows Installer to work properly again.

    We'll run more tests and see what we can do to improve the script.

    Thanks for your help!

    Cheers
     
  3. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,155
    3,930
    60
    Please try the new script.
     
  4. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,155
    3,930
    60
    Testing again, this time adding the code to remove Click to Do, Get Started, and Windows Backup.

    This time everything went smoothly, without errors.

    Here is the updated slim script (attached)

    PS. The published package will also be replaced.
     

    Attached Files:

  5. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,155
    3,930
    60
  6. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,735
    15,204
    120
    @SunLion Re downloaded package & ran script appears created default modern calc is not working & some of the apps pictured still exist.
    see attached.
     

    Attached Files:

  7. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,155
    3,930
    60
    Yes, that's right.

    The Default script doesn't remove these apps.

    Removing these apps will disable Windows Search and other features.

    They're only removed by the Slim script.

    I'll consider having an alternative in Default mode.
     
  8. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,155
    3,930
    60
    Please test this modified script to see if it removes the apps.

    However, removing these apps will disable Windows Search.

    See if it works for you.
     

    Attached Files:

  9. siliconbeaver

    siliconbeaver MDL Member

    Apr 29, 2022
    229
    173
    10
    Thank SunLion for the update.

    yeah,
    those unnecessary icons are removed, in my slim script retest.

    upload_2025-7-21_18-7-45.png
    .

     
  10. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,735
    15,204
    120
    @SunLion receiving a script shutdown just prior "Remove System UWP Apps from Registry" finishing?
    See log attached.
     

    Attached Files:

  11. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,681
    1,697
    150
    #3271 tcntad, Jul 22, 2025 at 10:02
    Last edited: Jul 22, 2025 at 10:09
    You can change "echo off" to "echo on" at the very top and the console window will output everything, this way you'll see exactly where it fails hopefuly



    Long shot, open script and find and remove this line, save and try again

    ":: by freddie-o - For Windows 11 --- These lines will prevent the SystemApps (with telemetry) from getting deployed during Windows setup"

    change this
    ECHO Delete SystemApps with telemetry from InboxApplications to prevent them getting deployed
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,155
    3,930
    60
    Please do a test that this is fixed.
     

    Attached Files:

  13. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,735
    15,204
    120
    The fixed script ran without an error, I'm certainly not thrilled by Win11 yet, but I'm working on it! @ SunLion Thank you for your tireless work on this.
     
  14. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    512
    1,114
    30
    Hello, I am not entirely sure I understand your point regarding:
    Code:
    copy /y “%~dp0PersonalTweaks\REG\*.reg” “%~dp0Tweaks”
    and
    Code:
    copy /y “%~dp0PersonalTweaks\REG\*.reg” “%~dp0OEM\$OEM$\$$\Setup\REG” >nul
    Why apply the same .reg files twice? Directly to the connected image and then again when installing the OS? When .reg files are applied to the connected image and .cmd files are applied when installing the OS, it is clear and correct, in my opinion. But the way you are doing it, the purpose of these operations is not clear at all. Please explain it to me, a simple-minded person...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. wuliyen

    wuliyen MDL Member

    Oct 6, 2009
    124
    334
    10
    Some registry entries may not work during the installation phase
     
  16. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    512
    1,114
    30
    Got it, thanks, I didn't know that. Although it's not entirely clear how registry entries can fail to work during installation if they are already written to the registry and the installer only copies them to the disk when installing the OS and cannot change them in any way. Oh well, you probably know better...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. wuliyen

    wuliyen MDL Member

    Oct 6, 2009
    124
    334
    10
    SunLion's handling is reasonable because there is no restriction on adding any registry content to the image, but in reality, some registry contents may be invalid if handled in this way. The specific ones that will fail require personal accumulation. Joining twice can avoid problems.
     
  18. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    512
    1,114
    30
    #3278 sainfo, Jul 23, 2025 at 07:45
    Last edited: Jul 24, 2025 at 05:41
    I agree that SunLion's approach is very reasonable, which is why I mainly use his script ideas when working with images. Do you think that double attaching .reg files avoids problems? It may be difficult to verify this due to the large number of entries made in the registry. I'll take your word for it and add these files to the $OEM$\$$\Setup\REG folder as well.
    As they say: you can't spoil porridge with butter.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. hoak

    hoak MDL Senior Member

    Nov 13, 2009
    338
    911
    10
  20. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,735
    15,204
    120