DISM Provisioning Package (.ppkg) Command-Line Options

Use DISM to work with Provisioning Packages (.ppkg) files. For example, you can add settings and Windows desktop applications to Windows 10, or reduce the size of your Windows installation.

/Add-ProvisioningPackage

Adds applicable payload of provisioning package to the specified image.

Syntax:

DISM.exe /Add-ProvisioningPackage /PackagePath:<package_path> [/CatalogPath:<path>]

Example:

DISM.exe /Image=C:\ /Add-ProvisioningPackage /PackagePath:C:\oem.ppkg

/Get-ProvisioningPackageInfo

Get the information of provisioning package.

Syntax:

DISM.exe /Get-ProvisioningPackageInfo /PackagePath:<package_path>

Example:

DISM.exe /Image=C:\ /Get-ProvisioningPackageInfo /PackagePath:C:\oem.ppkg

/Apply-CustomDataImage

Dehydrates files contained in the custom data image to save space. For client editions, this package is used by the push-button recovery tools.

Syntax:

/Apply-CustomDataImage /CustomDataImage:<path_to_image_file> /ImagePath:<target_drive> /SingleInstance
Parameter Description
/CustomDataImage Specifies where the provisioning package is stored.
/ImagePath Specifies the drive that contains the Windows image. DISM scans this drive for any non-system files on this drive and incorporates them into the provisioning package.
/SingleInstance After DISM captures the non-system files to a compressed provisioning package, DISM adds pointers on the drive to the new compressed provisioning package, and removes the original files. As a result, the files are still visible to the system, but take up less space on the drive.

Example:

DISM.exe /Apply-CustomDataImage /CustomDataImage:C:\oem.ppkg /ImagePath:C:\ /SingleInstance

Applies to: Windows 10 for desktop editions (Home, Pro, Enterprise, and Education) only.