dism — Basic UsageIT technician command center
Windows CMD · Windows Command Line

dism — Basic Usage

Use dism for a standard administrative task.

Copy-ready commanddism — Basic Usage
DISM /Online /Cleanup-Image /RestoreHealth

Requirements and permissions

Requirements
Windows 10/11 or Windows Server
Permissions
Varies by command
Last reviewed
2026-07-31

Examples

Basic Usage

Use dism for a standard administrative task.

DISM /Online /Cleanup-Image /RestoreHealth

Original command

Repair the Windows component store.

DISM /Online /Cleanup-Image /RestoreHealth

Common errors

Command not found

Confirm Windows 10/11 or Windows Server is installed and available in your current shell.