How to clean windows wim image after integrate updates

Discussion in 'Windows 11' started by egyptian hak, Oct 22, 2023.

  1. egyptian hak

    egyptian hak MDL Senior Member

    Aug 21, 2009
    257
    67
    10
    Are there any way to clean windows wim image after integrate updates offline in iso because it become a big size
     
  2. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,527
    450
    Either run:
    Code:
    Dism /Image:x:\Mount /Cleanup-Image /StartComponentCleanup
    or
    Code:
    Dism /Image:x:\Mount /Cleanup-Image /StartComponentCleanup /resetbase
     
  3. egyptian hak

    egyptian hak MDL Senior Member

    Aug 21, 2009
    257
    67
    10
    are these methods can used to make wim file smaller after offline integrated hotfix's and security updates because i used it before but did not work
     
  4. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,527
    450
  5. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,350
    2,523
    120
    use reset base + wim to esd conversion to have light build
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. egyptian hak

    egyptian hak MDL Senior Member

    Aug 21, 2009
    257
    67
    10
    i got this error

    upload_2023-10-22_18-58-9.png
     
  7. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,527
    450
    Best to use W10UI for this or don't enable dotnetfx35 before running the cleanup commands