Export (0) Print
Expand All

How to View Current Optional Components in Windows PE

Published: February 29, 2012

Updated: May 31, 2012

Applies To: Windows 8, Windows Server 2008 R2, Windows Server 2012

You can view the optional components that are installed on the current Windows® Preinstallation Environment (Windows PE) image by using the Deployment Image Servicing and Management (DISM) tool. Before you can run any DISM command, you must mount the Windows PE image. For a full list of all optional components that you can add to your base image, see the Supported Optional Components section in Building a Windows PE Image with Optional Components.

  1. Use the DISM tool to mount the image to a local Windows PE directory. For example:

    Dism /mount-image /imagefile:C:\winpe_x86\winpe.wim /index: 
        <1>
       /mountdir:C:\winpe_x86\mount
    

    where <1> is the number of the selected image on the .wim file.

  2. Run the Dism /Get-Packages command to view all the optional components in the current image. For example:

    Dism /image:C:\winpe_amd64\mount /get-packages
    
    WarningWarning
    Some optional components have dependencies. For more information, see the Dependencies section in Building a Windows PE Image with Optional Components.

  3. Run the Dism /Get-Features command to view all the features in the current image. For example:

    Dism /image:C:\winpe_amd64\mount /get-features
    
  4. After you modify the image, unmount the image, and then commit changes to the image. For example:

    Dism /unmount-image /mountdir:C:\winpe_amd64\mount /commit
    
  5. Optional: After the image is prepared, copy the image to bootable media. For more information, see Walkthrough: Install Windows PE to CD, USB Flash Drive, or USB Hard Drive or Walkthrough: Flat-Boot Windows PE.

noteNote
If you remove a optional component by using the Dism /Remove-Package command, the Windows PE image no longer includes the package functionality. However, the source file still persists in the image. The size of the image remains the same. To remove the file from the image, you must create a new image.

For more information about how to manage optional components, see Operating System Package Servicing Command-Line Options.

For more information about DISM commands, see Image Management Command-Line Options.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft