Slimdown10_v2.0.2 (continued)

Discussion in 'Windows 10' started by SunLion, Sep 1, 2024.

  1. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,591
    5,908
    60
    Thank you for your help!

    I'll run some tests...
     
  2. matteone2000

    matteone2000 MDL Novice

    Feb 4, 2022
    9
    28
    0
    #1122 matteone2000, Nov 23, 2025
    Last edited: Nov 23, 2025
    I’ll add this as well:
    • Removed autounattend.xml. Instead of deleting it, some modifications could be made to make it upgrade-aware
    • WinRE must not be removed from the DVD, even if the OS to be upgraded doesn’t have a recovery environment installed.
    • The in-place upgrade does not remove existing UWP apps (except those explicitly removed via scripts and registry tweaks, i.e. Edge). This is expected behavior based on how the upgrade process works - Probably a “pre-upgrade cleanup” script might help.
     
  3. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,591
    5,908
    60
    I'm testing the SD10_RenewedBasic version, which differs from the standard version because it doesn't apply all the tweaks and modifications of the other.

    I prefer to use only this version for live installation.

    I modified the code in the Win10x64Basic.cmd file, and the initial tests ran without errors.

    I performed a live installation in VirtualBox.

    Not yet tested on a real machine.

    I will make the files available for anyone who wants to test them on a real machine.

    SD10_RenewedBasic.7z
    psw: mdl2025


    Simply extract the files into the SD10_Renewed_1.41 folder and replace them.

    Run the SD10_RenewedBasic_1.1_Start.cmd or SD10_RenewedBasic_1.1_Start_Nsudo.cmd script as administrator.
     

    Attached Files:

  4. youring

    youring MDL Novice

    Sep 13, 2009
    6
    5
    0
    Hi @SunLion Thanks for your persistent hard work.
    Would you consider add an option to disable/enable remote login? It's now disabled by default.
    I remember remote desktop is not disabled in previous versions, at least 1.36.
     
  5. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,591
    5,908
    60
    #1125 SunLion, Nov 25, 2025
    Last edited: Nov 25, 2025
    (OP)
    Are you using the latest version of the script?

    If so, try the following:

    - Go to the Addons\Install\Install folder and edit the DisableServices.cmd file, removing the "RasMan" and "SessionEnv" services.

    Test and see if it works.

    Please share the result.

    Or, even better, enable these services on your system and see if remote desktop starts working again.
     
  6. youring

    youring MDL Novice

    Sep 13, 2009
    6
    5
    0
    Tried to comment out these two, and even changed in DVD\sources\$OEM$\$1\Install\DisableServices.cmd before creating ISO, but seems not work. will retry in a clean env.

    After OS install, I enabled "Remote Desktop Configuration"(SessionEnv) only, remote desktop works! Strangely is that even after I re-disabled it, remote desktop still works.
     
  7. matteone2000

    matteone2000 MDL Novice

    Feb 4, 2022
    9
    28
    0
    I have a doubt about the "Win10x64.cmd" script: as long as it runs at the first user's startup, everything is fine. However, if I create a second user, at the first login of that user the script won’t find most of the customizations (removed with the “removing temporary folders” step) and won’t apply them. This is fine for system-wide configurations, but for user-specific settings it would be better to re-run them.

    What do you think about something like this:

    • Copy %systemdrive%\Install somewhere in the system (i.e. %windri%\Tweaks)
    • Place the "first user" Win10x64.cmd script in %systemdrive%\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\
    • Place a “subsequent users” version of Win10x64.cmd in a temporary folder. (this script aims to apply only user settings and runs scripts/execautables from %windri%\Tweaks instead of %systemdrive%\Install\ )

    • At the first login of the first user, the full Win10x64.cmd script runs.
    • At the end of the script, we replace %systemdrive%\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Win10x64.cmd with the “subsequent users” version of Win10x64.cmd

    Maybe I wasn’t very clear, but I hope you get the idea. I’m still testing, and if needed I’ll attach the modified scripts so you can take a look.
     
  8. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,591
    5,908
    60
    OK

    Normally, I work as a basic user. So, it's my PC for my personal use.

    However, your suggestion could be beneficial. Please submit your modified script for review.

    Thank you for your help!
     
  9. youring

    youring MDL Novice

    Sep 13, 2009
    6
    5
    0
    Update: searched all text files inside folder SD10_Renewed_1.41(Fixed version) that contains "SessionEnv", found four:
    D:\SD10_Renewed_1.41\SD10_Renewed_1.41.cmd
    D:\SD10_Renewed_1.41\Addons\Install\Install\DisableServices.cmd
    D:\SD10_Renewed_1.41\OEM\$OEM$\$1\Install\DisableServices.cmd
    D:\SD10_Renewed_1.41\PersonalTweaks\Config\Win10x64Basic.cmd
    I removed "SessionEnv" in all these files, run SD10_Renewed_1.41_Start.cmd, selection as below.
    Code:
    ===========================================================
    Running in NORMAL mode
    Selected Windows_10_Enterprise_LTSC_2021
    REMOVE ClickToDo - GetStarted - WindowsBackup
    DISABLE Windows Search
    Disable Windows Defender
    REMOVE Edge
    NetFx3 is Enabled
    Enable Classic Calculator
    Remove WinRE.wim
    Don't Integrate DaRT
    Don't Enable Media Player
    Don't Enable Subsystem-Linux
    Don't Integrate WhatsApp
    Show ThisPC + Bin + User + ControlPanel + Network Icons on Desktop
    Don't Apply PersonalTweaks
    ===========================================================
    
    When finished, checked D:\SD10_Renewed_1.41\DVD\sources\$OEM$\$1\Install\DisableServices.cmd, "SessionEnv" has gone, then create ISO, install OS, enabled Remote Desktop, go to services.msc, the "Remote Desktop Configuration" is still Disabled, I had to switch it to auto start mode and start the service, then remote login works.
    I don't know which step "disables" the SessionEnv service. Would you advise? @SunLion
     
  10. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,591
    5,908
    60
    #1130 SunLion, Nov 27, 2025
    Last edited: Nov 27, 2025
    (OP)
    @youring

    Let's try a new test.

    I created a script to change the SessionEnv and RasMan services to Automatic and modified the Win10x64.cmd and SD10_Renewed_1.41.cmd scripts.

    Download and extract them directly to the SD10_Renewed_1.41 folder, replacing the existing files there.

    Repeat the process.

    What I expect to happen:

    - The services will be disabled at the end of the installation, except for SessionEnv and RasMan.

    - The SessionEnv and RasMan services will have their startup changed to Automatic.

    See if it works for you!

    Please share the result.

    Edit.

    I ran a test here and these services are active, in Manual mode, after installation.

    They will not be disabled in the next version.
     

    Attached Files:

  11. siliconbeaver

    siliconbeaver MDL Senior Member

    Apr 29, 2022
    319
    301
    10
    SD10_RenewedBasic_1.1 tested on VM, it worked fine.

    B4 extract the basic.7z file. Within old SD10_Renewed_1.41 folder, first remove folders of DVD, Addons, and PersonalTweaks. you must do this first. then follow SunLion's guide, extract the files into the SD10_Renewed_1.41 folder and replace them.
    (or you will run into a serious problem, when running, deleting all folders, a problem I met)

    when run the script, run 1.1 than 1.41 (in the folder, you will see both).

    SD10_RenewedBasic_1.1 OS has similar interface as v1.41. it looks cleaner. Outlook has been removed. edge and all classic apps working fine. (snipping paint calculator notepad word)

    Its install.wim is much bigger 4.8 GB. 800 MB bigger than nominal. its installed OS size 12.1 GB (nominal 9.5-10.5 GB). This basic version is NOT my favorite as its size bigger. Though it runs fine on VM.


     
  12. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,591
    5,908
    60
    Yes, this Basic version is less intrusive and retains most of the apps. It's an option for those who want to try a live installation version.

    The traditional version is also my favorite.
     
  13. youring

    youring MDL Novice

    Sep 13, 2009
    6
    5
    0
    Tested same here, Manual mode, seems back to normal. Thanks.
    Next step, I wonder if it's possible to "Enable Remote Desktop" by default in your script, and leave Network Level Authentication unchecked.
    Backgroud: I use Proxmox to test a lot installations, the first step after OS install is to connect with RDP client, so enable remote desktop will save a few steps.
     
  14. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,591
    5,908
    60
    Great.

    In the next version, the SessionEnv and RasMan services will not be modified. They will continue in the standard Windows mode.
     
  15. siliconbeaver

    siliconbeaver MDL Senior Member

    Apr 29, 2022
    319
    301
    10
    SunLion,

    I haven't tested your new release on SD11 (NOT SD10) months. I wasn't here awhile. are you going to release SD11 new version soon?

    Thanks,
     
  16. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,591
    5,908
    60
    Good morning

    For now, I don't intend to work with the script for Windows 11, especially since other users are posting similar scripts in the other thread.

    Regards
     
  17. bendeyar

    bendeyar MDL Member

    Mar 14, 2019
    235
    492
    10
    I will share my opinion and maybe the opinion of some others.
    I have nothing against anyone who shares their knowledge on the site, but...
    It is another thing to learn from your knowledge, "SunLion".
    It would be very good if you continue to share your knowledge about Windows 11 with the script with which you started sharing.
    I know that we ask a lot of things from you and I know that you do not refuse anyone and I am sure that you will continue to share your knowledge with a script for Windows 11, for which many people will be grateful to you.
    Best regards
     
  18. siliconbeaver

    siliconbeaver MDL Senior Member

    Apr 29, 2022
    319
    301
    10
    Well-said,

    Cannot agree more.

     
  19. raptorddd

    raptorddd MDL Addicted

    Aug 17, 2019
    828
    402
    30
    am going back to windows 10. which ISO is the one to download.?
     
  20. siliconbeaver

    siliconbeaver MDL Senior Member

    Apr 29, 2022
    319
    301
    10
    As W10 is discontinued. i.e. no more update. you can download its latest one.

    For Eng user is Windows10_22H2_x64.iso.

    Run SunLion's latest SD10 release SD10_Renewed_1.41_Fixed.7z. you will obtain best SD10 (forever, given W10 no update any longer).