dism offline to extract or strip packages from WIM file to make the windows installation smaller RRS feed

  • Question

  • Is there a way to really remove (delete the package file) from the WIM file to make the installation of windows smaller and functionality reduced so those packages/features may not be available for installation.

    But this should mainly be for reduzin the file of the WIM file / installation size of windows?

    And how would that cmd line look exactly, I've tested this cmd line but that only disables it does not actually reduze the footprint

    dism /Image:D:\images\windows2k8R2\w2k8r2_dsim /scratchdir:E:\images\scratchdir /disable-feature /packagename:Microsoft-Windows-ServerDatacenterCoreEdition~31bf3856ad364e35~amd64~~6.1.7600.16385 /featurename:PowerShell-WOW64

    Thursday, April 21, 2011 5:37 PM


  • I don't believe that it's possible to remove features from the WIM entirely.  It is possible to remove packages, however you'll find a much smaller list consisting of updates, language packs, and a few other items.  You can remove packages with the /Remove-Package /PackageName:packagename switches for dism.
    • Proposed as answer by Andrew Hodes Friday, April 22, 2011 2:05 AM
    • Marked as answer by Tim Quan Monday, April 25, 2011 2:39 AM
    Friday, April 22, 2011 2:05 AM