dism

Windows CMD · System · available in the simulator

What it does

Manages Windows images and components.

Syntax

dism /Online /Cleanup-Image /opción

Options and parameters

  • /Online

    Targets the running operating system.

  • /Image

    Targets a mounted Windows image.

  • /Cleanup-Image

    Performs cleanup and recovery operations on the image.

  • /CheckHealth

    Checks whether the image is marked as corrupted.

  • /ScanHealth

    Scans the image for corruption.

    dism /online /cleanup-image /scanhealth
  • /RestoreHealth

    Repairs the Windows image.

    dism /online /cleanup-image /restorehealth
  • /StartComponentCleanup

    Cleans up superseded components in the component store.

  • /Get-Packages

    Lists packages in the image.

  • /Enable-Feature

    Enables a Windows feature.

  • /Disable-Feature

    Disables a Windows feature.

Usage examples

  • dism /online /cleanup-image /scanhealth
  • dism /online /cleanup-image /restorehealth
Practise dism

Related commands