Parameter | Description |
---|---|
/WIMBoot | Use /WIMBoot to append the image with Windows image file boot (WIMBoot) configuration. This only applies to Windows 8.1 images that have been captured or exported as a WIMBoot file. This feature isn't supported in Windows 10. |
/ConfigFile | specifies the location of a configuration file that lists exclusions for image capture and compress commands. For more information, see DISM Configuration List and WimScript.ini Files. |
/Bootable | Marks a volume image as being a bootable image. This argument is available only for Windows Preinstallation Environment (WinPE) images. Only one volume image can be marked as bootable in a .wim file. |
/CheckIntegrity | Detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations. /CheckIntegrity stops the operation if DISM detects that the .wim file is corrupted when used with apply and mount operations. |
/Verify | Checks for errors and file duplication. |
/NoRpFix | Disables the reparse point tag fix. A reparse point is a file that contains a link to another file on the file system. If /NoRpFix is not specified, reparse points that resolve to paths outside of the value specified by /ImageFile will not be captured. |
Parameter | Description |
---|---|
/ImageFile | The path and name of the FFU image file that will be applied |
/ApplyDrive | The path to the phyisical drive that will be imaged |
/SFUfile<pattern> | Optional, for split FFUs that are captured with no compression. Use /SFUFile to reference split FFU files (SFUs). Pattern is the naming pattern and location of split files. Use a wildcard character when specifying the naming pattern. For example, 'E:imageinstall*.sfu' will apply all of the split files in the E:image directory named install1.sfu, install2.sfu, and so on. |
Parameter | Description |
---|---|
/CheckIntegrity | Detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations. /CheckIntegrity stops the operation if DISM detects that the .wim file is corrupted when used with apply and mount operations. |
/Verify | Checks for errors and file duplication. |
/NoRpFix | Disables the reparse point tag fix. A reparse point is a file that contains a link to another file on the file system. If /NoRpFix is not specified, reparse points that resolve to paths outside the value specified by /ImageFile will not be captured. |
/SWMFile | Enables you to reference split .wim files (SWMs). Pattern is the naming pattern and location of split files. Use a wildcard character when specifying the naming pattern. For example, 'E:imageinstall*.swm' will apply all of the split files in the E:image directory named install1.swm, install2.swm, and so on. |
/ConfirmTrustedFile | Validates the image for Trusted Desktop on a Windows 10, Windows 8.1, or Windows 8. This option can only be run on a computer running at least WinPE 4.0. When using /Apply-Image with the /ConfirmTrustedFile option in WinPE, always specify the /ScratchDir option pointed to a physical media location. This ensures that short file names will always be available. See DISM Global Options for Command-Line Syntax for more information about the default behavior of the /ScratchDir option. Beginning with Windows 10, version 1607, you can use /EA to apply extended attributes. |
/WIMBoot | Use /WIMBoot to append the image with Windows image file boot (WIMBoot) configuration. This only applies to Windows 8.1 images that have been captured or exported as a WIMBoot file. This feature isn't supported in Windows 10. |
/Compact | Applies an image in compact mode, saving drive space. Replaces WIMBoot. For Windows 10 for desktop editions (Home, Pro, Enterprise, and Education) only. Note: If you're applying an image in compact mode with the /ScratchDir option, make sure your ScratchDir folder is not on a FAT32-formatted partition. Using a FAT32 partition could result in unexpected reboots during OOBE. |
/EA | New in Windows 10, version 1607. Applies extended attributes. |
/ApplyDrive | Specifies the logical drive, using the DeviceID. to get the device ID from the command line, type 'wmic diskdrive list brief'. Note: a VHD may appear with the name “PhysicalDrive” in the description, for example, .PhysicalDrive2. |
/SFUFile | Use /SFUFile to reference split FFU files (SFUs). Pattern is the naming pattern and location of split files. |
Parameter | Description |
---|---|
/CaptureDir | Specifies the directory to which the image was applied and customized. |
/ConfigFile | Specifies the location of a configuration file that lists exclusions for image capture and compress commands. For more information, see DISM Configuration List and WimScript.ini Files. |
/CheckIntegrity | Detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations. /CheckIntegrity stops the operation if DISM detects that the .wim file is corrupted when used with apply and mount operations. |
/Verify | Checks for errors and file duplication. |
[/ConfirmTrustedFile | Validates the image for Trusted Desktop on a Windows 10, Windows 8.1, or Windows 8. This option can only be run on a computer running at least WinPE 4.0. |
Parameter | Description |
---|---|
/CaptureDrive | The physical drive to be captured. You can use diskpart to get drive number information. Uses the format .PhysicalDriveX , where X is the disk number that diskpart provides. |
/PlatformIds | Not needed for desktop capture. Specifies one or more platform ids (separated with semicolon) to be added to the image. If not specified, platform id will be '*'. |
/Compress | Specifies the type of compression used for when capturing. If you'll be splitting the FFU, specify none , as DISM doesn't support splitting compressed FFUs. |
Parameter | Description |
---|---|
/ConfigFile | Specifies the location of a configuration file that lists exclusions for image capture and compress commands. For more information, see DISM Configuration List and WimScript.ini Files. |
/Compress | Specifies the type of compression used for the initial capture operation. The maximum option provides the best compression, but takes more time to capture the image. The fast option provides faster image compression, but the resulting files are larger than those compressed by using the maximum option. This is also the default compression type that is used if you do not specify the argument. The none option does not compress the captured image at all. |
/Bootable | Marks a volume image as being a bootable image. This argument is available only for WinPE images. Only one volume image can be marked as bootable in a .wim file. |
/CheckIntegrity | Detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations. /CheckIntegrity stops the operation if DISM detects that the .wim file is corrupted when used with apply and mount operations. |
/Verify | Checks for errors and file duplication. |
/NoRpFix | Disables the reparse point tag fix. A reparse point is a file that contains a link to another file on the file system. If /NoRpFix is not specified, reparse points that resolve to paths outside of the value specified by /ImageFile will not be captured. |
/WIMBoot | Use /WIMBoot to append the image with Windows image file boot (WIMBoot) configuration. This only applies to Windows 8.1 images that have been captured or exported as a WIMBoot file. This feature isn't supported in Windows 10. |
/EA | New in Windows 10, version 1607. Captures extended attributes. The switch must be explicitly specified to capture extended attributes. DISM will capture extended attribute bits if they are set in the components to be captured in the WIM image. If the bits are not set, DISM won't set them. Only the inbox components of CAB packages and drivers will have these extended attribute bits, not the AppX package components or Win32 application components. Extended attributes with prefix “$Kernel.” in name will be skipped because only user mode extended attributes are captured. If you use DISM in Windows 10, version 1607 to capture extended attributes and use an earlier version of DISM to apply the image, the operation will succeed but the extended attributes will not be set to the applied image. |
Parameter | Description |
---|---|
/CheckIntegrity | Detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations. /CheckIntegrity stops the operation if DISM detects that the .wim file is corrupted when used with apply and mount operations. |
/Append | Adds the modified image to the existing .wim file instead of overwriting the original image. The /CheckIntegrity and /Append arguments do not apply to virtual hard disk (VHD) files. |
Parameter | Description |
---|---|
/CheckIntegrity | Detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations. /CheckIntegrity stops the operation if DISM detects that the .wim file is corrupted when used with apply and mount operations. |
Parameter | Description |
---|---|
/SWMFile | Enables you to reference split .wim files. pattern is the naming pattern and location of split files. You can also specify wildcard characters. For example, 'E:imageinstall*.swm' will export the split files in the E:image directory named install1.swm, install2.swm, and so on. |
/Compress | Specifies the type of compression used for the initial capture operation. The /Compress argument does not apply when you export an image to an existing .wim file, you can only use this argument when you export an image to a new .wim file. The maximum option provides the best compression, but takes more time to capture the image. The fast option provides faster image compression, but the resulting files are larger than those compressed by using the maximum option. This is also the default compression type that is used if you do not specify the argument. Use the recovery option to export push-button reset images. The resulting files are much smaller in size, which in turn, greatly reduce the amount of disk space needed for saving the push-button reset image on a recovery drive. The destination file must be specified with an .esd extension. The none option does not compress the captured image at all. |
/Bootable | Marks a volume image as being a bootable image. This argument is available only for WinPE images. Only one volume image can be marked as bootable in a .wim file. |
/WIMBoot | Use /WIMBoot to append the image with Windows image file boot (WIMBoot) configuration. This only applies to Windows 8.1 images that have been captured or exported as a WIMBoot file. This feature isn't supported in Windows 10. |
/CheckIntegrity | Detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations. /CheckIntegrity stops the operation if DISM detects that the .wim file is corrupted when used with apply and mount operations. |
index:1
.Parameter | Description |
---|---|
/ReadOnly | Sets the mounted image with read-only permissions. Optional. |
/Optimize | Reduces initial mount time. |
/CheckIntegrity | Detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations. /CheckIntegrity stops the operation if DISM detects that the .wim file is corrupted when used with apply and mount operations. |
Parameter | Description |
---|---|
/WIMBoot | configure an offline image for installing on a Windows image file boot (WIMBoot) system. |
/Optimize | Reduces initial mount time. /Optimize-Image /WIMBoot only applies to Windows 8.1 images that have been captured or exported as a WIMBoot file. Only use /Optimize-Image with images that will be used for WIMBoot supported systems. If /Optimize-Image is used with a non-WIMBoot supported system image, Windows may not work as expected, after installation on a non-WIMBoot supported device. |
/compress:none
option specificed.c:flash.sfu
, you'll get a flash.sfu file, a flash2.ffu file, a flash3.sfu file, and so on, defining each portion of the split .sfu file and saving it to the C: directory.Parameter | Description |
---|---|
/FileSize | Specifies the maximum size in megabytes (MB) for each created file. If a single file is larger than the value specified in the /FileSize option, one of the split .swm files that results will be larger than the value specified in the /FileSize option, in order to accommodate the large file. |
/CheckIntegrity | Detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations. /CheckIntegrity stops the operation if DISM detects that the .wim file is corrupted when used with apply and mount operations. |
/ImageFile | Specifies the path of a .FFU file, example: flash.ffu. |
/SFUFile | References split FFU files (SFUs). Pattern is the naming pattern and location of split files. |
c:Data.swm
, this option creates a Data.swm file, a Data2.swm file, a Data3.swm file, and so on, defining each portion of the split .wim file and saving it to the C: directory.Parameter | Description |
---|---|
/FileSize | Specifies the maximum size in megabytes (MB) for each created file. If a single file is larger than the value specified in the /FileSize option, one of the split .swm files that results will be larger than the value specified in the /FileSize option, in order to accommodate the large file. |
/CheckIntegrity | Detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations. /CheckIntegrity stops the operation if DISM detects that the .wim file is corrupted when used with apply and mount operations. |
/ImageFile | Specifies the path of an image file, example: install.wim. |
Parameter | Description |
---|---|
/CheckIntegrity | Detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations. /CheckIntegrity stops the operation if DISM detects that the .wim file is corrupted when used with apply and mount operations. |
/Append | Adds the modified image to the existing .wim file instead of overwriting the original image. The /CheckIntegrity and /Append arguments do not apply to virtual hard disk (VHD, VHDX), or FFU files. |
Parameter | Description |
---|---|
/Path | Specifies the disk volume of the WIMBoot configuration. |
/DataSourceID | Specifies the data source ID as displayed by /Get-WIMBootEntry. |
dism.exe /Apply-SiloedPackage
from the target folder created by CopyDandI.cmd.Parameter | Description |
---|---|
/PackagePath | Specifies the path of a siloed provisioning package file. |
/ImagePath | Specifies the path of the Windows image where you are applying the SPP. |
Filename extension | .wim .swm .esd |
---|---|
Internet media type | application/x-ms-wim[1] |
Magic number | MSWIM000 / WLPWM000 for wimlib pipable variant[2] |
Developed by | Microsoft |
Type of format | Disk image |