Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

RestoreHealth

Direct answer

DISM /Online /Cleanup-Image /RestoreHealth scans the component store and repairs corruption from Windows Update or a /Source such as install.wim. Run sfc /scannow afterwards.

First 30 seconds

1. DISM … /RestoreHealth.

2. No WU access → mount matching ISO: /Source:wim:D:\sources\install.wim:<index> /LimitAccess.

3. Source must match build.

4. sfc /scannow after.

5. Check CBS.log for failures.

Operational verification

corrupt component → replacement from WU/source → repaired

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common problems
  • Error 0x800f081f — source files not found; provide a matching WIM/ESD.
  • WSUS-managed clients unable to reach Windows Update for repair content.
  • Source from a different build or language.
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
Scope / prerequisiteUse this when repairing component store corruption.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
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

Repair sources

By default RestoreHealth downloads files from Windows Update. On systems without internet or WSUS-only clients:

DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:D:\sources\install.wim:6 /LimitAccess

Documented example, not captured output. The source must match the installed build and edition (dism /Get-WimInfo shows indexes). Error 0x800f081f means the source files were not found.

ReferenceImportant terms & boundaries2 sections · depth on demand

Using a source

Dism /Online /Cleanup-Image /RestoreHealth /Source:WIM:D:\sources\install.wim:1 /LimitAccess

Documented example, not captured output. The source must be the same version, build and edition (check index with /Get-WimInfo). On WSUS-managed machines, /LimitAccess avoids waiting for Windows Update; alternatively allow repair content from Windows Update via GPO.

In depth

Dism /Online /Cleanup-Image /RestoreHealth repairs the component store from Windows Update or a specified source.

Dism /Online /Cleanup-Image /RestoreHealth
Dism /Online /Cleanup-Image /RestoreHealth /Source:WIM:E:\sources\install.wim:3 /LimitAccess
sfc /scannow
findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log > %USERPROFILE%\Desktop\sfcdetails.txt

The source must match the installed build and edition (WIM index); /LimitAccess avoids Windows Update (useful with WSUS-managed machines). Error 0x800f081f means source files not found.

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 → RestoreHealth. 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?