/Cleanup-Image /RevertPendingActions
WARNING! You should use the /RevertPendingActions option only in a
system-recovery scenario to perform recovery operations on a Windows image
that did not boot.
Example:
DISM.exe /Image:C: est\offline /Cleanup-Image /RevertPendingActions
/Cleanup-Image /spsuperseded [/hidesp]
Use /SPSuperseded to remove any backup files created during the installation
of a service pack. Use /HideSP to prevent the service pack from being listed
in the Installed Updates for the operating system.
WARNING! The service pack cannot be uninstalled after the /SPSuperseded
operation is completed.
Example:
DISM.exe /Image:C: est\offline /Cleanup-Image /spsuperseded /hidesp
/Cleanup-Image {/CheckHealth | /ScanHealth | /RestoreHealth}
Use /CheckHealth to check whether the image has been flagged as corrupted
by a failed process and whether the corruption can be repaired.
Use /ScanHealth to scan the image for component store corruption.
Use /RestoreHealth to scan the image for component store corruption, and
then perform repair operations automatically.
Use /Source with /RestoreHealth to specify the location of known good
versions of files that can be used for the repair. For more information on
specifying a source location, see
http://go.microsoft.com/fwlink/?LinkId=243077.
Use /LimitAccess to prevent DISM from contacting WU/WSUS.
Example:
DISM.exe /Online /Cleanup-Image /ScanHealth
DISM.exe /Image:c:\offline /Cleanup-Image /RestoreHealth
/Source:c: est\mount
/Cleanup-Image /StartComponentCleanup
Use /StartComponentCleanup to clean up the superseded components and reduce
the size of the component store.
Example:
DISM.exe /Image:C: est\offline /Cleanup-Image /StartComponentCleanup
/BootProgram: Sets the default boot program for a given architecture. This is the path relative to the RemoteInstall share. ...
/BP - Force a BreakPoint in Netlogon on /TRUNC - Truncate log file (rename to *.bak) /UNLOAD - Unload netlogon.dll from lsass.exe ...
/Capture-Image /ImageFile: /CaptureDir: /Name: /Description:Description /ConfigFile: /Compress:{fast|max|none} /Bootable ...
/Check-AppPatch /PatchLocation: /Format: Displays information if the MSP patches are applicable to the offline image. Multiple ...
/Cleanup-Image /RevertPendingActions WARNING! You should use the /RevertPendingActions option only in a system-recovery scenario ...
/Cleanup-Mountpoints Deletes resources associated with a corrupted mounted image. This command does not unmount a mounted ...
/Cleanup-Wim Deletes resources associated with a corrupted mounted image. This command does not unmount a mounted image; ...
/Commit-Image /MountDir: /Append /CheckIntegrity Applies changes to the mounted image. The image remains mounted until the ...
/Commit-Wim /MountDir: Applies changes to the mounted image. The image remains mounted until the /Unmount-Wim option is used. ...