Microsoft Docs: Take Inventory of An Image or Component Using DOS Command DISM
Microsoft Docs: Take Inventory of An Image or Component Using DOS Command DISM
Filter by title
advertising. Privacy Statement
Accept all Manage cookies
Optimize
T
You must mount an offline image from a WIM or VHD file before you can take
inventory of or service a specific Windows image. For more information, see Mount
and Modify a Windows Image Using DISM.
In this section:
You can gather information about all of the images in a WIM or VHD file by using the
/Get-ImageInfo servicing command in DISM. You can also gather information about
a specific image in a WIM or VHD file, such as operating system, architecture, and
settings, by specifying the name or index number of the image. To specify the image
in a VHD file, you must use /Index:1 .
You can identify the images that are currently mounted on your computer, and you
can list information about the mounted image such as read/write permissions,
mount location, mounted file path, and mounted image index by using the /Get-
MountedImageInfo servicing command.
For more information about image commands available in DISM, see DISM -
Deployment Image Servicing and Management Technical Reference for Windows.
1. Click Start, and type deployment. Right-click Deployment and Imaging Tools
Environment and then select Run as administrator.
2. To list information about all of the images in a WIM or VHD file, at the elevated
command prompt, type:
= Copy
When used with the /Index or /Name options, more detailed information
about the specified image is displayed. To specify the image in a VHD file, you
must use /Index:1 .
1. Click Start, and type deployment. Right-click Deployment and Imaging Tools
Environment and then select Run as administrator.
= Copy
Dism /Get-MountedImageInfo
1. Click Start, and type deployment. Right-click Deployment and Imaging Tools
Environment and then select Run as administrator.
= Copy
You can display detailed information about a specific installed .inf file, or one that is
not yet installed. Installed drivers in the driver store will be named Oem0.inf,
Oem1.inf, and so on.
For more information about driver-servicing commands available in DISM, see DISM
Driver Servicing Command-Line Options.
1. Click Start, and type deployment. Right-click Deployment and Imaging Tools
Environment and then select Run as administrator.
2. Use one of the following commands to list information about all of the driver
packages in a mounted offline Windows image:
= Copy
= Copy
= Copy
= Copy
1. Click Start, and type deployment. Right-click Deployment and Imaging Tools
Environment and then select Run as administrator.
2. List information about a specific driver package in the offline Windows image.
For example, type:
= Copy
= Copy
Note
If you point to a driver that is not yet installed, the report will be slightly different.
You can use the /PackagePath option to specify a .cab file or a folder where the .cab
file is extracted. You cannot use this command to obtain package information for
.msu files. Alternately, you can use /Get-Packages to find the name of a package,
and then use /PackageName to specify the name of the package.
You can display detailed information about a feature. You must use the
/FeatureName option with the /Get command. Use the /Get-Features option to find
the name of the feature in the image. Feature names are case sensitive if you are
servicing a Windows image other than Windows 8.
1. Click Start, and type deployment. Right-click Deployment and Imaging Tools
Environment and then select Run as administrator.
2. To list information about all of the packages in the offline Windows image, type
the following command:
= Copy
= Copy
Installed. The
package is installed.
Feature Pack. A
Windows operating
system feature.
Language Pack. A
Windows operating
system Language
pack or Language
Interface Pack (LIP).
Foundation. Core
operating system
components
including optional
features.
1. Click Start, and type deployment. Right-click Deployment and Imaging Tools
Environment and then select Run as administrator.
2. To list information about a specific package in the offline Windows image, type
one of the following commands:
= Copy
= Copy
= Copy
= Copy
Install Client The client tool that DISM Package Manager Provider
installed the package.
Generally, "default"
will be displayed for
all servicing
packages.
Feature Pack. A
Windows operating
system feature.
Language Pack. A
Windows operating
system Language
pack or Language
Interface Pack (LIP).
Foundation. Core
operating system
components
including optional
features.
Installed. The
package is installed.
Undetermined. You
may have to boot
into the image in
order to complete
the installation of this
package. Many
packages can be
installed offline
entirely. If you
attempt to install a
package offline and a
reboot is required, it
will be reported in
the log file. You can
check the status of a
package using the
Get-PackageInfo
command.
1. Click Start, and type deployment. Right-click Deployment and Imaging Tools
Environment and then select Run as administrator.
2. To list information about the features in the offline Windows image, type one of
the following commands:
= Copy
= Copy
= Copy
= Copy
= Copy
= Copy
1. Click Start, and type deployment. Right-click Deployment and Imaging Tools
Environment and then select Run as administrator.
2. To list information about a specific feature in the offline Windows image, type
one of the following commands:
= Copy
= Copy
= Copy
For more information about app package servicing commands available in DISM, see
DISM App Package (.appx or .appxbundle) Servicing Command-Line Options.
1. Click Start, and type deployment. Right-click Deployment and Imaging Tools
Environment and then select Run as administrator.
= Copy
= Copy
Important
International servicing commands cannot be used on a Windows Vista or Windows
Server 2008 image.
Use the /online option to display information about international settings and
languages in the running operating system. Use /image:
<path_to_offline_image_directory> to display information about international settings
and languages in the offline image. When used with the /image and /distribution
options, information about international settings and languages in the distribution is
displayed.
1. Click Start, and type deployment. Right-click Deployment and Imaging Tools
Environment and then select Run as administrator.
2. To list information about all of the international settings in the offline Windows
image, type one of the following commands:
= Copy
= Copy
= Copy
Target editions are the editions of Windows that you can upgrade to. You can display
information about the current edition or the target edition of an offline Windows
image or a running operating system.
For more information about Windows edition servicing commands available in DISM,
see DISM Windows Edition-Servicing Command-Line Options.
1. Click Start, and type deployment. Right-click Deployment and Imaging Tools
Environment and then select Run as administrator.
2. To list information about the current edition of the offline Windows image, type
the following command:
= Copy
= Copy
1. Click Start, and type deployment. Right-click Deployment and Imaging Tools
Environment and then select Run as administrator.
2. To list information about the target edition of the offline Windows image, type
the following command:
= Copy
= Copy
You can display detailed information about installed MSP patches filtered by patch
and application. If the /PatchCode option is specified, detailed information is
displayed for all Windows Installer applications that the patch is applied to. If the
/ProductCode option is specified, information about all MSP patches in the specified
application is displayed.
For more information about application servicing commands available in DISM, see
DISM Application Servicing Command-Line Options.
1. Click Start, and type deployment. Right-click Deployment and Imaging Tools
Environment and then select Run as administrator.
2. To list information about the MSP patches, type one of the following
commands:
= Copy
= Copy
= Copy
= Copy
1. Click Start, and type deployment. Right-click Deployment and Imaging Tools
Environment and then select Run as administrator.
2. To list information about the MSP patches, type one of the following
commands:
= Copy
= Copy
1. Click Start, and type deployment. Right-click Deployment and Imaging Tools
Environment and then select Run as administrator.
2. To list information about the MSP patches, type the following command:
= Copy
The report generated lists the product code and product name for applications that
are installed in the offline image. For example:
1. Click Start, and type deployment. Right-click Deployment and Imaging Tools
Environment and then select Run as administrator.
2. To list information about the MSP patches, type the following command:
= Copy
-1 if the product is
neither advertised
nor installed.
1 if the product is
advertised but not
installed.
2 if the product is
installed for a
different user.
5 if the product is
installed for the
current user.
1 if the product is
advertised or
installed per-
computer for all
users.
Related topics
Service a Windows Image Using DISM
Recommended content
Show more S
Manage cookies Previous Version Docs Blog Contribute Privacy & Cookies Terms of Use Trademarks © Microsoft 2021