Slimdown10_v2.0.2 (continued)

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

  1. SunLion

    SunLion MDL Addicted

    May 11, 2011
    632
    1,494
    30
    #1 SunLion, Sep 1, 2024
    Last edited: Nov 23, 2024
  2. hoak

    hoak MDL Member

    Nov 13, 2009
    221
    402
    10
  3. ashish1989

    ashish1989 MDL Senior Member

    Sep 20, 2013
    499
    94
    10
    Its really great to have your personal thread now, now updates can be viewed more conveniently. If you like it, then change your topic heading to like
    Slimdown - Make your Windows Slim or Lite
    And if possible make a separate thread in Windows 11 forum, so that Windows 11 iso's can be slimmed down too
     
  4. egroups_megapics

    egroups_megapics MDL Member

    Aug 12, 2009
    135
    49
    10
    Trying Slimdown10 after long time and bit confused as iso went from 4.8gb to 6gb

    source iso - en-us_windows_10_enterprise_ltsc_2021_x64_dvd_d289cf96.iso

    select Windows 10 Enterpise LTSC as image

    changes to SD10v202_24_with_EDGE.cmd

    set IntegrateUpdates=0
    set DisableSearchIndexing=1
    set DisableWindowsSearch=1
    set ReplaceStartMenuWithOpenShell=1
    set OpenShellLooksLikeWin7=0
    set DisableRootCertUpdate=0
    set DisableDriversFromWU=1
    set DisableInternetConnectionChecking=0
    set DisablePrefetcher=0
    set DisableCDAutoPlay=1
    set DisablePerfCounters=1
    set DisableDefender=1
    set DisableSpyNet=1
    set EnableStore=0
    set EnableOneDrive=0
    set AddWinHlp=1
    set FakeMDM=1
    set IncludeWindowsRegulatedPackagesInLTSC=1
    set DisableAdditionalServices=TrkWks
    set SplitInstallWim=0
    set CreateISO=1

    in W10UI.cmd
    set Cleanup=1
    set ResetBase=1
    set WinRE=1

    in W10UI.ini
    Net35 =0
    Net35Source =
    Cleanup =1
    ResetBase =1
    LCUwinre =0
    WinRE =1
    UpdtBootFiles =1
    SkipEdge =1
    SkipWebView =1
    UseWimlib =1

    After script completes the new iso created is now 6.6GB against 4.8gb iso

    Seems i'm not configuring settings to compress iso
     
  5. SunLion

    SunLion MDL Addicted

    May 11, 2011
    632
    1,494
    30
  6. nguyenhuuchinh

    nguyenhuuchinh MDL Novice

    Jun 16, 2020
    6
    1
    0
    I ran the script again but the result is still the same error?
     
  7. SunLion

    SunLion MDL Addicted

    May 11, 2011
    632
    1,494
    30
    #9 SunLion, Sep 2, 2024
    Last edited: Sep 2, 2024
    (OP)
    Yes, this is normal.
    Run it again until the downloads are complete.

    After having all the updates there will be no more errors.

    If you prefer, run the _PreDownloadAllUpdates.cmd script to download all updates.
     
  8. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,274
    13,804
    120
    Your latest release works flawlessly for me. Thanks SunLion
     
  9. hoak

    hoak MDL Member

    Nov 13, 2009
    221
    402
    10
  10. SunLion

    SunLion MDL Addicted

    May 11, 2011
    632
    1,494
    30
    I edited the _PreDownloadAllUpdates.cmd file and split it into two, one for each ARCH:

    _PreDownloadAllUpdates_x64.cmd
    _PreDownloadAllUpdates_x86.cmd


    This is a good alternative to have the updates in the appropriate folders before running the main script.

    Choose the ARCH corresponding to your ISO and run it first, until you have downloaded all the updates.

    When wget fails to download a file completely, the script will delete the incomplete file and notify you to run the script again:

    WARNING! Removed incorrectly downloaded file: "Microsoft-Windows-RegulatedPackages-WOW64-Package-x64.ESD"
    ERROR!
    Some files has NOT been downloaded correctly!
    Please re-run the script and try again!


    When you run the script again, only the missing files will be downloaded.
    This is a normal occurrence.
    Run the script as many times as necessary until all updates are downloaded.

    They can be run before even extracting the install.wim and will download all the updates, with the exception
    of "microsoft-windows-client-languagepack-package_ARCH.esd, which will be downloaded by the main script.

    Test it.
     

    Attached Files:

  11. Lywzc

    Lywzc MDL Junior Member

    Jan 21, 2019
    62
    4
    0
    I see DirectX 9 is not included. Are they not needed any more?
     
  12. SunLion

    SunLion MDL Addicted

    May 11, 2011
    632
    1,494
    30
  13. nguyenhuuchinh

    nguyenhuuchinh MDL Novice

    Jun 16, 2020
    6
    1
    0
    When i run the script SD10v202_26_with_EDGE_Start.cmd everything is fine.
    But when i use windows store and download the app an error appears.

    PUR-AuthenticationFailure

    Please help me fix the script to fix that error?
     
  14. SunLion

    SunLion MDL Addicted

    May 11, 2011
    632
    1,494
    30
    This issue has already been discussed in another thread. Unfortunately, it has nothing to do with the script.

    Please read the threads below.
    https://forums.mydigitallife.net/th...sic-legacy-windows.86552/page-73#post-1849474
    https://forums.mydigitallife.net/th...sic-legacy-windows.86552/page-73#post-1849630
     
  15. ashish1989

    ashish1989 MDL Senior Member

    Sep 20, 2013
    499
    94
    10
    Activate windows first using MAS, then try store apps
     
  16. egalerst

    egalerst MDL Junior Member

    Sep 3, 2017
    61
    51
    0
    @SunLion
    Due to the HEVC change from "*%ImageArchitecture%*.appx" to "neutral_~_8wekyb3d8bbwe.AppxBundle" in the APPX folder the following line fails:
    Code:
    if not exist "%~dp0hotfixes\APPX\HEVC\Microsoft.HEVCVideoExtension*%ImageArchitecture%*.appx" goto skipHEVCupd
    The resulting "dism /Add-ProvisionedAppxPackage" command consequently also needs to be corrected.