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

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

  1. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    760
    1,753
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. rayman95

    rayman95 MDL Addicted

    Oct 3, 2018
    502
    364
    30
    #2322 rayman95, Sep 26, 2026
    Last edited: Sep 26, 2026
    +1.. an universal IoT LTSC debloat
    EDIT : woaw so fast...many thanks..
     
  3. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    760
    1,753
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    760
    1,753
    30
    #2326 sainfo, Sep 26, 2026
    Last edited: Sep 26, 2026
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Qu0Bit

    Qu0Bit MDL Novice

    Oct 27, 2017
    3
    2
    0
    :)rayman95
    If your operating system is in French, replace "y" with "o" (oui)
    ( sub_Boot.ps1) and (sub_Matrix.ps1) ( "$TargetDir" /r /d y > $null 2>&1)
     
  6. sevenlin007

    sevenlin007 MDL Novice

    Nov 22, 2017
    34
    34
    0
    Write-Host "[*] Analyzing mounted image architecture metrics..." -ForegroundColor Gray

    try {
    # 从挂载映像的 ntoskrnl.exe 读 ProductVersion(形如 10.0.26100.xxxx)
    $KernelPath = Join-Path $global:MountDir "Windows\System32\ntoskrnl.exe"
    if (Test-Path $KernelPath) {
    $global:TargetOSVersion = (Get-Item $KernelPath).VersionInfo.ProductVersion
    } else {
    # 兜底:读注册表
    $RegPath = Join-Path $global:MountDir "Windows\System32\config\SOFTWARE"
    # 不加载离线 hive 的话没法直接读,退而求其次用 CurrentBuild
    $global:TargetOSVersion = $null
    }
    } catch {
    $global:TargetOSVersion = $null
    }

    if ($global:TargetOSVersion -and $global:TargetOSVersion -match '^10\.0\.(\d+)') {
    $BuildNumber = [int]$Matches[1]
    if ($BuildNumber -lt 22000) {
    $global:IsWindows10 = $true
    Write-Host " [DETECTED] Target OS: Windows 10 LTSC (Build $BuildNumber)" -ForegroundColor Yellow
    } else {
    $global:IsWindows10 = $false
    Write-Host " [DETECTED] Target OS: Windows 11 LTSC (Build $BuildNumber)" -ForegroundColor Green
    }
    } else {
    $global:IsWindows10 = $false
    Write-Host " [WARNING] Unable to determine target OS version reliably. Defaulting to Win11 profile." -ForegroundColor Yellow
    }
     
  7. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,776
    6,952
    60
    =========================
    2xH2_Creator_17.8
    =========================
    Update to 26x00.9550


    - Updated W10UI.cmd for v10.64
    - Fixed the "Downloading missing Windows 11 Updates for Build" code in the main script and _PreDownloadAllUpdates.cmd
    - Updated the PackageSelector.ps1 script to resolve conflicts with the Capabilities and Features removal code in the main script
    - Returned to using NSudo to execute the Start script
    - Other small adjustments


    https://forums.mydigitallife.net/th...to-classic-legacy-windows.90039/#post-1872013

    Enjoy
     
  8. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,776
    6,952
    60
    =========================
    26H1_Creator_2.3
    =========================
    Updated to 28000.3086


    - Updated W10UI.cmd for v10.64
    - Fixed the "Downloading missing Windows 11 Updates for Build" code in the main script and _PreDownloadAllUpdates.cmd
    - Updated the PackageSelector.ps1 script to resolve conflicts with the Capabilities and Features removal code in the main script
    - Returned to using NSudo to execute the Start script
    - Other small adjustments

    ==========================================================================================
    Please read the _HowToUse_26H1_Creator.chm and Changelog.txt files before using the script
    ==========================================================================================



    https://forums.mydigitallife.net/th...to-classic-legacy-windows.90039/#post-1872013

    Enjoy!
     
  9. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    760
    1,753
    30
    #2333 sainfo, Sep 29, 2026
    Last edited: Sep 30, 2026
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. rayman95

    rayman95 MDL Addicted

    Oct 3, 2018
    502
    364
    30
    many thanks..I will test it as soon you share it..the ultimate tool to clean windows...
     
  11. sevenlin007

    sevenlin007 MDL Novice

    Nov 22, 2017
    34
    34
    0
    WimDirector v2.0.5 download
     
  12. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    760
    1,753
    30
    In this tool, I tried to take all the comments into account; you can judge for yourselves how well I succeeded.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. rayman95

    rayman95 MDL Addicted

    Oct 3, 2018
    502
    364
    30
    #2338 rayman95, Sep 30, 2026
    Last edited: Sep 30, 2026
    got this error on 24h2 IoT LTSC but script continue...My base is still 21h2 IoT LTSC
    script ended with error...

    ==========================================================
    ==========================================================
    WimDirector_2.0.5
    ==========================================================
    [*] Logging engine activated: logs\WimOptimizer_Session.log
    [*] Checking and flushing old build outputs...
    [PASS] Core servicing environment initialized cleanly.

    ----------------------------------------------------------
    [sub_Mount] Initializing target acquisition sequence...
    [*] Discovered original storage target: Windows.10.IoT.Entreprise.LTSC.2021.3in1.Fr.x64.(Sept.2026).iso
    [*] Extracting original bootable container contents...
    [!] Purging original ISO asset out of root storage space...
    [*] Querying single-edition manifests via local servicing engine...

    Deployment Image Servicing and Management tool
    Version: 10.0.26100.2454


    Error: 2

    DISM failed. No operation was performed.
    For more information, review the log file.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    Enter the Image Index to extract [Default 1]: 2
    [*] Isolating index 2 into workspace pool...

    Deployment Image Servicing and Management tool
    Version: 10.0.26100.2454


    Error: 2

    DISM failed. No operation was performed.
    For more information, review the log file.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
    [*] Expanding isolated install.wim layout onto Mount workspace...

    Deployment Image Servicing and Management tool
    Version: 10.0.26100.2454


    Error: 2

    DISM failed. No operation was performed.
    For more information, review the log file.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
    [*] Inspecting mounted image internal registry architecture...
    [*] Launching advanced deployment configurator matrix...
    [*] Selected Servicing Strategy: Option 1
    [*] Configuring deployment repo transitions via TRN storage...
    [TRN Bypass] Baseline Windows 11 scenario active. No transitions required.
    INJECTING .NET 4.8.1 package into active repository: windows11.0-kb5126052-x64-ndp481.msu
    ----------------------------------------------------------
    ----------------------------------------------------------
    [sub_Boot] Initializing advanced boot.wim total rebuild sequence...
    [*] Extracting WinPE image (Index 2) directly via local wimlib layer...
    Applying image 2 ("Microsoft Windows Setup (x64)") from "C:\Users\RAYMAN95\Desktop\WimDirector_2.0.5\Data\Temp\boot.wim" to directory "C:\Users\RAYMAN95\Desktop\WimDirector_2.0.5\Data\Temp\BootWorkspace"
    Creating files: 25655 of 25655 (100%) done
    Extracting file data: 1131 MiB of 1131 MiB (100%) done
    Applying metadata to files: 25655 of 25655 (100%) done
    Done applying WIM image.
    [*] Starting surgical elimination of SysWOW64 and staging layers...
    [International Guard] Purging folder: SysWOW64
    [*] Executing deep language localization alignment sweeper...
    [Language Guard] Shielding critical deployment assets for: en-US, fr-FR, and en-US
    [Language Purge] Erased 183 obsolete localization asset directories.
    [*] Packaging clean workspace layout into an ultra-compressed solid container...
    Scanning "C:\Users\RAYMAN95\Desktop\WimDirector_2.0.5\Data\Temp\BootWorkspace"
    1131 MiB scanned (19203 files, 5513 directories)
    Setting the DESCRIPTION property of image 1 to "Microsoft Windows Setup".
    Using LZMS compression with 12 threads
    Archiving file data: 1098 MiB of 1098 MiB (100%) done
    Calculating integrity table for WIM: 382 MiB of 382 MiB (100%) done
    [PASS] boot.wim rebuilt. Final single-index solid container weight: 382.59 MB
    ----------------------------------------------------------
    ----------------------------------------------------------
    [sub_Updates] Initializing Microsoft cumulative update stage...
    [*] Synchronizing W10UI configuration parameters...
    [*] Scanning active update repository: C:\Users\RAYMAN95\Desktop\WimDirector_2.0.5\Data\UUP
    [PASS] Discovered (1) valid Microsoft update payload package(s).
    [*] Handing over execution to W10UI deployment host engine...
    [WimDirector] Running servicing process in the background. Please wait...
    ----------------------------------------------------------
    Le handle n’a pas pu être ouvert
    lors de la redirection du handle 1.
    ![PIPELINE CRITICAL CRASH]: Microsoft servicing execution host encountered an unexpected failure: W10UI update engine returned a non-zero exit code: 255

    To finish, press Enter...:
    ...
     
  14. rayman95

    rayman95 MDL Addicted

    Oct 3, 2018
    502
    364
    30
    #2339 rayman95, Sep 30, 2026
    Last edited: Sep 30, 2026
    I try now 11 24h2 IoT LTSC, but got error too. I disable defender all the processes..

    ==========================================================
    WimDirector_2.0.5
    ==========================================================
    [*] Logging engine activated: logs\WimOptimizer_Session.log
    [*] Checking and flushing old build outputs...
    [PASS] Core servicing environment initialized cleanly.

    ----------------------------------------------------------
    [sub_Mount] Initializing target acquisition sequence...
    [*] Discovered original storage target: Windows.11.IoT.Entreprise.LTSC.2024.3in1.Fr.(Sept.2026).iso
    [*] Extracting original bootable container contents...
    [!] Purging original ISO asset out of root storage space...
    [*] Querying single-edition manifests via local servicing engine...

    Deployment Image Servicing and Management tool
    Version: 10.0.26100.2454


    Error: 2

    DISM failed. No operation was performed.
    For more information, review the log file.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    Enter the Image Index to extract [Default 1]: 2
    [*] Isolating index 2 into workspace pool...

    Deployment Image Servicing and Management tool
    Version: 10.0.26100.2454


    Error: 2

    DISM failed. No operation was performed.
    For more information, review the log file.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
    [*] Expanding isolated install.wim layout onto Mount workspace...

    Deployment Image Servicing and Management tool
    Version: 10.0.26100.2454


    Error: 2

    DISM failed. No operation was performed.
    For more information, review the log file.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
    [*] Inspecting mounted image internal registry architecture...
    [*] Launching advanced deployment configurator matrix...
    [*] Selected Servicing Strategy: Option 1
    [*] Configuring deployment repo transitions via TRN storage...
    [TRN Bypass] Baseline Windows 11 scenario active. No transitions required.
    INJECTING .NET 4.8.1 package into active repository: windows11.0-kb5126052-x64-ndp481.msu
    ----------------------------------------------------------
    ----------------------------------------------------------
    [sub_Boot] Initializing advanced boot.wim total rebuild sequence...
    [*] Extracting WinPE image (Index 2) directly via local wimlib layer...
    Applying image 2 ("Microsoft Windows Setup (amd64)") from "C:\Users\RAYMAN95\Desktop\WimDirector_2.0.5\Data\Temp\boot.wim" to directory "C:\Users\RAYMAN95\Desktop\WimDirector_2.0.5\Data\Temp\BootWorkspace"
    Creating files: 26374 of 26374 (100%) done
    Extracting file data: 1344 MiB of 1344 MiB (100%) done
    Applying metadata to files: 26374 of 26374 (100%) done
    Done applying WIM image.
    [*] Starting surgical elimination of SysWOW64 and staging layers...
    [International Guard] Purging folder: SysWOW64
    [*] Executing deep language localization alignment sweeper...
    [Language Guard] Shielding critical deployment assets for: en-US, fr-FR, and en-US
    [Language Purge] Erased 223 obsolete localization asset directories.
    [*] Packaging clean workspace layout into an ultra-compressed solid container...
    Scanning "C:\Users\RAYMAN95\Desktop\WimDirector_2.0.5\Data\Temp\BootWorkspace"
    1344 MiB scanned (20034 files, 5095 directories)
    Setting the DESCRIPTION property of image 1 to "Microsoft Windows Setup".
    Using LZMS compression with 12 threads
    Archiving file data: 1311 MiB of 1311 MiB (100%) done
    Calculating integrity table for WIM: 427 MiB of 427 MiB (100%) done
    [PASS] boot.wim rebuilt. Final single-index solid container weight: 427.12 MB
    ----------------------------------------------------------
    ----------------------------------------------------------
    [sub_Updates] Initializing Microsoft cumulative update stage...
    [*] Synchronizing W10UI configuration parameters...
    [*] Scanning active update repository: C:\Users\RAYMAN95\Desktop\WimDirector_2.0.5\Data\UUP
    [PASS] Discovered (1) valid Microsoft update payload package(s).
    [*] Handing over execution to W10UI deployment host engine...
    [WimDirector] Running servicing process in the background. Please wait...
    ----------------------------------------------------------
    Le handle n’a pas pu être ouvert
    lors de la redirection du handle 1.
    ![PIPELINE CRITICAL CRASH]: Microsoft servicing execution host encountered an unexpected failure: W10UI update engine returned a non-zero exit code: 255

    To finish, press Enter...:
     
  15. sainfo

    sainfo MDL Addicted

    Dec 6, 2021
    760
    1,753
    30
    That's strange—I specifically downloaded Windows 10 to test it as well. I didn't have any problems on either Windows 10 or Windows 11 (see the screenshots). I don't know why this is happening for you yet, but I'll look into it...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...