次の方法で共有


View Current Packages in a Windows PE Image

Applies To: Windows 7, Windows Server 2008 R2

Note

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

  1. 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
    
  2. Run the dism /Get-Packages command to view all packages in the current image. For example:

    Dism /image: c:\winpe_x86\mount /Get-Packages
    
  3. Run the dism /Get-Features command to view all features in the current image. For example:

    Dism /image: c:\winpe_x86\mount /Get-Features
    
  4. 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.

See Also

Concepts

Deployment Image Servicing and Management Command-Line Options