DISM Capabilities Package Servicing Command-Line Options

Windows 10 for desktop editions (Home, Pro, Enterprise, and Education) only. Use Deployment Image Servicing and Management (DISM.exe) to service Windows capabilities. Capabilities are a Windows package type allows you to request services like .NET or languages without specifying the version. Use DISM to search multiple sources like Windows Update or your corporate servers to find and install the latest version.

To see the available capabilities, go to Features On Demand V2 (Capabilities).

DISM Command-Line Options

Here's how each DISM option can be used. These options are not case sensitive.

Note, each of these commands requires either the /Online or /Image:<path_to_offline_image_file> argument.

Options Description

/Add-Capability

/CapabilityName:<capability_name> [/Source:<source>] [/LimitAccess]

Adds a capability to an image.

Example:

Dism /Online /Add-Capability /CapabilityName:Language.Basic~~~en-US~0.0.1.0

Note DISM checks for the source files in the following order:
  1. If /Source is specified, DISM looks in the specified locations first.
  2. If /Source is not specified, or if the source files are not found in the specified locations, DISM checks to see if a group policy is set. If it is, DISM checks the locations specified by the group policy.
  3. If the files still aren't found, and if DISM is working against an online image, and if /LimitAccess is not specified, it looks for the files on Windows Update.

/Source: Allows you to choose a location, such as a server, where the capability source files are located. You can use multiple /Source arguments.

Example:

Dism /Online /Add-Capability /CapabilityName:Language.Basic~~~en-US~0.0.1.0 /Source:\server\share /Source:\server2\share

/LimitAccess: Tells DISM to not check Windows Update or Windows Server Update Services for the capability source files.

Example:

Dism /Online /Add-Capability /CapabilityName:Language.Basic~~~en-US~0.0.1.0 /Source:\server\share /LimitAccess

/Get-Capabilities

Get capabilities in the image.

Example:

DISM /Online /Get-Capabilities

/Get-CapabilityInfo

/CapabilityName:<capability_name>

Get information about a specific capability.

Example:

DISM /Online /Get-CapabilityInfo /CapabilityName:Language.Basic~~~en-US~0.0.1.0

/Remove-Capability

/CapabilityName:<capability_name>

Example:

Dism /Online /Remove-Capability /CapabilityName:Language.Basic~~~en-US~0.0.1.0

Example:

Dism /Image:C:\test\offline /Remove-Capability /CapabilityName:Language.Basic~~~en-US~0.0.1.0

Related topics

Features On Demand V2 (Capabilities)

DISM - Deployment Image Servicing and Management Technical Reference for Windows

What is DISM?

DISM Global Options for Command-Line Syntax

DISM Operating System Package Servicing Command-Line Options

DISM Languages and International Servicing Command-Line Options