How to fix WIM size after removing indexes?

Discussion in 'Windows 10' started by quiggly, Dec 14, 2017.

  1. quiggly

    quiggly Guest

    I removed all indexes except Home from my Install.wim file, how do I fix it up to now compress it down, like make it smaller that it now only has 1 index? Other than converting to ESD.
     
  2. rpo

    rpo MDL Addicted

    Jan 3, 2010
    611
    393
    30
    You could export (dism /export-image) the intall.wim, but AFAIK the size decrease is not substancial.
     
  3. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    15,320
    21,201
    340
    Instead of removing any indices just export the one you want to new WIM. Job done :cool2:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    16,786
    21,027
    340
    After every dism command the deleted/changed files are saved in the wim inside [DELETED] To see how big it is you can open the WIM by using 7zip.

    You can export the index to a new wim and the deleted folder will be gone and the size should decrease a bit (depending on what is done to the wim, many servicing tools call this "rebuilding"):
    Command:
    Code:
    dism /Export-Image /SourceImageFile:"x:\install.wim" /SourceIndex:1 /DestinationImageFile:"y:\install.wim" /Compress:max /checkintegrity