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.
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:
/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
DISM - Deployment Image Servicing and Management Technical Reference for Windows
DISM Global Options for Command-Line Syntax
DISM Operating System Package Servicing Command-Line Options
DISM Languages and International Servicing Command-Line Options