View Current Packages in a Windows PE Image
Applies To: Windows 7, Windows Server 2008 R2
This content applies to Windows 7. For Windows 8 content, see Windows Deployment with the Windows ADK.
The following procedure demonstrates how to use the Deployment Image Servicing and Management (DISM) tool to view what packages are currently available and installed on the current Windows® Preinstallation Environment (Windows PE) image. Before you can run any DISM command, you must first mount the Windows PE image.
To view available packages in the current Windows PE image
Mount the image by using the DISM tool to a local Windows PE directory. For example:
Dism /Mount-WIM /WimFile:c:<path to boot.wim> /index:1 /MountDir:c:\winpe_x86\mount
Run the dism /Get-Packages command to view all packages in the current image. For example:
Dism /image: c:\winpe_x86\mount /Get-Packages
Run the dism /Get-Features command to view all features in the current image. For example:
Dism /image: c:\winpe_x86\mount /Get-Features
You must unmount the image after you have modified it.
dism /unmount-wim /Mountdir:c:\winpe_x86\mount /commit
After you unmount the image, you can burn the image to the designated media.
To learn more about managing packages, see Operating System Package Servicing Command-Line Options.