Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

DISM & System Repair

Direct answer

DISM and system repair tools fix a damaged Windows installation: DISM /Online /Cleanup-Image /RestoreHealth repairs the component store, then sfc /scannow repairs protected system files from it.

When to use this

Use this when Windows updates fail, system files are corrupt or features cannot be installed, and you need DISM and sfc repairs.

First 30 seconds

1. DISM … /CheckHealth.

2. /ScanHealth if suspected.

3. /RestoreHealth (with /Source:wim:<path>:<index> /LimitAccess if no WU).

4. Then sfc /scannow.

5. Reboot; re-run sfc.

Operational verification

component store checked → repaired → system files verified by SFC

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Windows servicing, deployment and recovery
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows servicing, deployment and recovery · Windows / Windows Server / PowerShell
Key commandDISM
Scope / prerequisiteUse this when Windows updates fail, system files are corrupt or features cannot be installed, and you need DISM and sfc…
Reference · 3
What next?3 suggested next steps
Child topics (this level)6
Catalog command links3
Evidence0
On this pageJump to a specific section
Windows command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Running SFC repeatedly when the component store itself is corrupt.
  • RestoreHealth failing on WSUS clients that cannot reach Windows Update (give a /Source).
Drill down

Subtopics

Go one level deeper into this subject.

Key points
  • Repair the component store first (DISM), then files (sfc).
  • RestoreHealth needs a source matching the build.
  • Logs: CBS.log and dism.log.
Key checks
  • DISM /Online /Cleanup-Image /CheckHealth — quick corruption flag check
  • DISM /Online /Cleanup-Image /ScanHealth — full scan
  • DISM /Online /Cleanup-Image /RestoreHealth — repair from Windows Update or /Source
  • sfc /scannow — verify/repair system files
  • Get-Content C:\Windows\Logs\CBS\CBS.log -Tail 50 — servicing log
ReferenceWhy it matters1 section · depth on demand

How it works

Windows keeps a component store (C:\Windows\WinSxS) with the files for installed features and updates. DISM checks and repairs that store, using Windows Update or a supplied source (/Source:wim:D:\sources\install.wim:1 /LimitAccess). SFC then checks protected system files against the store and replaces corrupt ones. Run DISM first, because SFC can only repair from a healthy store.

ReferenceImportant terms & boundaries1 section · depth on demand

Repair sequence

1. Dism /Online /Cleanup-Image /CheckHealth

2. Dism /Online /Cleanup-Image /ScanHealth

3. Dism /Online /Cleanup-Image /RestoreHealth

4. sfc /scannow

5. Reboot and check CBS.log if errors remain.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows servicing, deployment and recovery current

Authoritative/upstream documentation reviewed for bounded claims in DISM & System Repair. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/what-is-dism · confidence 94%
Confirmation

Confirm action

Continue?