How to remove indexes from WIM file?

Discussion in 'Windows 10' started by Nongshim, Apr 27, 2017.

  1. Nongshim

    Nongshim Guest

    How to remove indexes from WIM file?
     
  2. Nongshim

    Nongshim Guest

    Nevermind I can do it with DISM I guess.
     
  3. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    14,325
    18,145
    340
    Code:
    Delete:
    wimlib-imagex delete "path\to\your.wim" 1 --check
    Optimize:
    wimlib-imagex optimize "path\to\your.wim" --check --recompress
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Nongshim

    Nongshim Guest

    I used this
    Code:
    dism /Get-WimInfo /wimfile:”C:\Users\e-marnoldus\Desktop\Windows Server 2012 R2 x64\sources\install.wim”
    
    Index : 1
    Name : Windows Server 2012 R2 SERVERSTANDARDCORE
    Description : Windows Server 2012 R2 SERVERSTANDARDCORE
    Size : 6,897,618,255 bytes
    
    Index : 2
    Name : Windows Server 2012 R2 SERVERSTANDARD
    Description : Windows Server 2012 R2 SERVERSTANDARD
    Size : 12,069,723,893 bytes
    
    Index : 3
    Name : Windows Server 2012 R2 SERVERDATACENTERCORE
    Description : Windows Server 2012 R2 SERVERDATACENTERCORE
    Size : 6,876,269,628 bytes
    
    Index : 4
    Name : Windows Server 2012 R2 SERVERDATACENTER
    Description : Windows Server 2012 R2 SERVERDATACENTER
    Size : 12,066,707,039 bytes
    
    The operation completed successfully.
    
    dism /Delete-Image /ImageFile:”C:\Users\e-marnoldus\Desktop\Windows Server 2012 R2 x64\sources\install.wim” /Index:1
     
  5. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    12,512
    13,572
    340
    I thought you were working on 8.1 and wanted to delete the Pro index :eek:
     
  6. Nongshim

    Nongshim Guest

    That is just an example I got from a website
     
  7. Nongshim

    Nongshim Guest

    Does Windows install faster from USB if it has a WIM instead of an ESD?
     
  8. LiteOS

    LiteOS MDL Expert

    Mar 7, 2014
    1,211
    453
    60
    On lower end pc yes and good cpu
    Still yes but minor

    Just export the index u want to new wim and del the old one
     
  9. digital john

    digital john MDL Senior Member

    Mar 30, 2008
    253
    64
    10
    windows 10 1703 installed on my hp laptop under 16minutes.
    i have i5 3.2 ghz and 250ssd,16gbram
    i have wim as image