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

    sainfo MDL Member

    Dec 6, 2021
    231
    409
    10
    #2261 sainfo, Feb 12, 2025 at 05:35
    Last edited: Feb 12, 2025 at 06:30
    I also wanted to point out that despite the fact that cleaning the image takes place without errors, in fact the script does not clean everything. Because the size of the resulting image is obscenely large. Of course, I’ll try this as your cleaning option, and I’ll let you know about the test results.

    I tried it with image 26100.1 and image 26100.1742 in both versions. The result is the same: the image is not unpacked into the DVD folder. It just creates an empty sources folder and nothing else. Next the script is interrupted ...

    Apparently you were in a hurry with these scripts. And here, both in the version with NSudo and in the version with TAKEOWN, as they say: find two differences?! Maybe someone sees them, but personally I don’t.
    Code:
    "%~dp0tools\%HostArchitecture%\NSudo.exe" -U:T -P:E "%~dp024H2_Integrator_8.2.cmd"
    
    "%~dp0tools\%HostArchitecture%\NSudo.exe" -U:T -P:E "%~dp024H2_Integrator_8.3.cmd"
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. sainfo

    sainfo MDL Member

    Dec 6, 2021
    231
    409
    10
    #2262 sainfo, Feb 12, 2025 at 06:14
    Last edited: Feb 12, 2025 at 06:21
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. bendeyar

    bendeyar MDL Junior Member

    Mar 14, 2019
    50
    53
    0
    Tried and the script closes...
     
  4. bendeyar

    bendeyar MDL Junior Member

    Mar 14, 2019
    50
    53
    0
    If not "%ISOName%"=="" (
    If Exist "DVD" rd /s /q "DVD" >nul 2>&1
    "%~dp0tools\%HostArchitecture%\7z.exe" x -y -o"DVD" "%ISOName%"


    If not "%ISOName%"=="" (
    If Exist "temp\DVD" rd /s /q "temp\DVD" >nul 2>&1
    "%~dp0tools\%HostArchitecture%\7z.exe" x -y -o"temp\DVD" "%ISOName%"
     
  5. SunLion

    SunLion MDL Addicted

    May 11, 2011
    838
    2,357
    30
    Sorry, but haste makes waste.

    I forgot to remove the code to reduce sources.

    These have now been tested.

    password: mdl2025
     

    Attached Files:

  6. SunLion

    SunLion MDL Addicted

    May 11, 2011
    838
    2,357
    30
    I'm trying both modes because sometimes the cleaning isn't complete with nsudo...

    When I adjust the most appropriate mode better, we'll stick with just one.
     
  7. sainfo

    sainfo MDL Member

    Dec 6, 2021
    231
    409
    10
    Hmm, either the translation distorts what I want to convey to you and we don’t understand each other, or are you persistently making the same mistake?
    In the script 24H2_Integrator_8.2_with_TAKEOWN you will execute the script as NSudo.exe
    Code:
    "%~dp0tools\%HostArchitecture%\NSudo.exe" -U:T -P:E "%~dp024H2_Integrator_8.2.cmd"
    At the same time, in the script 24H2_Integrator_8.3_with_NSudo you are executing the same command?!
    Code:
    "%~dp0tools\%HostArchitecture%\NSudo.exe" -U:T -P:E "%~dp024H2_Integrator_8.3.cmd"
    And the takeown.exe file itself is not in your tool. I don’t understand how you use takeown.exe in your script.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. SunLion

    SunLion MDL Addicted

    May 11, 2011
    838
    2,357
    30
    I only referred to the codes for cleaning install.wim. See the difference below:

    Adjusted Cleaning install.wim with TAKEOWN (only partial...)
    Adjusted Cleaning install.wim with NSUDO (only partial...)
    I'm trying to check which of the modes is more effective in cleaning.
     
  9. sainfo

    sainfo MDL Member

    Dec 6, 2021
    231
    409
    10
    Now I understand, thanks for the clarification, and now I will also check and see the difference in the size of the resulting image.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. sainfo

    sainfo MDL Member

    Dec 6, 2021
    231
    409
    10
    #2271 sainfo, Feb 12, 2025 at 18:20
    Last edited: Feb 12, 2025 at 18:30
    I checked it on image 26100.1, I got the following install.wim file sizes (mode Slim):
    1. Cleaning install.wim with TAKEOWN (4,159 Gb)
    2. Cleaning install.wim with NSUDO (4,190 Gb)
    So for now it’s something like this (didn't change anything in the script), we are looking for other solutions to reduce the size of the install.wim file
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. sainfo

    sainfo MDL Member

    Dec 6, 2021
    231
    409
    10
    #2272 sainfo, Feb 12, 2025 at 18:58
    Last edited: Feb 12, 2025 at 19:12
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. sainfo

    sainfo MDL Member

    Dec 6, 2021
    231
    409
    10
    What does it matter, they are almost unambiguous in effectiveness. In additions to the script, he used the NTLite program, and it cleans the image normally. It’s just a pity that this program doesn’t want to be friends with me (sarcasm).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. bendeyar

    bendeyar MDL Junior Member

    Mar 14, 2019
    50
    53
    0
    I used SLIM,install.wim became 3.935
    then I used NTLite, install.wim became 3.349
     
  14. SunLion

    SunLion MDL Addicted

    May 11, 2011
    838
    2,357
    30
    Have you tried installing it?

    I'm getting an error while installing it... I still don't know why.
     
  15. bendeyar

    bendeyar MDL Junior Member

    Mar 14, 2019
    50
    53
    0
  16. SunLion

    SunLion MDL Addicted

    May 11, 2011
    838
    2,357
    30
    You have installed update 3194.

    When I try to install with 3037, the error occurs.

    I will investigate further...

    Could you send me the LOG file please.
     
  17. cunuhoujabsq

    cunuhoujabsq MDL Novice

    Jan 30, 2015
    19
    8
    0
    SunLion, what script should i use for 24H?
    Thank you!