Slimdown11 – turn Windows 11 or LTSC 2024 into classic/legacy Windows

Discussion in 'Windows 11' started by SunLion, Mar 2, 2025.

  1. balanadi

    balanadi MDL Senior Member

    Apr 24, 2014
    389
    696
    10
    Creating 26200.7015 SINGLE HOME ... with removed packages ...
    Code:
     ========================================================================================
     =========Removing Packages after update============
     ========================================================================================
    Networking-MPSSVC-Rules-HomePremiumEdition-Package~31bf3856ad364e35~amd64~~10.0.26100.3624
    Networking-MPSSVC-Rules-HomePremiumEdition-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    Microsoft-Windows-Printing-Foundation-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-Printing-Foundation-Package~31bf3856ad364e35~amd64~~10.0.26100.1591
    Microsoft-Windows-Not-Supported-On-LTSB-WOW64-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    Microsoft-Windows-UpdateTargeting-ClientOS-Ge-Beta-Version-EKB-Package~31bf3856ad364e35~amd64~~10.0.26100.1742
    Microsoft-Windows-UpdateTargeting-ClientOS-Ge-Beta-Version-EKB-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-UpdateTargeting-ClientOS-Ge-Beta-Version-EKB-Wrapper-Package~31bf3856ad364e35~amd64~~10.0.26100.1742
    Microsoft-Windows-UpdateTargeting-ClientOS-Ge-Beta-Version-EKB-Wrapper-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-UpdateTargeting-ClientOS-Ge-26141-Version-EKB-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-UpdateTargeting-ClientOS-Ge-26141-Version-EKB-Wrapper-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-UpdateTargeting-ClientOS-Ge-26142-Version-EKB-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-UpdateTargeting-ClientOS-Ge-26142-Version-EKB-Wrapper-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-UpdateTargeting-ClientOS-Ge-26143-Version-EKB-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-UpdateTargeting-ClientOS-Ge-26143-Version-EKB-Wrapper-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-UpdateTargeting-ClientOS-Ge-26144-Version-EKB-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-UpdateTargeting-ClientOS-Ge-26144-Version-EKB-Wrapper-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-UpdateTargeting-ClientOS-Ge-26145-Version-EKB-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-UpdateTargeting-ClientOS-Ge-26145-Version-EKB-Wrapper-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-UpdateTargeting-ClientOS-Ge-26200-Version-EKB-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-UpdateTargeting-ClientOS-Ge-26200-Version-EKB-Wrapper-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-UpdateTargeting-ClientOS-Ge-26220-Version-EKB-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-UpdateTargeting-ClientOS-Ge-26220-Version-EKB-Wrapper-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-OneCore-EnterpriseTempControls-ActiveConfig-25h2-Package~31bf3856ad364e35~amd64~~10.0.26100.5074
    Microsoft-OneCore-EnterpriseTempControls-ActiveConfig-25h2-Wrapper-Package~31bf3856ad364e35~amd64~~10.0.26100.6725
    Microsoft-Windows-MonthlyBundles-26200-EKB-Package~31bf3856ad364e35~amd64~~10.0.26100.4768
    Microsoft-Windows-MonthlyBundles-26200-EKB-Wrapper-Package~31bf3856ad364e35~amd64~~10.0.26100.6725
    Microsoft-Windows-EnterpriseClientSync-Host-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    Microsoft-Windows-MicrosoftEdgeDevToolsClient-Package~31bf3856ad364e35~amd64~~10.0.26100.4202
    Microsoft-Windows-BioEnrollment-UX-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-BioEnrollment-UX-Package~31bf3856ad364e35~amd64~~10.0.26100.1591
    LanguageFeatures-WordBreaking-Common-legacy-Package~31bf3856ad364e35~amd64~~10.0.26100.1150
    Microsoft-OneCore-Fonts-DesktopFonts-NonLeanSupplement-Package~31bf3856ad364e35~amd64~~10.0.26100.2454
    Microsoft-OneCore-Fonts-DesktopFonts-NonLeanSupplement-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    Microsoft-Windows-Defrag-UI-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-Defrag-UI-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    Microsoft-Windows-Printer-Drivers-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-Printer-Drivers-Package~31bf3856ad364e35~amd64~~10.0.26100.1591
    Microsoft-Windows-RecoveryDrive-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-RecoveryDrive-Package~31bf3856ad364e35~amd64~~10.0.26100.1591
    Microsoft-Windows-ScreenSavers-3D-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-ScreenSavers-3D-Package~31bf3856ad364e35~amd64~~10.0.26100.1150
    Microsoft-Client-License-Platform-CSP-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Client-License-Platform-CSP-Package~31bf3856ad364e35~amd64~~10.0.26100.1591
    Microsoft-Client-License-Platform-Upgrade-Subscription-Core-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Client-License-Platform-Upgrade-Subscription-Core-Package~31bf3856ad364e35~amd64~~10.0.26100.1591
    Microsoft-Client-License-Platform-Windows-Upgrade-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Client-License-Platform-Windows-Upgrade-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    Microsoft-Windows-RemoteAssistance-Package-Client~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-RemoteAssistance-Package-Client~31bf3856ad364e35~amd64~~10.0.26100.1591
    Microsoft-OneCore-AppRuntime-removable-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-OneCore-AppRuntime-removable-Package~31bf3856ad364e35~amd64~~10.0.26100.1591
    Microsoft-OneCore-PointOfService-removable-Package~31bf3856ad364e35~amd64~~10.0.26100.4202
    Microsoft-OneCore-PointOfService-removable-Package~31bf3856ad364e35~amd64~~10.0.26100.1150
    Microsoft-Windows-Browser-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-Browser-Package~31bf3856ad364e35~amd64~~10.0.26100.1591
    Microsoft-Windows-Internet-Browser-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    Microsoft-Windows-Help-ClientUA-Client-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    Server-Help-Package.ClientHomePremium~31bf3856ad364e35~amd64~~10.0.26100.1
    Microsoft-Windows-SecureStartup-Basic-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-SecureStartup-Basic-Package~31bf3856ad364e35~amd64~~10.0.26100.1591
    Microsoft-Windows-SMB1-Package~31bf3856ad364e35~amd64~~10.0.26100.6899
    Microsoft-Windows-SMB1-Package~31bf3856ad364e35~amd64~~10.0.26100.1591
    Microsoft-Windows-SmbDirect-FOD-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-SmbDirect-FOD-Package-Wrapper~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-SmbDirect-FOD-Package-Wrapper~31bf3856ad364e35~amd64~~10.0.26100.1742
    Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~amd64~~10.0.26100.5074
    Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    Microsoft-Windows-MSMQ-Client-Home-Premium-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-MSMQ-Client-Home-Premium-Package~31bf3856ad364e35~amd64~~10.0.26100.1742
    Microsoft-Windows-Accessories-Migration-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    Windows-Defender-AM-Default-Definitions-OptionalWrapper-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    Microsoft-Windows-SearchEngine-Client-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-SearchEngine-Client-Package~31bf3856ad364e35~amd64~~10.0.26100.1591
    Microsoft-Windows-Printing-PrintToPDFServices-Package~31bf3856ad364e35~amd64~~10.0.26100.4484
    Microsoft-Windows-Printing-PrintToPDFServices-Package~31bf3856ad364e35~amd64~~10.0.26100.1591
    Microsoft-Windows-Printing-XPSServices-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    Microsoft-Windows-IIS-WebServer-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-IIS-WebServer-Package~31bf3856ad364e35~amd64~~10.0.26100.1742
    Microsoft-Windows-Lxss-Optional-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-Lxss-Optional-Package~31bf3856ad364e35~amd64~~10.0.26100.1742
    Microsoft-Windows-Telnet-Client-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    Microsoft-Windows-TFTP-Client-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    Microsoft-Windows-WinOcr-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    HyperV-VID-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    HyperV-VID-Package~31bf3856ad364e35~amd64~~10.0.26100.1591
    Microsoft-OneCore-VirtualizationBasedSecurity-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-OneCore-VirtualizationBasedSecurity-Package~31bf3856ad364e35~amd64~~10.0.26100.1742
    Microsoft-Windows-HyperV-OptionalFeature-VirtualMachinePlatform-Client-Disabled-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    Microsoft-Windows-HyperV-OptionalFeature-HypervisorPlatform-Disabled-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-HyperV-OptionalFeature-HypervisorPlatform-Disabled-Package~31bf3856ad364e35~amd64~~10.0.26100.1742
    Microsoft-Windows-Client-Optional-Features-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-Client-Optional-Features-Package~31bf3856ad364e35~amd64~~10.0.26100.1742
    Microsoft-Windows-Client-Optional-Features-WOW64-Package~31bf3856ad364e35~amd64~~10.0.26100.4768
    Microsoft-Windows-Client-Optional-Features-WOW64-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    Microsoft-Windows-Legacy-Components-OC-Package~31bf3856ad364e35~amd64~~10.0.26100.4202
    Microsoft-Windows-Legacy-Components-OC-Package~31bf3856ad364e35~amd64~~10.0.26100.1150
    Microsoft-Windows-Legacy-Components-OC-WOW64-Package~31bf3856ad364e35~amd64~~10.0.26100.4202
    Microsoft-Windows-Legacy-Components-OC-WOW64-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    Microsoft-Windows-RDC-Opt-Package~31bf3856ad364e35~amd64~~10.0.26100.5074
    Microsoft-Windows-RDC-Opt-Package~31bf3856ad364e35~amd64~~10.0.26100.1150
    Microsoft-Windows-RDC-Package~31bf3856ad364e35~amd64~~10.0.26100.5074
    Microsoft-Windows-RDC-Package~31bf3856ad364e35~amd64~~10.0.26100.1150
    Microsoft-Windows-TS-OptionalComponents-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-TS-OptionalComponents-Package~31bf3856ad364e35~amd64~~10.0.26100.1000
    Microsoft-Windows-RecDisc-SDP-removable-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-RecDisc-SDP-removable-Package~31bf3856ad364e35~amd64~~10.0.26100.1455
    Microsoft-Windows-WebcamExperience-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-WebcamExperience-Package~31bf3856ad364e35~amd64~~10.0.26100.1150
    Microsoft-Windows-WebcamExperience-WOW64-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    Microsoft-Windows-WebcamExperience-WOW64-Package~31bf3856ad364e35~amd64~~10.0.26100.1
    UserExperience-Recall-Package~31bf3856ad364e35~amd64~~10.0.26100.7015
    
    And the final image :

    Code:
    Finalized...
     ===========================================================
     === Export Info About Image into WInfo.txt file ===
     ===========================================================
    The system cannot find the path specified.
    
    
    WIM Information:
    ----------------
    Path:           E:\CORE LTSC 2024\0..Win_Optimizer_v.1.2.0\DVD\sources\install.wim
    GUID:           0xe86a1e22e6f7f14381a7c746eaeaf84e
    Version:        68864
    Image Count:    1
    Compression:    LZX
    Chunk Size:     32768 bytes
    Part Number:    1/1
    Boot Index:     0
    Size:           3278858746 bytes
    Attributes:     Integrity info, Relative path junction
    
    Available Images:
    -----------------
    Index:                  1
    Name:                   Windows 11 Home
    Description:            Windows 11 Home
    Display Name:           Windows 11 Home
    Display Description:    Windows 11 Home
    Directory Count:        27214
    File Count:             104805
    Total Bytes:            14250963753
    Hard Link Bytes:        6423026643
    Creation Time:          Sun Oct 26 15:49:27 2025 UTC
    Last Modification Time: Sun Oct 26 16:08:40 2025 UTC
    Architecture:           x86_64
    Product Name:           Microsoft« Windows« Operating System
    Edition ID:             Core
    Installation Type:      Client
    HAL:                    COMPUTER\Generic
    Product Type:           WinNT
    Product Suite:          Terminal Server
    Languages:              en-US
    Default Language:       en-US
    System Root:            WINDOWS
    Major Version:          10
    Minor Version:          0
    Build:                  26200
    Service Pack Build:     7015
    Service Pack Level:     0
    Flags:                  Core
    WIMBoot compatible:     no
    
    
     ============================================================
     === Script Finished At 18:08:40.27 ===
     ============================================================
    
     ===============================================
     === Elapsed time: 0:18:25.49 ===
     ===============================================
    So i used Win_Optimizer_v.1.5.0 modified for Store working and Tablet Touch , cause again if i use original script , it disable dosvc (delivery optimization necesary for Store appx to work ) and Tablet input serrvice which was disabled ...
    Also removing Backup and Get help , is giving error in using the regular Start menu ..so i delete that part also ..

    Thanks again , with this tool i can create in few minutes the monthly updated image the way i need ...
     
  2. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    653
    1,445
    30
    #1182 sainfo, Oct 26, 2025
    Last edited: Oct 26, 2025
    Could you send me my script with your corrections and additions so that I can see exactly what you have corrected in this script ?
    :shake:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. balanadi

    balanadi MDL Senior Member

    Apr 24, 2014
    389
    696
    10


    INSIDE THE SCRIPT BETWEEN THIS :

    reg add "HKLM\SYSHILE\ControlSet001\Services\edgeupdate" /v "Start" /t REG_DWORD /d "4" /f
    reg add "HKLM\SYSHILE\ControlSet001\Services\edgeupdatem" /v "Start" /t REG_DWORD /d "4" /f


    for /f %%x in ('findstr /i . Data\Files\Remove.txt 2^>nul') do (

    reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%%x" /v Visibility /t REG_DWORD /d 1 /f >nul
    reg delete "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%%x\Owners" /f >nul


    )
    )

    echo.
    echo == Unmounting Image Registry ==
    reg unload HKLM\USERHILE >nul
    reg unload HKLM\SOFTHILE >nul
    reg unload HKLM\SYSHILE >nul


    echo.
    echo == Remove Capabilities ==
    if "%EnableMediaPlayer%"=="1" (
    for /f %%x in ('findstr /i . Data\Files\Capabilities.txt 2^>nul') do (
    echo %%x
    "%DISM%" /english /quiet /image:"%~dp0Data\Temp\Mount" /Remove-Capability /CapabilityName:%%x
    )
    )

    if "%EnableMediaPlayer%"=="0" (
    for /f %%x in ('findstr /i . Data\Files\Capabilities2.txt 2^>nul') do (
    echo %%x
    "%DISM%" /english /quiet /image:"%~dp0Data\Temp\Mount" /Remove-Capability /CapabilityName:%%x
    )
    )


    echo.
    echo. ========================================================================================
    echo =========Removing Packages after update============
    echo. ========================================================================================

    for /f %%x in ('findstr /i . Data\Files\Remove.txt 2^>nul') do if exist "%~dp0Data\Temp\Mount\Windows\servicing\Packages\%%x.mum" (
    echo %%x
    "%DISM%" /English /quiet /image:"%~dp0Data\Temp\Mount" /Remove-package /PackageName:%%x
    )
    )



    echo.
    echo. ============================================================
    echo === Mount Image Registry ===
    echo. ============================================================
    reg load HKLM\TK_DEFAULT "%~dp0Data\Temp\Mount\Windows\System32\config\DEFAULT"
    reg load HKLM\TK_NTUSER "%~dp0Data\Temp\Mount\Users\Default\NTUSER.DAT"
    reg load HKLM\TK_SOFTWARE "%~dp0Data\Temp\Mount\Windows\System32\config\SOFTWARE"
    reg load HKLM\TK_SYSTEM "%~dp0Data\Temp\Mount\Windows\System32\config\SYSTEM"



    You get the error because you need to add the reg files in order to gain control and the packages to be visible not hiden so you can remove them ...

    Hope it helps .... by the way i still got issue with Store and touch keyboard so i modify your script to a minimum ...
     
  4. balanadi

    balanadi MDL Senior Member

    Apr 24, 2014
    389
    696
    10
    It is slimmed down just to update and integrate reg and some scripts and of course to remove packages , so i do not need to work twice with MSMG Toolkit ...
     

    Attached Files:

  5. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    653
    1,445
    30
    #1185 sainfo, Oct 26, 2025
    Last edited: Oct 26, 2025
    It's a pity that you ran your test on Win_Optimizer_v.1.2.0 instead of Win_Optimizer_v.1.5.0.

    Yes, basically, I followed the same path and did almost the same thing, and everything went smoothly—thank you!
    Code:
    
    echo.
    echo == Removing packages ==
    reg load HKLM\SOFTHILE "%~dp0Data\Temp\Mount\Windows\System32\config\SOFTWARE" >nul
    reg add "HKLM\SOFTHILE\Policies\Microsoft\MRT" /v "DontReportInfectionInformation" /t REG_DWORD /d "1" /f >NUL
    reg add "HKLM\SOFTHILE\Policies\Microsoft\MRT" /v "DontOfferThroughWUAU" /t REG_DWORD /d "1" /f >NUL
    reg add "HKLM\SOFTHILE\Microsoft\Windows\CurrentVersion\ReserveManager" /v "ShippedWithReserves" /t REG_DWORD /d "0" /f >NUL
    reg add "HKLM\SOFTHILE\Microsoft\Windows\CurrentVersion\Explorer" /v "DisableEdgeDesktopShortcutCreation" /t REG_DWORD /d "1" /f >NUL
    reg add "HKLM\SOFTHILE\Microsoft\WindowsSelfHost\UI\Visibility" /v "HideInsiderPage" /t REG_DWORD /d "1" /f >NUL
    reg add "HKLM\SOFTHILE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "SettingsPageVisibility" /t REG_SZ /d "Hide:windowsinsider;windowsdefender" /f >NUL
    reg delete "HKLM\SOFTHILE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\Windows Defender" /f >NUL
    reg delete "HKLM\SOFTHILE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\Customer Experience Improvement Program" /f >NUL
    reg delete "HKLM\SOFTHILE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\Application Experience" /f >NUL
    reg delete "HKLM\SOFTHILE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\Feedback" /f >NUL
    
    for /f %%x in ('findstr /i . Data\Files\Remove.txt 2^>nul') do (
    reg add "HKLM\SOFTHILE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%%x" /v Visibility /t REG_DWORD /d 1 /f >nul
    reg delete "HKLM\SOFTHILE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%%x\Owners" /f >nul
    )
    reg Unload HKLM\SOFTHILE >nul
    
    reg load HKLM\SYSHILE "%~dp0Data\Temp\Mount\Windows\System32\config\SYSTEM" >nul
    reg delete "HKLM\SYSHILE\ControlSet001\Services\wisvc" /f >NUL
    reg Unload HKLM\SYSHILE >nul
    
    
    reg load HKLM\USERHILE "%~dp0Data\Temp\Mount\Users\Default\NTUSER.DAT" >nul
    reg add "HKLM\USERHILE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowCortanaButton" /t REG_DWORD /d "0" /f >NUL
    reg Unload HKLM\USERHILE >nul
    
    echo.
    echo == Removing Packages after update ==
    echo.
    for /f %%x in ('findstr /i . Data\Files\Remove.txt 2^>nul') do if exist Data\Temp\Mount\Windows\servicing\Packages\%%x.mum (
    echo Removing %%x
    dism /english /scratchdir:Data\Temp /image:Data\Temp\Mount /Remove-package /Packagename:%%x
    )
    
    
    Placed this block before the section:

    echo.
    echo == Save Listing ==

    The install.wim file, in my case, ended up being - 4158 925 277 bytes in size.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. balanadi

    balanadi MDL Senior Member

    Apr 24, 2014
    389
    696
    10
    I will try now with this ....:):):)


    Now we need some advice ro use in the Remove text file only the base package name without the number of the update for the future updates ..

    Microsoft-Windows-All-Client-Ge-Beta-Version-EKB-Package

    instead of


    Microsoft-Windows-All-Client-Ge-Beta-Version-EKB-Package~31bf3856ad364e35~amd64~~10.0.26100.7015


    Hope someone will give us a hint !!!
     
  7. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    653
    1,445
    30
    #1187 sainfo, Oct 26, 2025
    Last edited: Oct 26, 2025
    I know how to do it in a script. But how to do it in a text file, I need to think ...
    :thinking:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    653
    1,445
    30
    Hello, is it the same for you here?

    Error: The specified section or parameter cannot be found in the registry.
    Code:
    for /f %%x in ('findstr /i . Data\Files\Remove.txt 2^>nul') do (
    reg add "HKLM\SOFTHILE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%%x" /v Visibility /t REG_DWORD /d 1 /f >nul
    reg delete "HKLM\SOFTHILE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%%x\Owners" /f >nul
    )
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    4,298
    16,751
    150
    XP many registry errors with this script too!
     
  10. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,742
    1,745
    150
    Clearly stated on the first page; host requirements are W7 at very minimum...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. balanadi

    balanadi MDL Senior Member

    Apr 24, 2014
    389
    696
    10

    Morning ... yes , with the modified suggestion i got many error access is denied and the reg file can not be find .. but with the modification made by me no errors ...
     
  12. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    4,298
    16,751
    150
    Is that right lol!!
     
  13. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    653
    1,445
    30
    #1193 sainfo, Oct 28, 2025
    Last edited: Oct 28, 2025
    Greetings all, can anyone tell me how to convert a file with extension .ps1 to .cmd format ?
    If, of course, that is even possible ...
    :tankyou:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,742
    1,745
    150
    I got some errors also when I tried it, you can turn 'echo on' to see where the errors are

    you really cant I think, ps1 is powershell code and cmd is a batch file.
    Manually rewrite entire code is the best option
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    653
    1,445
    30
    Got it, thanks! I just didn't want to mess with PowerShell, it's too complicated for me. I found a pretty good script and thought maybe someone could help me convert it to .cmd (which is simple and easy for me to understand), just in case...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. rayman95

    rayman95 MDL Senior Member

    Oct 3, 2018
    419
    289
    10
    #1196 rayman95, Oct 28, 2025
    Last edited: Oct 28, 2025
    you made a mistake...
    i will try with french iso, if I got errors too..

    EDIT :
    got this error...so impossible to dl french 26100.1 iso on UUPDump

    Unable to retrieve data from Windows Update servers. Reason: EMPTY_FILELIST
    If this problem persists, most likely the set you are attempting to download was removed from Windows Update servers.

    EDIT2 : i can dl Fr .1742 Iso
    Install wim goes from 3.9 Go to 3.10...
    will try to run on vmware

    I can't finish install because it miss network drivers and i can't continue install..i'm on last VMWare..
    go sleeping and will continue tomorrow...
     
  17. wuliyen

    wuliyen MDL Member

    Oct 6, 2009
    199
    476
    10
    Install wim goes from 3.9 Go to 3.10.
    This reduction is primarily a result of removing Edge and WebView2. Using DISM to manipulate other components will not significantly reduce the size.
     
  18. KartWheel

    KartWheel MDL Novice

    Jun 25, 2016
    17
    14
    0
    I've tried to use the "latest update" link from the 1st page here, but the script only seems to support Windows 11 now, unless I'm mistaken?
    I'd like to use it with Windows 10 iot LTSC 22H2. In the original post on the 1st page I noticed it goes up to version 2.02. Is this is last version that will work with Windows 10?
     
  19. rayman95

    rayman95 MDL Senior Member

    Oct 3, 2018
    419
    289
    10
    Look here..

    https://forums.mydigitallife.net/threads/slimdown10_v2-0-2-continued.88599/
     
  20. bendeyar

    bendeyar MDL Member

    Mar 14, 2019
    241
    510
    10