Command Reference

DISM /Online /Cleanup-Image /ScanHealth

Command Prompt System Integrity Advanced Risk: Low
Back to Command Library

Summary

Checks whether the running Windows image has repairable component-store corruption.

Syntax

DISM /Online /Cleanup-Image /ScanHealth

Examples

DISM /Online /Cleanup-Image /ScanHealth

Scans the active Windows image without performing a component-store repair.

Permissions

Administrator required: Yes

Run from Command Prompt opened as administrator and follow organizational support policy.

Risk and Impact

Risk level: Low

Changes the system: No

ScanHealth is diagnostic but can take several minutes and writes servicing logs and temporary working data. Do not close the terminal while it is running.

Supported Platforms

Windows 10 Windows 11 Windows Server

Important Output Fields

No component store corruption detected

Windows did not detect component-store corruption.

The component store is repairable

Corruption was detected and a separately approved repair may be appropriate.

The component store cannot be repaired

Escalation or recovery media may be required.

Common Errors

Error: 740

DISM requires an elevated terminal.

The source files could not be found

Windows could not access required servicing content.

Official References

Repair-WindowsImage

Microsoft Learn · Official Documentation

Open Source