DISM Capabilities Package Servicing Command-Line Options

Windows 10 and Windows 11 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.


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


Adds a capability to an image.


Add-Capability /CapabilityName:<capability_name> [/Source:<source>] [/LimitAccess]
  • CapabilityName specifies the name of a capability you're adding to your image.
  • Source allows you to choose a location, such as a server, where the capability source files are located. You can use multiple /Source arguments.


    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.
  • LimitAccess tells DISM to not check Windows Update or Windows Server Update Services for the capability source files.


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


Export a set of capabilities into a new repository.


/Export-Source /CapabilityName:<capability_name> /Source<path_to_installation_packages> /Target:<path_to_repository>
  • /CapabilityName specifies the capability you would like to export. Multiple /CapabilityName arguments can be used.
  • /Source specifies the location of the source repository.
  • /Target specifies the location of the new repository.


Dism /Image:C:\test\offline /Export-Source /Source:C:\test\source /Target:C:\test\target /CapabilityName:Language.Basic~~~en-US~


Gets a list of capabilities in the image, and their install status.


DISM /Online /Get-Capabilities


Get information about a specific capability.


Get-CapabilityInfo /CapabilityName:<Capability_Name>
  • CapabilityName specifies the name of a capability you want information about.


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


Removes a capability from an image.


Remove-Capability /CapabilityName:<Capability_Name>
  • CapabilityName specifies the name of a capability you want to remove. You can specify more than one capability to remove.


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

Features On Demand

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