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

    otvertka MDL Novice

    Aug 13, 2009
    21
    27
    0
  2. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    322
    631
    10
    In this section change %DISM% to %DISM11% and everything will work fine.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. SunLion

    SunLion MDL Addicted

    May 11, 2011
    952
    2,873
    30
    EDIT (Script correction)

    Please replace the script “24H2_Integrator_10.2.cmd” and CreateSlim.cmd + CreateDefault.cmd with this corrected one.

    Reason:
    1 - Error pointed out by @Dmi3y when “n” was selected to use PersonalTweaks.
    2 - Changed the DISM code in "Remove Provisioned AppxPackages", in the Slim and Default scripts.

    psw: mdl2025
     

    Attached Files:

  4. otvertka

    otvertka MDL Novice

    Aug 13, 2009
    21
    27
    0
    Thank you very much. In a Windows 11 installed system, I tested it with both Slim.cmd and Default.cmd and trouble -free operation took place.
     
  5. otvertka

    otvertka MDL Novice

    Aug 13, 2009
    21
    27
    0
    Correction:

    All tests with version 10.0 were successful and error -free (I tried all scenarios. Slim and DAFULT)

    In the tests performed with version 10.2, I tried by changing the files you gave and
    Dism gives an error in 2 places. I added a picture below and added the log file.
     

    Attached Files:

  6. bendeyar

    bendeyar MDL Junior Member

    Mar 14, 2019
    80
    137
    0
    #2586 bendeyar, Friday at 10:38
    Last edited: Friday at 10:45
    Şahin.
    Tekrardan gözden geçir tüm işlemleri.Hata olmamalı.
    Review all operations again. There should be no errors.
     
  7. otvertka

    otvertka MDL Novice

    Aug 13, 2009
    21
    27
    0
    #2587 otvertka, Friday at 11:40
    Last edited: Friday at 12:38
    Thank you for the answer. I'm trying again. I checked all the files, I will write the answer


    Edit:

    The problem happens only when you work with Business Edition. No problem with other LTSC and IoT LTSC. I tested them all
     
  8. SunLion

    SunLion MDL Addicted

    May 11, 2011
    952
    2,873
    30
    #2588 SunLion, Friday at 13:58
    Last edited: Friday at 14:12
    Thanks for reporting.

    OK.
    You are using Windows 11 as host.

    But you unzipped the package in a very long path, see:

    C:\Users\Sahin\Desktop\24H2_Integrator_10.2\24H2_Integrator_10.2\

    Unzip the package directly in a directory, be it C, D, E...
    Do not unzip on the desktop.

    It should look like this: X:\24H2_Integrator_10.2

    Use Winrar or 7-zip and choose the unzip option here and the entire folder will be unzipped.

    Do this and try again, please.

    You must run 24H2_Integrator_10.2_Start.cmd or 24H2_Integrator_Nsudo_Start.cmd to start the process.
     
  9. otvertka

    otvertka MDL Novice

    Aug 13, 2009
    21
    27
    0

    I worked with Windows11 Business Editions.iso. D: \ 24H2_INTEGATOR_10.2 \ 24H2_INTEGATOR_NSUDO_Start.Cmd. But he finished with the same error again.
     

    Attached Files:

  10. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    322
    631
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. otvertka

    otvertka MDL Novice

    Aug 13, 2009
    21
    27
    0
    Yes, okay, it is solved, thank you very much. @sainfo, finished smoothly when he wrote %DISM11% instead of %DISM% in the 96th line in the CreatedeFault.cmd file. Great!
     

    Attached Files:

    • ok!.png
      ok!.png
      File size:
      22.3 KB
      Views:
      19
  12. BonesJones

    BonesJones MDL Novice

    Jan 11, 2025
    15
    11
    0
    Hello.

    I have used 23H2 Integrator 9b for a successful W11 23H2 install. Script works great, no problems with install.

    I have 1 problem and I can fix it by reinstalling OS but I want to avoid that.

    I need WebView2 runtime and I have used the "Block Edge" option in the script. So I assume it has removed Edge and all dependencies and is blocking it from being reinstalled. When I try to use MicrosoftEdgeWebView2RuntimeInstallerX64.exe nothing happens, it won't install. Same thing for Edge, I thought maybe I needed to reinstall Edge but nothing happens when executing the .exe file. I don't want Edge on my machine, just WebView2. When I go to download Edge, it says on their website that Edge is already installed, but it absolutely is not on this machine.

    I thought I would be fine using this standalone runtime installer for WebView2 because I did this on a Windows 10 installation a week before this and it worked fine. No Edge was installed and the MicrosoftEdgeWebView2RuntimeInstallerX64.exe installed fine on Windows 10.

    I tried using this thread: https://forums.mydigitallife.net/th...sm-undocumented-command-line-arguments.89048/ and tried to make an iso just like the one I used to install W11, but with "Block Edge" not on, and then use DISM to fix my install with a local mounted iso, with the /Add-WebView command, but I can't seem to get it working properly. Is this even possible? Am I on the right track here?

    Anyone here who can point me in the right direction - Is there some way to restore WebView2 without a complete OS reinstall?
     
  13. raptorddd

    raptorddd MDL Addicted

    Aug 17, 2019
    781
    347
    30
    start reading from page 124 they talk about webview there. see if you can find answer there.
     
  14. BonesJones

    BonesJones MDL Novice

    Jan 11, 2025
    15
    11
    0
    It worked !!

    Thank you so much for pointing that out to me, saved me time and headaches, I can't thank you enough. I feel silly for not searching the thread for WebView now... It didn't occur to me that perhaps someone else would have the same issue and asked about it already.

    @sergey130270 THANK YOU !!!!
     
  15. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    322
    631
    10
    In my version of the Integrator tool, this code started to give an error:
    Code:
    ECHO.
    ECHO ====================================
    ECHO Cleanup spsuperseded of install.wim
    ECHO ====================================
    "%DISM11%" /English /Image:"%~dp0mount" /Cleanup-Image /spsuperseded
    
    I tried to change it to this version of the code - it worked without errors:
    Code:
    ECHO.
    ECHO ====================================
    ECHO Cleanup spsuperseded of install.wim
    ECHO ====================================
    "%~dp0tools\%HostArchitecture%\NSudo.exe" -U:T -P:E -UseCurrentConsole -Wait reg delete /Image:"%~dp0mount" /spsuperseded\*" /f
    
    Maybe this information will help someone ...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. SunLion

    SunLion MDL Addicted

    May 11, 2011
    952
    2,873
    30
    In fact, this command could be removed, since there is no service pack installed.

    When it runs without errors, no backup service pack is found.

     
  17. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    322
    631
    10
    #2598 sainfo, Saturday at 21:18
    Last edited: Saturday at 21:31
    Explain what you mean by installed service pack?
    I'm installing update KB5053656 on 26100.1742 or is that not what you're talking about?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. SunLion

    SunLion MDL Addicted

    May 11, 2011
    952
    2,873
    30
    #2599 SunLion, Saturday at 22:09
    Last edited: Saturday at 22:27
    Actually, I was interpreting the Service Pack as before, but now it is a series of LCUs applied.

    You are right, because when you have two or more LCUs installed, then the command should remove the unnecessary backups.

    A little research on the command:
    What error did you have with the command?
     
  19. sainfo

    sainfo MDL Senior Member

    Dec 6, 2021
    322
    631
    10
    #2600 sainfo, Sunday at 05:21
    Last edited: Sunday at 06:35
    I have Error: 13. I understand that this is an access rights error. So how can I raise them in this command?

    Okay, don't bother with this question. Everything works fine in your tool:
    =====================================
    Cleanup spsuperseded of install.wim
    ======================================

    Deployment Image Servicing and Management tool
    Version: 10.0.26100.2454

    Image Version: 10.0.26100.3624

    Service Pack Cleanup cannot proceed: No Service Pack backup files were found.
    The operation completed successfully.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...