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.
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.
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
Warning Some optional components have dependencies. For more information, see the Dependencies section in Building a Windows PE Image with Optional Components.
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
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
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.
|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.
TasksHow to Configure Windows Firewall with Advanced Security Settings in Windows PE
How to Add a Language Pack to Windows PE
How to Add an Optional Component to Windows PE
How to Add an Update to Windows PE
How to Add an Application to Windows PE
How to Include a Custom Script in Windows PE
How to Add Device Drivers to an Online Windows PE Image
How to Add Device Drivers to an Offline Windows PE Image