Slimdown10_v2.0.2 (continued)

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

  1. mitty2005

    mitty2005 MDL Junior Member

    Aug 31, 2010
    58
    7
    0
    I'm trying to slim down the Windows 10 iso , when I run SD10_Custom_1.72_Start.cmd the black window opens and then immediately closes. The folder is excluded from the antivirus. Plus antivirus is disabled altogether.
    I tried to run as administrator and tried to just run it . Same effect. Any help would be greatly appreciated.
     
  2. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,777
    6,954
    60
    Good morning,

    Did you read the HowToUse.chm file before using the script?

    7 – Now run the SD10_Custom_x.x_Start.cmd or SD10_Default_x.x_Start.cmd script as administrator.

    Attention:

    The first time you run the SD10_Custom_x.x_Start.cmd or SD10_Default_x.x_Start.cmd script, a PowerRun warning will appear

    asking you to enable command line commands.

    To do this, go to the DATA\Tools folder and run the PowerRun_x64.exe file.

    In the window that opens, go to the Files tab and click "Allow command line" and Close the PowerRun_x64.exe.

    That's it. Now everything will run without problems.

    See if this solves the problem.

    Let me know if anything comes up.
     
  3. DrakeBond

    DrakeBond MDL Novice

    Oct 28, 2020
    46
    79
    0
    Hello,@SunLion
    Ran the script zero issues, Tested image in a VM all working well, Thank you!
     
  4. gutentaghallo

    gutentaghallo MDL Junior Member

    Jan 1, 2022
    53
    52
    0
    #1584 gutentaghallo, Sep 23, 2026
    Last edited: Sep 23, 2026
    I've just done my test run and did run twice into two errors (PackageSelector/Remove Capabilities).
    I guess that's just an redundancy error as I've chosen to disable the media player and to remove Wordpad at the beginning of the script and it doesn't have any effect on my ISO?
    Later in the script it also shows an error for Wordpad

     

    Attached Files:

  5. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,777
    6,954
    60
    #1585 SunLion, Sep 23, 2026
    Last edited: Sep 23, 2026
    (OP)
    I'll check and get back to you with the result.

    No, this will not affect the ISO.

    There are some conflicts between PackageSelector and Remove Capabilities.

    I will check and correct this.

    Actually, PackageSelector doesn't add many additional removal options, since the Remove ProvisionedAppxPackages, Remove Capabilities, and Disable Features codes already cover the vast majority of what should be removed/disabled.

    Until it's validated, I suggest not using PackageSelector.

    Best regards
     
  6. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,777
    6,954
    60
    Hi @gutentaghallo,
    The PackageSelector.ps1 file has been edited to resolve the conflicts.
    I ran a quick test here, and everything went smoothly.
    However, a bug might still occur in a different scenario, so please run a test and let me know the result.

    Replace the existing file at DATA\Files\PackageSelector.ps1 with the edited version and run your test as usual.

    Feel free to reach out if you have any questions or suggestions.

    Best regards,

    PackageSelector_edited.7z
    No psw
     

    Attached Files:

  7. gutentaghallo

    gutentaghallo MDL Junior Member

    Jan 1, 2022
    53
    52
    0
    @SunLion tested your new file, all worked perfectly.
    Thanks for your quick fix.
     
  8. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,777
    6,954
    60
    =====================
    SD10_Renewed_1.73
    =====================
    Updated to 1904x.7727


    - 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/threads/slimdown10_v2-0-2-continued.88599/

    Good luck!
     
  9. LTSC-Ten

    LTSC-Ten MDL Member

    Sep 27, 2026
    127
    158
    10
    It will not fully extract for me.
    I use 7-Zip version 19.00 (x64) and it throws a Unsupported compression method: Wrong password? error when it gets to the DATA\Addons\... ... ...\win32calc.exe file.
     
  10. LTSC-Ten

    LTSC-Ten MDL Member

    Sep 27, 2026
    127
    158
    10
    I shall let @SunLion address this directly. I have no interest in WinRAR [to each their own] and think it fair for SunLion's upload to be compatible with 7-Zip.
     
  11. hoak

    hoak MDL Addicted

    Nov 13, 2009
    763
    2,098
    30
    I just extracted it with the 7-Zip command line archiver, and it worked fine -- I only use true portable software...
     
  12. LTSC-Ten

    LTSC-Ten MDL Member

    Sep 27, 2026
    127
    158
    10
    I prefer portable for a lot of my stuff also. But I do install 7-Zip. I'll try the command line approach. What VERSION did you use? I know there are newer versions and admittedly don't recall why I stayed with 19.00. I see just now that they're all the way up to 26.03 and 19.00 is no longer listed on the home page (it used to be, not sure when or why it no longer is).

    re: portable. I tend to just use the VM approach nowadays. Do anything and everything inside a VM. Even possible malware! Just delete the VM when done and no harm is done to the HOST OS.
     
  13. LTSC-Ten

    LTSC-Ten MDL Member

    Sep 27, 2026
    127
    158
    10
    #1595 LTSC-Ten, Sep 28, 2026
    Last edited: Sep 28, 2026
    7-Zip version 26.03 extracted the file just fine.
    Though I'm going to have to downgrade and see how far I can downgrade and still extract this file.
     
  14. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,777
    6,954
    60
    Good morning,

    Yes, whenever possible, update your app—especially 7-Zip, which is excellent.

    I always compress files using 7-Zip, but they can also be extracted with other apps, such as WinRAR.

    Good luck!
     
  15. LTSC-Ten

    LTSC-Ten MDL Member

    Sep 27, 2026
    127
    158
    10
    Agreed. For the longest time, the creator of 7-Zip *supported* more than one version and 19.00 *and* 23/24/25 branches were listed right on the front page.
    AI suggests that 19.00 was removed from the front page in 2023 but that seems too long ago to me. But I don't really recall.
    Today, the front page only lists ONE branch and you have to hunt down older versions via SourceForge link at bottom of front page.
    They did used to support TWO branches on the front page (and I was using the lesser of the two, feeling that the newer was still "experimental").
    I've updated to the 25.01. To each their own, as always, I'm just NOT a fan of "chasing" updates left and right.
    To me, it is "b&ll$h#t" that things like browsers update every two d@mn weeks or so. Once every SIX MONTHS is more intune with my preference.

    My computer, my rules. :)
     
  16. DrakeBond

    DrakeBond MDL Novice

    Oct 28, 2020
    46
    79
    0
    Hello,@SunLion
    SD10_Renewed_1.73 everything works fine, without errors.
    Tested image in a VM all working well.
    Good health to You and your whole family!
    You are the best! Thank you Very much!
     
  17. nonlin01

    nonlin01 MDL Junior Member

    Jun 3, 2017
    76
    30
    0
    I too got an error on one file if using an older Winrar - believe it's later versions of winrar 5.x / 7-zip compression that give errors on a few files rather than the whole lot when extracting using older versions of those programs (strange it's sometimes just the odd file in an archive containing 100's of files.
     
  18. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    4,424
    17,279
    150
    @SunLion 1.73 working perfectly as expected Thank you!